me.snowdrop.istio.api.networking.v1alpha3.PercentFluentImpl Maven / Gradle / Ivy
package me.snowdrop.istio.api.networking.v1alpha3;
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.String;
import java.lang.Boolean;
import java.lang.Double;
public class PercentFluentImpl> extends io.fabric8.kubernetes.api.builder.BaseFluent implements PercentFluent{
private Double value;
public PercentFluentImpl(){
}
public PercentFluentImpl(Percent instance){
this.withValue(instance.getValue());
}
public Double getValue(){
return this.value;
}
public A withValue(Double value){
this.value=value; return (A) this;
}
public Boolean hasValue(){
return this.value != null;
}
public A withNewValue(String arg1){
return (A)withValue(new Double(arg1));
}
public A withNewValue(double arg1){
return (A)withValue(new Double(arg1));
}
public boolean equals(Object o){
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
if (!super.equals(o)) return false;
PercentFluentImpl that = (PercentFluentImpl) o;
if (value != null ? !value.equals(that.value) :that.value != null) return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy