annotations.io.alauda.kubernetes.api.model.MultiBranchOrphanFluentImpl Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model;
import java.lang.Integer;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.Boolean;
public class MultiBranchOrphanFluentImpl> extends io.alauda.kubernetes.api.builder.BaseFluent implements MultiBranchOrphanFluent{
private Integer days;
private Integer max;
public MultiBranchOrphanFluentImpl(){
}
public MultiBranchOrphanFluentImpl(MultiBranchOrphan instance){
this.withDays(instance.getDays());
this.withMax(instance.getMax());
}
public Integer getDays(){
return this.days;
}
public A withDays(Integer days){
this.days=days; return (A) this;
}
public Boolean hasDays(){
return this.days!=null;
}
public Integer getMax(){
return this.max;
}
public A withMax(Integer max){
this.max=max; return (A) this;
}
public Boolean hasMax(){
return this.max!=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;
MultiBranchOrphanFluentImpl that = (MultiBranchOrphanFluentImpl) o;
if (days != null ? !days.equals(that.days) :that.days != null) return false;
if (max != null ? !max.equals(that.max) :that.max != null) return false;
return true;
}
}