io.alauda.kubernetes.api.model.AzureFileVolumeSourceFluentImpl Maven / Gradle / Ivy
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 AzureFileVolumeSourceFluentImpl> extends io.alauda.kubernetes.api.builder.BaseFluent implements AzureFileVolumeSourceFluent{
private Boolean readOnly;
private String secretName;
private String shareName;
public AzureFileVolumeSourceFluentImpl(){
}
public AzureFileVolumeSourceFluentImpl(AzureFileVolumeSource instance){
this.withReadOnly(instance.getReadOnly());
this.withSecretName(instance.getSecretName());
this.withShareName(instance.getShareName());
}
public Boolean isReadOnly(){
return this.readOnly;
}
public A withReadOnly(Boolean readOnly){
this.readOnly=readOnly; return (A) this;
}
public Boolean hasReadOnly(){
return this.readOnly!=null;
}
public String getSecretName(){
return this.secretName;
}
public A withSecretName(String secretName){
this.secretName=secretName; return (A) this;
}
public Boolean hasSecretName(){
return this.secretName!=null;
}
public String getShareName(){
return this.shareName;
}
public A withShareName(String shareName){
this.shareName=shareName; return (A) this;
}
public Boolean hasShareName(){
return this.shareName!=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;
AzureFileVolumeSourceFluentImpl that = (AzureFileVolumeSourceFluentImpl) o;
if (readOnly != null ? !readOnly.equals(that.readOnly) :that.readOnly != null) return false;
if (secretName != null ? !secretName.equals(that.secretName) :that.secretName != null) return false;
if (shareName != null ? !shareName.equals(that.shareName) :that.shareName != null) return false;
return true;
}
}