All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.alauda.kubernetes.api.model.PipelineStatus Maven / Gradle / Ivy

There is a newer version: 0.2.12
Show newest version

package io.alauda.kubernetes.api.model;

import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import javax.validation.Valid;
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",
    "aborted",
    "finishedAt",
    "jenkins",
    "phase",
    "startedAt",
    "updatedAt"
})
@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 PipelineStatus implements KubernetesResource
{

    /**
     * 
     * 
     */
    @JsonProperty("aborted")
    private Boolean aborted;
    /**
     * 
     * 
     */
    @JsonProperty("finishedAt")
    @Valid
    private String finishedAt;
    /**
     * 
     * 
     */
    @JsonProperty("jenkins")
    @Valid
    private PipelineStatusJenkins jenkins;
    /**
     * 
     * 
     */
    @JsonProperty("phase")
    private java.lang.String phase;
    /**
     * 
     * 
     */
    @JsonProperty("startedAt")
    @Valid
    private String startedAt;
    /**
     * 
     * 
     */
    @JsonProperty("updatedAt")
    @Valid
    private String updatedAt;
    @JsonIgnore
    private Map additionalProperties = new HashMap();

    /**
     * No args constructor for use in serialization
     * 
     */
    public PipelineStatus() {
    }

    /**
     * 
     * @param phase
     * @param aborted
     * @param jenkins
     * @param startedAt
     * @param finishedAt
     * @param updatedAt
     */
    public PipelineStatus(Boolean aborted, String finishedAt, PipelineStatusJenkins jenkins, java.lang.String phase, String startedAt, String updatedAt) {
        this.aborted = aborted;
        this.finishedAt = finishedAt;
        this.jenkins = jenkins;
        this.phase = phase;
        this.startedAt = startedAt;
        this.updatedAt = updatedAt;
    }

    /**
     * 
     * 
     * @return
     *     The aborted
     */
    @JsonProperty("aborted")
    public Boolean getAborted() {
        return aborted;
    }

    /**
     * 
     * 
     * @param aborted
     *     The aborted
     */
    @JsonProperty("aborted")
    public void setAborted(Boolean aborted) {
        this.aborted = aborted;
    }

    /**
     * 
     * 
     * @return
     *     The finishedAt
     */
    @JsonProperty("finishedAt")
    public String getFinishedAt() {
        return finishedAt;
    }

    /**
     * 
     * 
     * @param finishedAt
     *     The finishedAt
     */
    @JsonProperty("finishedAt")
    public void setFinishedAt(String finishedAt) {
        this.finishedAt = finishedAt;
    }

    /**
     * 
     * 
     * @return
     *     The jenkins
     */
    @JsonProperty("jenkins")
    public PipelineStatusJenkins getJenkins() {
        return jenkins;
    }

    /**
     * 
     * 
     * @param jenkins
     *     The jenkins
     */
    @JsonProperty("jenkins")
    public void setJenkins(PipelineStatusJenkins jenkins) {
        this.jenkins = jenkins;
    }

    /**
     * 
     * 
     * @return
     *     The phase
     */
    @JsonProperty("phase")
    public java.lang.String getPhase() {
        return phase;
    }

    /**
     * 
     * 
     * @param phase
     *     The phase
     */
    @JsonProperty("phase")
    public void setPhase(java.lang.String phase) {
        this.phase = phase;
    }

    /**
     * 
     * 
     * @return
     *     The startedAt
     */
    @JsonProperty("startedAt")
    public String getStartedAt() {
        return startedAt;
    }

    /**
     * 
     * 
     * @param startedAt
     *     The startedAt
     */
    @JsonProperty("startedAt")
    public void setStartedAt(String startedAt) {
        this.startedAt = startedAt;
    }

    /**
     * 
     * 
     * @return
     *     The updatedAt
     */
    @JsonProperty("updatedAt")
    public String getUpdatedAt() {
        return updatedAt;
    }

    /**
     * 
     * 
     * @param updatedAt
     *     The updatedAt
     */
    @JsonProperty("updatedAt")
    public void setUpdatedAt(String updatedAt) {
        this.updatedAt = updatedAt;
    }

    @JsonAnyGetter
    public Map getAdditionalProperties() {
        return this.additionalProperties;
    }

    @JsonAnySetter
    public void setAdditionalProperty(java.lang.String name, Object value) {
        this.additionalProperties.put(name, value);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy