
annotations.io.fabric8.openshift.api.model.ParameterFluentImpl Maven / Gradle / Ivy
package io.fabric8.openshift.api.model;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import java.lang.String;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.lang.Boolean;
import javax.validation.constraints.Pattern;
import java.lang.Object;
public class ParameterFluentImpl> extends BaseFluent implements ParameterFluent{
private String description;
private String displayName;
private String from;
private String generate;
private String name;
private Boolean required;
private String value;
public ParameterFluentImpl(){
}
public ParameterFluentImpl(Parameter instance){
this.withDescription(instance.getDescription());
this.withDisplayName(instance.getDisplayName());
this.withFrom(instance.getFrom());
this.withGenerate(instance.getGenerate());
this.withName(instance.getName());
this.withRequired(instance.getRequired());
this.withValue(instance.getValue());
}
public String getDescription(){
return this.description;
}
public A withDescription(String description){
this.description=description; return (A) this;
}
public String getDisplayName(){
return this.displayName;
}
public A withDisplayName(String displayName){
this.displayName=displayName; return (A) this;
}
public String getFrom(){
return this.from;
}
public A withFrom(String from){
this.from=from; return (A) this;
}
public String getGenerate(){
return this.generate;
}
public A withGenerate(String generate){
this.generate=generate; return (A) this;
}
public String getName(){
return this.name;
}
public A withName(String name){
this.name=name; return (A) this;
}
public Boolean isRequired(){
return this.required;
}
public A withRequired(Boolean required){
this.required=required; return (A) this;
}
public String getValue(){
return this.value;
}
public A withValue(String value){
this.value=value; return (A) this;
}
public boolean equals(Object o){
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
if (!super.equals(o)) return false;
ParameterFluentImpl that = (ParameterFluentImpl) o;
if (description != null ? !description.equals(that.description) :that.description != null) return false;
if (displayName != null ? !displayName.equals(that.displayName) :that.displayName != null) return false;
if (from != null ? !from.equals(that.from) :that.from != null) return false;
if (generate != null ? !generate.equals(that.generate) :that.generate != null) return false;
if (name != null ? !name.equals(that.name) :that.name != null) return false;
if (required != null ? !required.equals(that.required) :that.required != null) return false;
if (value != null ? !value.equals(that.value) :that.value != null) return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy