
io.kubernetes.client.openapi.models.V1ScaleSpecFluentImpl Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import java.lang.Integer;
import com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.BaseFluent;
import java.lang.Object;
import java.lang.Boolean;
public class V1ScaleSpecFluentImpl> extends io.kubernetes.client.fluent.BaseFluent implements V1ScaleSpecFluent {
private Integer replicas;
public V1ScaleSpecFluentImpl() {
}
public V1ScaleSpecFluentImpl(V1ScaleSpec instance) {
this.withReplicas(instance.getReplicas());
}
public Integer getReplicas() {
return this.replicas;
}
public A withReplicas(Integer replicas) {
this.replicas=replicas; return (A) this;
}
public Boolean hasReplicas() {
return this.replicas != null;
}
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
V1ScaleSpecFluentImpl that = (V1ScaleSpecFluentImpl) o;
if (replicas != null ? !replicas.equals(that.replicas) :that.replicas != null) return false;
return true;
}
public int hashCode() {
return java.util.Objects.hash(replicas, super.hashCode());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy