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

io.fabric8.knative.eventing.v1alpha1.ClusterChannelProvisionerSpecFluentImpl Maven / Gradle / Ivy

package io.fabric8.knative.eventing.v1alpha1;

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

public class ClusterChannelProvisionerSpecFluentImpl> extends io.fabric8.kubernetes.api.builder.BaseFluent implements ClusterChannelProvisionerSpecFluent{

    private Long generation;

    public ClusterChannelProvisionerSpecFluentImpl(){
    }
    public ClusterChannelProvisionerSpecFluentImpl(ClusterChannelProvisionerSpec instance){
            this.withGeneration(instance.getGeneration()); 
    }

    public Long getGeneration(){
            return this.generation;
    }

    public A withGeneration(Long generation){
            this.generation=generation; return (A) this;
    }

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




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy