io.kubernetes.client.openapi.models.V1VolumeNodeResourcesFluent Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import java.lang.Integer;
import java.lang.SuppressWarnings;
import io.kubernetes.client.fluent.BaseFluent;
import java.lang.Object;
import java.lang.String;
/**
* Generated
*/
@SuppressWarnings("unchecked")
public class V1VolumeNodeResourcesFluent> extends BaseFluent{
public V1VolumeNodeResourcesFluent() {
}
public V1VolumeNodeResourcesFluent(V1VolumeNodeResources instance) {
this.copyInstance(instance);
}
private Integer count;
protected void copyInstance(V1VolumeNodeResources instance) {
instance = (instance != null ? instance : new V1VolumeNodeResources());
if (instance != null) {
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;
if (!super.equals(o)) return false;
V1VolumeNodeResourcesFluent that = (V1VolumeNodeResourcesFluent) o;
if (!java.util.Objects.equals(count, that.count)) return false;
return true;
}
public int hashCode() {
return java.util.Objects.hash(count, super.hashCode());
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (count != null) { sb.append("count:"); sb.append(count); }
sb.append("}");
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy