me.snowdrop.istio.api.model.v1.mixer.config.AttributeInfoFluentImpl Maven / Gradle / Ivy
package me.snowdrop.istio.api.model.v1.mixer.config;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonProperty;
import me.snowdrop.istio.api.model.v1.mixer.config.descriptor.ValueType;
import me.snowdrop.istio.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;
public class AttributeInfoFluentImpl> extends me.snowdrop.istio.api.builder.BaseFluent implements AttributeInfoFluent{
private String description;
private ValueType valueType;
public AttributeInfoFluentImpl(){
}
public AttributeInfoFluentImpl(AttributeInfo instance){
this.withDescription(instance.getDescription());
this.withValueType(instance.getValueType());
}
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 ValueType getValueType(){
return this.valueType;
}
public A withValueType(ValueType valueType){
this.valueType=valueType; return (A) this;
}
public Boolean hasValueType(){
return this.valueType != 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;
AttributeInfoFluentImpl that = (AttributeInfoFluentImpl) o;
if (description != null ? !description.equals(that.description) :that.description != null) return false;
if (valueType != null ? !valueType.equals(that.valueType) :that.valueType != null) return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy