me.snowdrop.istio.api.mesh.v1alpha1.FailoverFluentImpl Maven / Gradle / Ivy
package me.snowdrop.istio.api.mesh.v1alpha1;
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;
public class FailoverFluentImpl> extends io.fabric8.kubernetes.api.builder.BaseFluent implements FailoverFluent{
private String from;
private String to;
public FailoverFluentImpl(){
}
public FailoverFluentImpl(Failover instance){
this.withFrom(instance.getFrom());
this.withTo(instance.getTo());
}
public String getFrom(){
return this.from;
}
public A withFrom(String from){
this.from=from; return (A) this;
}
public Boolean hasFrom(){
return this.from != null;
}
public String getTo(){
return this.to;
}
public A withTo(String to){
this.to=to; return (A) this;
}
public Boolean hasTo(){
return this.to != 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;
FailoverFluentImpl that = (FailoverFluentImpl) o;
if (from != null ? !from.equals(that.from) :that.from != null) return false;
if (to != null ? !to.equals(that.to) :that.to != null) return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy