annotations.io.alauda.kubernetes.api.model.PipelineParameterFluentImpl Maven / Gradle / Ivy
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 PipelineParameterFluentImpl> extends io.alauda.kubernetes.api.builder.BaseFluent implements PipelineParameterFluent{
private String description;
private String name;
private String type;
private String value;
public PipelineParameterFluentImpl(){
}
public PipelineParameterFluentImpl(PipelineParameter instance){
this.withDescription(instance.getDescription());
this.withName(instance.getName());
this.withType(instance.getType());
this.withValue(instance.getValue());
}
public String getDescription(){
return this.description;
}
public A withDescription(String description){
this.description=description; return (A) this;
}
public Boolean hasDescription(){
return this.description!=null;
}
public String getName(){
return this.name;
}
public A withName(String name){
this.name=name; return (A) this;
}
public Boolean hasName(){
return this.name!=null;
}
public String getType(){
return this.type;
}
public A withType(String type){
this.type=type; return (A) this;
}
public Boolean hasType(){
return this.type!=null;
}
public String getValue(){
return this.value;
}
public A withValue(String value){
this.value=value; return (A) this;
}
public Boolean hasValue(){
return this.value!=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;
PipelineParameterFluentImpl that = (PipelineParameterFluentImpl) o;
if (description != null ? !description.equals(that.description) :that.description != null) return false;
if (name != null ? !name.equals(that.name) :that.name != null) return false;
if (type != null ? !type.equals(that.type) :that.type != null) return false;
if (value != null ? !value.equals(that.value) :that.value != null) return false;
return true;
}
}