All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.kubernetes.client.openapi.models.V1ListMetaFluentImpl Maven / Gradle / Ivy

There is a newer version: 22.0.0
Show newest version
package io.kubernetes.client.openapi.models;

import java.lang.StringBuffer;
import java.lang.StringBuilder;
import com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.BaseFluent;
import java.lang.Long;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;

public class V1ListMetaFluentImpl> extends io.kubernetes.client.fluent.BaseFluent implements V1ListMetaFluent {

    private String _continue;
    private Long remainingItemCount;
    private String resourceVersion;
    private String selfLink;

    public V1ListMetaFluentImpl() { 
    }


    public V1ListMetaFluentImpl(V1ListMeta instance) { 
        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 A withNewContinue(String arg1) {
        return (A)withContinue(new String(arg1));
    }

    public A withNewContinue(StringBuilder arg1) {
        return (A)withContinue(new String(arg1));
    }

    public A withNewContinue(StringBuffer arg1) {
        return (A)withContinue(new String(arg1));
    }

    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 A withNewResourceVersion(String arg1) {
        return (A)withResourceVersion(new String(arg1));
    }

    public A withNewResourceVersion(StringBuilder arg1) {
        return (A)withResourceVersion(new String(arg1));
    }

    public A withNewResourceVersion(StringBuffer arg1) {
        return (A)withResourceVersion(new String(arg1));
    }

    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 A withNewSelfLink(String arg1) {
        return (A)withSelfLink(new String(arg1));
    }

    public A withNewSelfLink(StringBuilder arg1) {
        return (A)withSelfLink(new String(arg1));
    }

    public A withNewSelfLink(StringBuffer arg1) {
        return (A)withSelfLink(new String(arg1));
    }

    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        V1ListMetaFluentImpl that = (V1ListMetaFluentImpl) o;
        if (_continue != null ? !_continue.equals(that._continue) :that._continue != null) return false;
        if (remainingItemCount != null ? !remainingItemCount.equals(that.remainingItemCount) :that.remainingItemCount != null) return false;
        if (resourceVersion != null ? !resourceVersion.equals(that.resourceVersion) :that.resourceVersion != null) return false;
        if (selfLink != null ? !selfLink.equals(that.selfLink) :that.selfLink != null) return false;
        return true;
    }

    public int hashCode() {
        return java.util.Objects.hash(_continue,  remainingItemCount,  resourceVersion,  selfLink,  super.hashCode());
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy