
io.kubernetes.client.openapi.models.V1RollingUpdateStatefulSetStrategyFluentImpl 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 V1RollingUpdateStatefulSetStrategyFluentImpl> extends io.kubernetes.client.fluent.BaseFluent implements V1RollingUpdateStatefulSetStrategyFluent {
private Integer partition;
public V1RollingUpdateStatefulSetStrategyFluentImpl() {
}
public V1RollingUpdateStatefulSetStrategyFluentImpl(V1RollingUpdateStatefulSetStrategy instance) {
this.withPartition(instance.getPartition());
}
public Integer getPartition() {
return this.partition;
}
public A withPartition(Integer partition) {
this.partition=partition; return (A) this;
}
public Boolean hasPartition() {
return this.partition != null;
}
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
V1RollingUpdateStatefulSetStrategyFluentImpl that = (V1RollingUpdateStatefulSetStrategyFluentImpl) o;
if (partition != null ? !partition.equals(that.partition) :that.partition != null) return false;
return true;
}
public int hashCode() {
return java.util.Objects.hash(partition, super.hashCode());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy