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

io.kubernetes.client.models.V1ServerAddressByClientCIDRFluentImpl Maven / Gradle / Ivy

package io.kubernetes.client.models;

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

public class V1ServerAddressByClientCIDRFluentImpl> extends io.kubernetes.client.fluent.BaseFluent implements V1ServerAddressByClientCIDRFluent{

    private String clientCIDR;
    private String serverAddress;

    public V1ServerAddressByClientCIDRFluentImpl(){
    }
    public V1ServerAddressByClientCIDRFluentImpl(V1ServerAddressByClientCIDR instance){
            this.withClientCIDR(instance.getClientCIDR());

            this.withServerAddress(instance.getServerAddress());

    }

    public String getClientCIDR(){
            return this.clientCIDR;
    }

    public A withClientCIDR(String clientCIDR){
            this.clientCIDR=clientCIDR; return (A) this;
    }

    public Boolean hasClientCIDR(){
            return this.clientCIDR != null;
    }

    public String getServerAddress(){
            return this.serverAddress;
    }

    public A withServerAddress(String serverAddress){
            this.serverAddress=serverAddress; return (A) this;
    }

    public Boolean hasServerAddress(){
            return this.serverAddress != 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;
            V1ServerAddressByClientCIDRFluentImpl that = (V1ServerAddressByClientCIDRFluentImpl) o;
            if (clientCIDR != null ? !clientCIDR.equals(that.clientCIDR) :that.clientCIDR != null) return false;
            if (serverAddress != null ? !serverAddress.equals(that.serverAddress) :that.serverAddress != null) return false;
            return true;
    }




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy