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

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

There is a newer version: 0.2.12
Show newest version
package io.alauda.kubernetes.api.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;

public class PipelineStatusJenkinsFluentImpl> extends io.alauda.kubernetes.api.builder.BaseFluent implements PipelineStatusJenkinsFluent{

    private String build;
    private String result;
    private String stages;
    private String startStageID;
    private String status;

    public PipelineStatusJenkinsFluentImpl(){
    }
    public PipelineStatusJenkinsFluentImpl(PipelineStatusJenkins instance){
            this.withBuild(instance.getBuild()); 
            this.withResult(instance.getResult()); 
            this.withStages(instance.getStages()); 
            this.withStartStageID(instance.getStartStageID()); 
            this.withStatus(instance.getStatus()); 
    }

    public String getBuild(){
            return this.build;
    }

    public A withBuild(String build){
            this.build=build; return (A) this;
    }

    public Boolean hasBuild(){
            return this.build!=null;
    }

    public String getResult(){
            return this.result;
    }

    public A withResult(String result){
            this.result=result; return (A) this;
    }

    public Boolean hasResult(){
            return this.result!=null;
    }

    public String getStages(){
            return this.stages;
    }

    public A withStages(String stages){
            this.stages=stages; return (A) this;
    }

    public Boolean hasStages(){
            return this.stages!=null;
    }

    public String getStartStageID(){
            return this.startStageID;
    }

    public A withStartStageID(String startStageID){
            this.startStageID=startStageID; return (A) this;
    }

    public Boolean hasStartStageID(){
            return this.startStageID!=null;
    }

    public String getStatus(){
            return this.status;
    }

    public A withStatus(String status){
            this.status=status; return (A) this;
    }

    public Boolean hasStatus(){
            return this.status!=null;
    }

    public boolean equals(Object o){
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;
            if (!super.equals(o)) return false;
            PipelineStatusJenkinsFluentImpl that = (PipelineStatusJenkinsFluentImpl) o;
            if (build != null ? !build.equals(that.build) :that.build != null) return false;
            if (result != null ? !result.equals(that.result) :that.result != null) return false;
            if (stages != null ? !stages.equals(that.stages) :that.stages != null) return false;
            if (startStageID != null ? !startStageID.equals(that.startStageID) :that.startStageID != null) return false;
            if (status != null ? !status.equals(that.status) :that.status != null) return false;
            return true;
    }




}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy