io.alauda.devops.api.model.ImageLookupPolicyFluentImpl Maven / Gradle / Ivy
package io.alauda.devops.api.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.Boolean;
public class ImageLookupPolicyFluentImpl> extends io.alauda.kubernetes.api.builder.BaseFluent implements ImageLookupPolicyFluent{
private Boolean local;
public ImageLookupPolicyFluentImpl(){
}
public ImageLookupPolicyFluentImpl(ImageLookupPolicy instance){
this.withLocal(instance.getLocal());
}
public Boolean isLocal(){
return this.local;
}
public A withLocal(Boolean local){
this.local=local; return (A) this;
}
public Boolean hasLocal(){
return this.local!=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;
ImageLookupPolicyFluentImpl that = (ImageLookupPolicyFluentImpl) o;
if (local != null ? !local.equals(that.local) :that.local != null) return false;
return true;
}
}