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

annotations.io.fabric8.knative.duck.v1beta1.SubscriberStatusFluentImpl Maven / Gradle / Ivy

package io.fabric8.knative.duck.v1beta1;

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

public class SubscriberStatusFluentImpl> extends io.fabric8.kubernetes.api.builder.BaseFluent implements io.fabric8.knative.duck.v1beta1.SubscriberStatusFluent{

    private String message;
    private Long observedGeneration;
    private String ready;
    private String uid;

    public SubscriberStatusFluentImpl(){
    }
    public SubscriberStatusFluentImpl(io.fabric8.knative.duck.v1beta1.SubscriberStatus instance){
            this.withMessage(instance.getMessage()); 
            this.withObservedGeneration(instance.getObservedGeneration()); 
            this.withReady(instance.getReady()); 
            this.withUid(instance.getUid()); 
    }

    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 A withNewMessage(String arg1){
            return (A)withMessage(new String(arg1));
    }

    public A withNewMessage(StringBuilder arg1){
            return (A)withMessage(new String(arg1));
    }

    public A withNewMessage(StringBuffer arg1){
            return (A)withMessage(new String(arg1));
    }

    public Long getObservedGeneration(){
            return this.observedGeneration;
    }

    public A withObservedGeneration(Long observedGeneration){
            this.observedGeneration=observedGeneration; return (A) this;
    }

    public Boolean hasObservedGeneration(){
            return this.observedGeneration != null;
    }

    public String getReady(){
            return this.ready;
    }

    public A withReady(String ready){
            this.ready=ready; return (A) this;
    }

    public Boolean hasReady(){
            return this.ready != null;
    }

    public A withNewReady(String arg1){
            return (A)withReady(new String(arg1));
    }

    public A withNewReady(StringBuilder arg1){
            return (A)withReady(new String(arg1));
    }

    public A withNewReady(StringBuffer arg1){
            return (A)withReady(new String(arg1));
    }

    public String getUid(){
            return this.uid;
    }

    public A withUid(String uid){
            this.uid=uid; return (A) this;
    }

    public Boolean hasUid(){
            return this.uid != null;
    }

    public A withNewUid(String arg1){
            return (A)withUid(new String(arg1));
    }

    public A withNewUid(StringBuilder arg1){
            return (A)withUid(new String(arg1));
    }

    public A withNewUid(StringBuffer arg1){
            return (A)withUid(new String(arg1));
    }

    public boolean equals(Object o){
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;
            SubscriberStatusFluentImpl that = (SubscriberStatusFluentImpl) o;
            if (message != null ? !message.equals(that.message) :that.message != null) return false;
            if (observedGeneration != null ? !observedGeneration.equals(that.observedGeneration) :that.observedGeneration != null) return false;
            if (ready != null ? !ready.equals(that.ready) :that.ready != null) return false;
            if (uid != null ? !uid.equals(that.uid) :that.uid != null) return false;
            return true;
    }




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy