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

io.kubernetes.client.openapi.models.V1beta1AllowedFlexVolumeFluentImpl 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 V1beta1AllowedFlexVolumeFluentImpl> extends io.kubernetes.client.fluent.BaseFluent implements V1beta1AllowedFlexVolumeFluent {

    private String driver;

    public V1beta1AllowedFlexVolumeFluentImpl() { 
    }


    public V1beta1AllowedFlexVolumeFluentImpl(V1beta1AllowedFlexVolume instance) { 
        this.withDriver(instance.getDriver());

    }


    public String getDriver() {
        return this.driver;
    }

    public A withDriver(String driver) {
        this.driver=driver; return (A) this;
    }

    public Boolean hasDriver() {
        return this.driver != null;
    }

    public A withNewDriver(String arg1) {
        return (A)withDriver(new String(arg1));
    }

    public A withNewDriver(StringBuilder arg1) {
        return (A)withDriver(new String(arg1));
    }

    public A withNewDriver(StringBuffer arg1) {
        return (A)withDriver(new String(arg1));
    }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy