
io.kubernetes.client.models.V2beta1PodsMetricStatusFluentImpl Maven / Gradle / Ivy
package io.kubernetes.client.models;
import com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;
public class V2beta1PodsMetricStatusFluentImpl> extends io.kubernetes.client.fluent.BaseFluent implements V2beta1PodsMetricStatusFluent{
private String currentAverageValue;
private String metricName;
public V2beta1PodsMetricStatusFluentImpl(){
}
public V2beta1PodsMetricStatusFluentImpl(V2beta1PodsMetricStatus instance){
this.withCurrentAverageValue(instance.getCurrentAverageValue());
this.withMetricName(instance.getMetricName());
}
public String getCurrentAverageValue(){
return this.currentAverageValue;
}
public A withCurrentAverageValue(String currentAverageValue){
this.currentAverageValue=currentAverageValue; return (A) this;
}
public Boolean hasCurrentAverageValue(){
return this.currentAverageValue != null;
}
public String getMetricName(){
return this.metricName;
}
public A withMetricName(String metricName){
this.metricName=metricName; return (A) this;
}
public Boolean hasMetricName(){
return this.metricName != 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;
V2beta1PodsMetricStatusFluentImpl that = (V2beta1PodsMetricStatusFluentImpl) o;
if (currentAverageValue != null ? !currentAverageValue.equals(that.currentAverageValue) :that.currentAverageValue != null) return false;
if (metricName != null ? !metricName.equals(that.metricName) :that.metricName != null) return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy