io.alauda.kubernetes.api.model.MultiBranchBehaviours Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.alauda.kubernetes.api.model.Doneable;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.Inline;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({
"apiVersion",
"kind",
"metadata",
"discoverBranches",
"discoverPRFromForks",
"discoverPRFromOrigin",
"discoverTags",
"filterExpression",
"forksTrust"
})
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = true, builderPackage = "io.alauda.kubernetes.api.builder", inline = @Inline(type = Doneable.class, prefix = "Doneable", value = "done"))
public class MultiBranchBehaviours implements KubernetesResource
{
/**
*
*
*/
@JsonProperty("discoverBranches")
private String discoverBranches;
/**
*
*
*/
@JsonProperty("discoverPRFromForks")
private String discoverPRFromForks;
/**
*
*
*/
@JsonProperty("discoverPRFromOrigin")
private String discoverPRFromOrigin;
/**
*
*
*/
@JsonProperty("discoverTags")
private Boolean discoverTags;
/**
*
*
*/
@JsonProperty("filterExpression")
private String filterExpression;
/**
*
*
*/
@JsonProperty("forksTrust")
private String forksTrust;
@JsonIgnore
private Map additionalProperties = new HashMap();
/**
* No args constructor for use in serialization
*
*/
public MultiBranchBehaviours() {
}
/**
*
* @param discoverTags
* @param forksTrust
* @param discoverBranches
* @param filterExpression
* @param discoverPRFromOrigin
* @param discoverPRFromForks
*/
public MultiBranchBehaviours(String discoverBranches, String discoverPRFromForks, String discoverPRFromOrigin, Boolean discoverTags, String filterExpression, String forksTrust) {
this.discoverBranches = discoverBranches;
this.discoverPRFromForks = discoverPRFromForks;
this.discoverPRFromOrigin = discoverPRFromOrigin;
this.discoverTags = discoverTags;
this.filterExpression = filterExpression;
this.forksTrust = forksTrust;
}
/**
*
*
* @return
* The discoverBranches
*/
@JsonProperty("discoverBranches")
public String getDiscoverBranches() {
return discoverBranches;
}
/**
*
*
* @param discoverBranches
* The discoverBranches
*/
@JsonProperty("discoverBranches")
public void setDiscoverBranches(String discoverBranches) {
this.discoverBranches = discoverBranches;
}
/**
*
*
* @return
* The discoverPRFromForks
*/
@JsonProperty("discoverPRFromForks")
public String getDiscoverPRFromForks() {
return discoverPRFromForks;
}
/**
*
*
* @param discoverPRFromForks
* The discoverPRFromForks
*/
@JsonProperty("discoverPRFromForks")
public void setDiscoverPRFromForks(String discoverPRFromForks) {
this.discoverPRFromForks = discoverPRFromForks;
}
/**
*
*
* @return
* The discoverPRFromOrigin
*/
@JsonProperty("discoverPRFromOrigin")
public String getDiscoverPRFromOrigin() {
return discoverPRFromOrigin;
}
/**
*
*
* @param discoverPRFromOrigin
* The discoverPRFromOrigin
*/
@JsonProperty("discoverPRFromOrigin")
public void setDiscoverPRFromOrigin(String discoverPRFromOrigin) {
this.discoverPRFromOrigin = discoverPRFromOrigin;
}
/**
*
*
* @return
* The discoverTags
*/
@JsonProperty("discoverTags")
public Boolean getDiscoverTags() {
return discoverTags;
}
/**
*
*
* @param discoverTags
* The discoverTags
*/
@JsonProperty("discoverTags")
public void setDiscoverTags(Boolean discoverTags) {
this.discoverTags = discoverTags;
}
/**
*
*
* @return
* The filterExpression
*/
@JsonProperty("filterExpression")
public String getFilterExpression() {
return filterExpression;
}
/**
*
*
* @param filterExpression
* The filterExpression
*/
@JsonProperty("filterExpression")
public void setFilterExpression(String filterExpression) {
this.filterExpression = filterExpression;
}
/**
*
*
* @return
* The forksTrust
*/
@JsonProperty("forksTrust")
public String getForksTrust() {
return forksTrust;
}
/**
*
*
* @param forksTrust
* The forksTrust
*/
@JsonProperty("forksTrust")
public void setForksTrust(String forksTrust) {
this.forksTrust = forksTrust;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}