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

io.fabric8.openshift.api.model.WebHookTriggerFluentImpl Maven / Gradle / Ivy

The newest version!
package io.fabric8.openshift.api.model;

import io.fabric8.kubernetes.api.builder.BaseFluent;
import java.lang.Boolean;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.lang.String;
import java.lang.Object;

public class WebHookTriggerFluentImpl> extends BaseFluent implements WebHookTriggerFluent{

    private Boolean allowEnv;
    private String secret;

    public WebHookTriggerFluentImpl(){
    }
    public WebHookTriggerFluentImpl(WebHookTrigger instance){
            this.withAllowEnv(instance.getAllowEnv()); 
            this.withSecret(instance.getSecret()); 
    }

    public Boolean isAllowEnv(){
            return this.allowEnv;
    }

    public A withAllowEnv(Boolean allowEnv){
            this.allowEnv=allowEnv; return (A) this;
    }

    public String getSecret(){
            return this.secret;
    }

    public A withSecret(String secret){
            this.secret=secret; return (A) this;
    }

    public boolean equals(Object o){
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;
            if (!super.equals(o)) return false;
            WebHookTriggerFluentImpl that = (WebHookTriggerFluentImpl) o;
            if (allowEnv != null ? !allowEnv.equals(that.allowEnv) :that.allowEnv != null) return false;
            if (secret != null ? !secret.equals(that.secret) :that.secret != null) return false;
            return true;
    }




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy