Skip to content

Commit

Permalink
[GENERATE] Java classes from JSON Schema
Browse files Browse the repository at this point in the history
  • Loading branch information
dapla-bot[bot] committed Jan 24, 2024
1 parent 227694e commit d349f96
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
Expand All @@ -21,8 +22,14 @@
public class Github implements Serializable
{

/**
*
* (Required)
*
*/
@JsonProperty("iac_repo")
@Valid
@NotNull
private IacRepo iacRepo;
@JsonIgnore
@Valid
Expand All @@ -45,11 +52,21 @@ public static Github.GithubBuilderBase builder() {
return new Github.GithubBuilder();
}

/**
*
* (Required)
*
*/
@JsonProperty("iac_repo")
public IacRepo getIacRepo() {
return iacRepo;
}

/**
*
* (Required)
*
*/
@JsonProperty("iac_repo")
public void setIacRepo(IacRepo iacRepo) {
this.iacRepo = iacRepo;
Expand Down

0 comments on commit d349f96

Please sign in to comment.