io.kubernetes.client.openapi.models.V1ListMetaFluent Maven / Gradle / Ivy
The newest version!
package io.kubernetes.client.openapi.models;
import java.lang.SuppressWarnings;
import io.kubernetes.client.fluent.BaseFluent;
import java.lang.Long;
import java.lang.Object;
import java.lang.String;
/**
* Generated
*/
@SuppressWarnings("unchecked")
public class V1ListMetaFluent> extends BaseFluent{
public V1ListMetaFluent() {
}
public V1ListMetaFluent(V1ListMeta instance) {
this.copyInstance(instance);
}
private String _continue;
private Long remainingItemCount;
private String resourceVersion;
private String selfLink;
protected void copyInstance(V1ListMeta instance) {
instance = (instance != null ? instance : new V1ListMeta());
if (instance != null) {
this.withContinue(instance.getContinue());
this.withRemainingItemCount(instance.getRemainingItemCount());
this.withResourceVersion(instance.getResourceVersion());
this.withSelfLink(instance.getSelfLink());
}
}
public String getContinue() {
return this._continue;
}
public A withContinue(String _continue) {
this._continue = _continue;
return (A) this;
}
public boolean hasContinue() {
return this._continue != null;
}
public Long getRemainingItemCount() {
return this.remainingItemCount;
}
public A withRemainingItemCount(Long remainingItemCount) {
this.remainingItemCount = remainingItemCount;
return (A) this;
}
public boolean hasRemainingItemCount() {
return this.remainingItemCount != null;
}
public String getResourceVersion() {
return this.resourceVersion;
}
public A withResourceVersion(String resourceVersion) {
this.resourceVersion = resourceVersion;
return (A) this;
}
public boolean hasResourceVersion() {
return this.resourceVersion != null;
}
public String getSelfLink() {
return this.selfLink;
}
public A withSelfLink(String selfLink) {
this.selfLink = selfLink;
return (A) this;
}
public boolean hasSelfLink() {
return this.selfLink != 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;
V1ListMetaFluent that = (V1ListMetaFluent) o;
if (!java.util.Objects.equals(_continue, that._continue)) return false;
if (!java.util.Objects.equals(remainingItemCount, that.remainingItemCount)) return false;
if (!java.util.Objects.equals(resourceVersion, that.resourceVersion)) return false;
if (!java.util.Objects.equals(selfLink, that.selfLink)) return false;
return true;
}
public int hashCode() {
return java.util.Objects.hash(_continue, remainingItemCount, resourceVersion, selfLink, super.hashCode());
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (_continue != null) { sb.append("_continue:"); sb.append(_continue + ","); }
if (remainingItemCount != null) { sb.append("remainingItemCount:"); sb.append(remainingItemCount + ","); }
if (resourceVersion != null) { sb.append("resourceVersion:"); sb.append(resourceVersion + ","); }
if (selfLink != null) { sb.append("selfLink:"); sb.append(selfLink); }
sb.append("}");
return sb.toString();
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy