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

io.kubernetes.client.models.V1ResourceFieldSelectorFluentImpl 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 V1ResourceFieldSelectorFluentImpl> extends io.kubernetes.client.fluent.BaseFluent implements V1ResourceFieldSelectorFluent{

    private String containerName;
    private String divisor;
    private String resource;

    public V1ResourceFieldSelectorFluentImpl(){
    }
    public V1ResourceFieldSelectorFluentImpl(V1ResourceFieldSelector instance){
            this.withContainerName(instance.getContainerName());

            this.withDivisor(instance.getDivisor());

            this.withResource(instance.getResource());

    }

    public String getContainerName(){
            return this.containerName;
    }

    public A withContainerName(String containerName){
            this.containerName=containerName; return (A) this;
    }

    public Boolean hasContainerName(){
            return this.containerName != null;
    }

    public String getDivisor(){
            return this.divisor;
    }

    public A withDivisor(String divisor){
            this.divisor=divisor; return (A) this;
    }

    public Boolean hasDivisor(){
            return this.divisor != null;
    }

    public String getResource(){
            return this.resource;
    }

    public A withResource(String resource){
            this.resource=resource; return (A) this;
    }

    public Boolean hasResource(){
            return this.resource != 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;
            V1ResourceFieldSelectorFluentImpl that = (V1ResourceFieldSelectorFluentImpl) o;
            if (containerName != null ? !containerName.equals(that.containerName) :that.containerName != null) return false;
            if (divisor != null ? !divisor.equals(that.divisor) :that.divisor != null) return false;
            if (resource != null ? !resource.equals(that.resource) :that.resource != null) return false;
            return true;
    }




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy