io.alauda.kubernetes.api.model.PipelineStatusJenkins 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",
"build",
"result",
"stages",
"startStageID",
"status"
})
@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 PipelineStatusJenkins implements KubernetesResource
{
/**
*
*
*/
@JsonProperty("build")
private String build;
/**
*
*
*/
@JsonProperty("result")
private String result;
/**
*
*
*/
@JsonProperty("stages")
private String stages;
/**
*
*
*/
@JsonProperty("startStageID")
private String startStageID;
/**
*
*
*/
@JsonProperty("status")
private String status;
@JsonIgnore
private Map additionalProperties = new HashMap();
/**
* No args constructor for use in serialization
*
*/
public PipelineStatusJenkins() {
}
/**
*
* @param result
* @param build
* @param startStageID
* @param stages
* @param status
*/
public PipelineStatusJenkins(String build, String result, String stages, String startStageID, String status) {
this.build = build;
this.result = result;
this.stages = stages;
this.startStageID = startStageID;
this.status = status;
}
/**
*
*
* @return
* The build
*/
@JsonProperty("build")
public String getBuild() {
return build;
}
/**
*
*
* @param build
* The build
*/
@JsonProperty("build")
public void setBuild(String build) {
this.build = build;
}
/**
*
*
* @return
* The result
*/
@JsonProperty("result")
public String getResult() {
return result;
}
/**
*
*
* @param result
* The result
*/
@JsonProperty("result")
public void setResult(String result) {
this.result = result;
}
/**
*
*
* @return
* The stages
*/
@JsonProperty("stages")
public String getStages() {
return stages;
}
/**
*
*
* @param stages
* The stages
*/
@JsonProperty("stages")
public void setStages(String stages) {
this.stages = stages;
}
/**
*
*
* @return
* The startStageID
*/
@JsonProperty("startStageID")
public String getStartStageID() {
return startStageID;
}
/**
*
*
* @param startStageID
* The startStageID
*/
@JsonProperty("startStageID")
public void setStartStageID(String startStageID) {
this.startStageID = startStageID;
}
/**
*
*
* @return
* The status
*/
@JsonProperty("status")
public String getStatus() {
return status;
}
/**
*
*
* @param status
* The status
*/
@JsonProperty("status")
public void setStatus(String status) {
this.status = status;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}