annotations.io.fabric8.knative.eventing.v1alpha1.ReplyStrategyFluentImpl Maven / Gradle / Ivy
package io.fabric8.knative.eventing.v1alpha1;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.fabric8.kubernetes.api.model.ObjectReference;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.Boolean;
public class ReplyStrategyFluentImpl> extends io.fabric8.kubernetes.api.builder.BaseFluent implements ReplyStrategyFluent{
private ObjectReference channel;
public ReplyStrategyFluentImpl(){
}
public ReplyStrategyFluentImpl(ReplyStrategy instance){
this.withChannel(instance.getChannel());
}
public ObjectReference getChannel(){
return this.channel;
}
public A withChannel(ObjectReference channel){
this.channel=channel; return (A) this;
}
public Boolean hasChannel(){
return this.channel != 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;
ReplyStrategyFluentImpl that = (ReplyStrategyFluentImpl) o;
if (channel != null ? !channel.equals(that.channel) :that.channel != null) return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy