annotations.io.alauda.kubernetes.api.model.HostPathVolumeSourceFluentImpl 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 HostPathVolumeSourceFluentImpl> extends io.alauda.kubernetes.api.builder.BaseFluent implements HostPathVolumeSourceFluent{
private String path;
public HostPathVolumeSourceFluentImpl(){
}
public HostPathVolumeSourceFluentImpl(HostPathVolumeSource 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;
HostPathVolumeSourceFluentImpl that = (HostPathVolumeSourceFluentImpl) o;
if (path != null ? !path.equals(that.path) :that.path != null) return false;
return true;
}
}