annotations.io.alauda.devops.api.model.BinaryBuildSourceFluentImpl 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.String;
import java.lang.Boolean;
public class BinaryBuildSourceFluentImpl> extends io.alauda.kubernetes.api.builder.BaseFluent implements BinaryBuildSourceFluent{
private String asFile;
public BinaryBuildSourceFluentImpl(){
}
public BinaryBuildSourceFluentImpl(BinaryBuildSource instance){
this.withAsFile(instance.getAsFile());
}
public String getAsFile(){
return this.asFile;
}
public A withAsFile(String asFile){
this.asFile=asFile; return (A) this;
}
public Boolean hasAsFile(){
return this.asFile!=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;
BinaryBuildSourceFluentImpl that = (BinaryBuildSourceFluentImpl) o;
if (asFile != null ? !asFile.equals(that.asFile) :that.asFile != null) return false;
return true;
}
}