io.alauda.kubernetes.api.model.LocalVolumeSourceFluentImpl 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 LocalVolumeSourceFluentImpl> extends io.alauda.kubernetes.api.builder.BaseFluent implements LocalVolumeSourceFluent{
private String path;
public LocalVolumeSourceFluentImpl(){
}
public LocalVolumeSourceFluentImpl(LocalVolumeSource instance){
this.withPath(instance.getPath());
}
public String getPath(){
return this.path;
}
public A withPath(String path){
this.path=path; return (A) this;
}
public Boolean hasPath(){
return this.path!=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;
LocalVolumeSourceFluentImpl that = (LocalVolumeSourceFluentImpl) o;
if (path != null ? !path.equals(that.path) :that.path != null) return false;
return true;
}
}