io.fabric8.kubernetes.api.model.storage.VolumeNodeResourcesFluentImpl Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model.storage;
import java.lang.Integer;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.Boolean;
public class VolumeNodeResourcesFluentImpl> extends io.fabric8.kubernetes.api.builder.BaseFluent implements io.fabric8.kubernetes.api.model.storage.VolumeNodeResourcesFluent {
private java.lang.Integer count;
public VolumeNodeResourcesFluentImpl() {
}
public VolumeNodeResourcesFluentImpl(io.fabric8.kubernetes.api.model.storage.VolumeNodeResources instance) {
this.withCount(instance.getCount());
}
public java.lang.Integer getCount() {
return this.count;
}
public A withCount(java.lang.Integer count) {
this.count=count; return (A) this;
}
public java.lang.Boolean hasCount() {
return this.count != null;
}
public boolean equals(java.lang.Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
VolumeNodeResourcesFluentImpl that = (VolumeNodeResourcesFluentImpl) 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());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy