me.snowdrop.istio.api.Int32ValueFluentImpl Maven / Gradle / Ivy
The newest version!
package me.snowdrop.istio.api;
import java.lang.Integer;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.Boolean;
public class Int32ValueFluentImpl> extends io.fabric8.kubernetes.api.builder.BaseFluent implements Int32ValueFluent{
private Integer value;
public Int32ValueFluentImpl(){
}
public Int32ValueFluentImpl(Int32Value instance){
this.withValue(instance.getValue());
}
public Integer getValue(){
return this.value;
}
public A withValue(Integer 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;
Int32ValueFluentImpl that = (Int32ValueFluentImpl) o;
if (value != null ? !value.equals(that.value) :that.value != null) return false;
return true;
}
}