
io.kubernetes.client.openapi.models.V1PodIPFluentImpl Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import java.lang.StringBuffer;
import java.lang.StringBuilder;
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 V1PodIPFluentImpl> extends io.kubernetes.client.fluent.BaseFluent implements V1PodIPFluent {
private String ip;
public V1PodIPFluentImpl() {
}
public V1PodIPFluentImpl(V1PodIP instance) {
this.withIp(instance.getIp());
}
public String getIp() {
return this.ip;
}
public A withIp(String ip) {
this.ip=ip; return (A) this;
}
public Boolean hasIp() {
return this.ip != null;
}
public A withNewIp(String arg1) {
return (A)withIp(new String(arg1));
}
public A withNewIp(StringBuilder arg1) {
return (A)withIp(new String(arg1));
}
public A withNewIp(StringBuffer arg1) {
return (A)withIp(new String(arg1));
}
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
V1PodIPFluentImpl that = (V1PodIPFluentImpl) o;
if (ip != null ? !ip.equals(that.ip) :that.ip != null) return false;
return true;
}
public int hashCode() {
return java.util.Objects.hash(ip, super.hashCode());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy