io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.FlowDistinguisherMethodFluentImpl Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model.flowcontrol.v1beta1;
import java.lang.Deprecated;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;
public class FlowDistinguisherMethodFluentImpl> extends io.fabric8.kubernetes.api.builder.BaseFluent implements io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.FlowDistinguisherMethodFluent {
private java.lang.String type;
public FlowDistinguisherMethodFluentImpl() {
}
public FlowDistinguisherMethodFluentImpl(io.fabric8.kubernetes.api.model.flowcontrol.v1beta1.FlowDistinguisherMethod instance) {
this.withType(instance.getType());
}
public java.lang.String getType() {
return this.type;
}
public A withType(java.lang.String type) {
this.type=type; return (A) this;
}
public java.lang.Boolean hasType() {
return this.type != null;
}
@java.lang.Deprecated
/**
* Method is deprecated. use withType instead.
*/
public A withNewType(java.lang.String arg0) {
return (A)withType(new String(arg0));
}
public boolean equals(java.lang.Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
FlowDistinguisherMethodFluentImpl that = (FlowDistinguisherMethodFluentImpl) o;
if (type != null ? !type.equals(that.type) :that.type != null) return false;
return true;
}
public int hashCode() {
return java.util.Objects.hash(type, super.hashCode());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy