io.alauda.kubernetes.api.model.PipelineTaskOptionFluentImpl 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.Long;
import java.lang.Object;
import java.lang.Boolean;
public class PipelineTaskOptionFluentImpl> extends io.alauda.kubernetes.api.builder.BaseFluent implements PipelineTaskOptionFluent{
private Long timeout;
public PipelineTaskOptionFluentImpl(){
}
public PipelineTaskOptionFluentImpl(PipelineTaskOption instance){
this.withTimeout(instance.getTimeout());
}
public Long getTimeout(){
return this.timeout;
}
public A withTimeout(Long timeout){
this.timeout=timeout; return (A) this;
}
public Boolean hasTimeout(){
return this.timeout!=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;
PipelineTaskOptionFluentImpl that = (PipelineTaskOptionFluentImpl) o;
if (timeout != null ? !timeout.equals(that.timeout) :that.timeout != null) return false;
return true;
}
}