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

io.kubernetes.client.openapi.models.V1PodReadinessGateFluentImpl 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.Object;
import java.lang.String;
import java.lang.Boolean;

public class V1PodReadinessGateFluentImpl> extends io.kubernetes.client.fluent.BaseFluent implements V1PodReadinessGateFluent {

    private String conditionType;

    public V1PodReadinessGateFluentImpl() { 
    }


    public V1PodReadinessGateFluentImpl(V1PodReadinessGate instance) { 
        this.withConditionType(instance.getConditionType());

    }


    public String getConditionType() {
        return this.conditionType;
    }

    public A withConditionType(String conditionType) {
        this.conditionType=conditionType; return (A) this;
    }

    public Boolean hasConditionType() {
        return this.conditionType != null;
    }

    public A withNewConditionType(String arg1) {
        return (A)withConditionType(new String(arg1));
    }

    public A withNewConditionType(StringBuilder arg1) {
        return (A)withConditionType(new String(arg1));
    }

    public A withNewConditionType(StringBuffer arg1) {
        return (A)withConditionType(new String(arg1));
    }

    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        V1PodReadinessGateFluentImpl that = (V1PodReadinessGateFluentImpl) o;
        if (conditionType != null ? !conditionType.equals(that.conditionType) :that.conditionType != null) return false;
        return true;
    }

    public int hashCode() {
        return java.util.Objects.hash(conditionType,  super.hashCode());
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy