io.alauda.kubernetes.api.model.PipelineTaskArgumentValidationFluentImpl 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 PipelineTaskArgumentValidationFluentImpl> extends io.alauda.kubernetes.api.builder.BaseFluent implements PipelineTaskArgumentValidationFluent{
private String pattern;
public PipelineTaskArgumentValidationFluentImpl(){
}
public PipelineTaskArgumentValidationFluentImpl(PipelineTaskArgumentValidation instance){
this.withPattern(instance.getPattern());
}
public String getPattern(){
return this.pattern;
}
public A withPattern(String pattern){
this.pattern=pattern; return (A) this;
}
public Boolean hasPattern(){
return this.pattern!=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;
PipelineTaskArgumentValidationFluentImpl that = (PipelineTaskArgumentValidationFluentImpl) o;
if (pattern != null ? !pattern.equals(that.pattern) :that.pattern != null) return false;
return true;
}
}