io.kubernetes.client.openapi.models.V1VolumeNodeResourcesFluentImpl 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 V1VolumeNodeResourcesFluentImpl> extends io.kubernetes.client.fluent.BaseFluent implements V1VolumeNodeResourcesFluent {
private Integer count;
public V1VolumeNodeResourcesFluentImpl() {
}
public V1VolumeNodeResourcesFluentImpl(V1VolumeNodeResources instance) {
this.withCount(instance.getCount());
}
public Integer getCount() {
return this.count;
}
public A withCount(Integer count) {
this.count=count; return (A) this;
}
public Boolean hasCount() {
return this.count != null;
}
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
V1VolumeNodeResourcesFluentImpl that = (V1VolumeNodeResourcesFluentImpl) o;
if (count != null ? !count.equals(that.count) :that.count != null) return false;
return true;
}
public int hashCode() {
return java.util.Objects.hash(count, super.hashCode());
}
}