All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.alauda.kubernetes.api.model.PipelineTriggerCodeChangeFluentImpl Maven / Gradle / Ivy

There is a newer version: 0.2.12
Show newest version
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 PipelineTriggerCodeChangeFluentImpl> extends io.alauda.kubernetes.api.builder.BaseFluent implements PipelineTriggerCodeChangeFluent{

    private Boolean enabled;
    private String periodicCheck;

    public PipelineTriggerCodeChangeFluentImpl(){
    }
    public PipelineTriggerCodeChangeFluentImpl(PipelineTriggerCodeChange instance){
            this.withEnabled(instance.getEnabled()); 
            this.withPeriodicCheck(instance.getPeriodicCheck()); 
    }

    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 getPeriodicCheck(){
            return this.periodicCheck;
    }

    public A withPeriodicCheck(String periodicCheck){
            this.periodicCheck=periodicCheck; return (A) this;
    }

    public Boolean hasPeriodicCheck(){
            return this.periodicCheck!=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;
            PipelineTriggerCodeChangeFluentImpl that = (PipelineTriggerCodeChangeFluentImpl) o;
            if (enabled != null ? !enabled.equals(that.enabled) :that.enabled != null) return false;
            if (periodicCheck != null ? !periodicCheck.equals(that.periodicCheck) :that.periodicCheck != null) return false;
            return true;
    }




}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy