
io.alauda.kubernetes.api.model.PipelineTriggerCronFluentImpl 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 PipelineTriggerCronFluentImpl> extends io.alauda.kubernetes.api.builder.BaseFluent implements PipelineTriggerCronFluent{
private Boolean enabled;
private String rule;
public PipelineTriggerCronFluentImpl(){
}
public PipelineTriggerCronFluentImpl(PipelineTriggerCron instance){
this.withEnabled(instance.getEnabled());
this.withRule(instance.getRule());
}
public Boolean isEnabled(){
return this.enabled;
}
public A withEnabled(Boolean enabled){
this.enabled=enabled; return (A) this;
}
public Boolean hasEnabled(){
return this.enabled!=null;
}
public String getRule(){
return this.rule;
}
public A withRule(String rule){
this.rule=rule; return (A) this;
}
public Boolean hasRule(){
return this.rule!=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;
PipelineTriggerCronFluentImpl that = (PipelineTriggerCronFluentImpl) o;
if (enabled != null ? !enabled.equals(that.enabled) :that.enabled != null) return false;
if (rule != null ? !rule.equals(that.rule) :that.rule != null) return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy