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

io.alauda.kubernetes.api.model.PipelineTaskApproveFluentImpl 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.Long;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;

public class PipelineTaskApproveFluentImpl> extends io.alauda.kubernetes.api.builder.BaseFluent implements PipelineTaskApproveFluent{

    private String message;
    private Long timeout;

    public PipelineTaskApproveFluentImpl(){
    }
    public PipelineTaskApproveFluentImpl(PipelineTaskApprove instance){
            this.withMessage(instance.getMessage()); 
            this.withTimeout(instance.getTimeout()); 
    }

    public String getMessage(){
            return this.message;
    }

    public A withMessage(String message){
            this.message=message; return (A) this;
    }

    public Boolean hasMessage(){
            return this.message!=null;
    }

    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;
            PipelineTaskApproveFluentImpl that = (PipelineTaskApproveFluentImpl) o;
            if (message != null ? !message.equals(that.message) :that.message != null) return false;
            if (timeout != null ? !timeout.equals(that.timeout) :that.timeout != null) return false;
            return true;
    }




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy