io.kubernetes.client.openapi.models.V1alpha1FlowDistinguisherMethodFluentImpl Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import java.lang.StringBuffer;
import java.lang.StringBuilder;
import com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;
public class V1alpha1FlowDistinguisherMethodFluentImpl> extends io.kubernetes.client.fluent.BaseFluent implements V1alpha1FlowDistinguisherMethodFluent {
private String type;
public V1alpha1FlowDistinguisherMethodFluentImpl() {
}
public V1alpha1FlowDistinguisherMethodFluentImpl(V1alpha1FlowDistinguisherMethod instance) {
this.withType(instance.getType());
}
public String getType() {
return this.type;
}
public A withType(String type) {
this.type=type; return (A) this;
}
public Boolean hasType() {
return this.type != null;
}
public A withNewType(String arg1) {
return (A)withType(new String(arg1));
}
public A withNewType(StringBuilder arg1) {
return (A)withType(new String(arg1));
}
public A withNewType(StringBuffer arg1) {
return (A)withType(new String(arg1));
}
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
V1alpha1FlowDistinguisherMethodFluentImpl that = (V1alpha1FlowDistinguisherMethodFluentImpl) 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());
}
}