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

annotations.io.alauda.kubernetes.api.model.PhotonPersistentDiskVolumeSourceFluentImpl Maven / Gradle / Ivy

There is a newer version: 0.2.12
Show newest version
package io.alauda.kubernetes.api.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;

public class PhotonPersistentDiskVolumeSourceFluentImpl> extends io.alauda.kubernetes.api.builder.BaseFluent implements PhotonPersistentDiskVolumeSourceFluent{

    private String fsType;
    private String pdID;

    public PhotonPersistentDiskVolumeSourceFluentImpl(){
    }
    public PhotonPersistentDiskVolumeSourceFluentImpl(PhotonPersistentDiskVolumeSource instance){
            this.withFsType(instance.getFsType()); 
            this.withPdID(instance.getPdID()); 
    }

    public String getFsType(){
            return this.fsType;
    }

    public A withFsType(String fsType){
            this.fsType=fsType; return (A) this;
    }

    public Boolean hasFsType(){
            return this.fsType!=null;
    }

    public String getPdID(){
            return this.pdID;
    }

    public A withPdID(String pdID){
            this.pdID=pdID; return (A) this;
    }

    public Boolean hasPdID(){
            return this.pdID!=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;
            PhotonPersistentDiskVolumeSourceFluentImpl that = (PhotonPersistentDiskVolumeSourceFluentImpl) o;
            if (fsType != null ? !fsType.equals(that.fsType) :that.fsType != null) return false;
            if (pdID != null ? !pdID.equals(that.pdID) :that.pdID != null) return false;
            return true;
    }




}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy