io.kubernetes.client.openapi.models.V1beta1CustomResourceSubresourceScaleFluentImpl 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 V1beta1CustomResourceSubresourceScaleFluentImpl> extends io.kubernetes.client.fluent.BaseFluent implements V1beta1CustomResourceSubresourceScaleFluent {
private String labelSelectorPath;
private String specReplicasPath;
private String statusReplicasPath;
public V1beta1CustomResourceSubresourceScaleFluentImpl() {
}
public V1beta1CustomResourceSubresourceScaleFluentImpl(V1beta1CustomResourceSubresourceScale instance) {
this.withLabelSelectorPath(instance.getLabelSelectorPath());
this.withSpecReplicasPath(instance.getSpecReplicasPath());
this.withStatusReplicasPath(instance.getStatusReplicasPath());
}
public String getLabelSelectorPath() {
return this.labelSelectorPath;
}
public A withLabelSelectorPath(String labelSelectorPath) {
this.labelSelectorPath=labelSelectorPath; return (A) this;
}
public Boolean hasLabelSelectorPath() {
return this.labelSelectorPath != null;
}
public A withNewLabelSelectorPath(String arg1) {
return (A)withLabelSelectorPath(new String(arg1));
}
public A withNewLabelSelectorPath(StringBuilder arg1) {
return (A)withLabelSelectorPath(new String(arg1));
}
public A withNewLabelSelectorPath(StringBuffer arg1) {
return (A)withLabelSelectorPath(new String(arg1));
}
public String getSpecReplicasPath() {
return this.specReplicasPath;
}
public A withSpecReplicasPath(String specReplicasPath) {
this.specReplicasPath=specReplicasPath; return (A) this;
}
public Boolean hasSpecReplicasPath() {
return this.specReplicasPath != null;
}
public A withNewSpecReplicasPath(String arg1) {
return (A)withSpecReplicasPath(new String(arg1));
}
public A withNewSpecReplicasPath(StringBuilder arg1) {
return (A)withSpecReplicasPath(new String(arg1));
}
public A withNewSpecReplicasPath(StringBuffer arg1) {
return (A)withSpecReplicasPath(new String(arg1));
}
public String getStatusReplicasPath() {
return this.statusReplicasPath;
}
public A withStatusReplicasPath(String statusReplicasPath) {
this.statusReplicasPath=statusReplicasPath; return (A) this;
}
public Boolean hasStatusReplicasPath() {
return this.statusReplicasPath != null;
}
public A withNewStatusReplicasPath(String arg1) {
return (A)withStatusReplicasPath(new String(arg1));
}
public A withNewStatusReplicasPath(StringBuilder arg1) {
return (A)withStatusReplicasPath(new String(arg1));
}
public A withNewStatusReplicasPath(StringBuffer arg1) {
return (A)withStatusReplicasPath(new String(arg1));
}
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
V1beta1CustomResourceSubresourceScaleFluentImpl that = (V1beta1CustomResourceSubresourceScaleFluentImpl) o;
if (labelSelectorPath != null ? !labelSelectorPath.equals(that.labelSelectorPath) :that.labelSelectorPath != null) return false;
if (specReplicasPath != null ? !specReplicasPath.equals(that.specReplicasPath) :that.specReplicasPath != null) return false;
if (statusReplicasPath != null ? !statusReplicasPath.equals(that.statusReplicasPath) :that.statusReplicasPath != null) return false;
return true;
}
public int hashCode() {
return java.util.Objects.hash(labelSelectorPath, specReplicasPath, statusReplicasPath, super.hashCode());
}
}