
io.fabric8.kubernetes.api.model.ReplicationControllerStatusFluentImpl Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model;
import java.util.Map;
import java.util.Map;
import java.util.HashMap;
import java.io.Serializable;
import java.util.AbstractMap;
import io.fabric8.kubernetes.api.builder.Visitable;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import io.fabric8.kubernetes.api.builder.Fluent;
public class ReplicationControllerStatusFluentImpl> extends BaseFluent implements ReplicationControllerStatusFluent{
Integer fullyLabeledReplicas; Long observedGeneration; Integer replicas;
public ReplicationControllerStatusFluentImpl(){
}
public ReplicationControllerStatusFluentImpl( ReplicationControllerStatus instance ){
this.withFullyLabeledReplicas(instance.getFullyLabeledReplicas()); this.withObservedGeneration(instance.getObservedGeneration()); this.withReplicas(instance.getReplicas());
}
public Integer getFullyLabeledReplicas(){
return this.fullyLabeledReplicas;
}
public A withFullyLabeledReplicas( Integer fullyLabeledReplicas){
this.fullyLabeledReplicas=fullyLabeledReplicas; return (A) this;
}
public Long getObservedGeneration(){
return this.observedGeneration;
}
public A withObservedGeneration( Long observedGeneration){
this.observedGeneration=observedGeneration; return (A) this;
}
public Integer getReplicas(){
return this.replicas;
}
public A withReplicas( Integer replicas){
this.replicas=replicas; return (A) this;
}
public boolean equals( Object o){
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ReplicationControllerStatusFluentImpl that = (ReplicationControllerStatusFluentImpl) o;
if (fullyLabeledReplicas != null ? !fullyLabeledReplicas.equals(that.fullyLabeledReplicas) :that.fullyLabeledReplicas != null) return false;
if (observedGeneration != null ? !observedGeneration.equals(that.observedGeneration) :that.observedGeneration != null) return false;
if (replicas != null ? !replicas.equals(that.replicas) :that.replicas != null) return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy