
io.kubernetes.client.models.V1ObjectFieldSelectorFluentImpl 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 V1ObjectFieldSelectorFluentImpl> extends io.kubernetes.client.fluent.BaseFluent implements V1ObjectFieldSelectorFluent{
private String apiVersion;
private String fieldPath;
public V1ObjectFieldSelectorFluentImpl(){
}
public V1ObjectFieldSelectorFluentImpl(V1ObjectFieldSelector instance){
this.withApiVersion(instance.getApiVersion());
this.withFieldPath(instance.getFieldPath());
}
public String getApiVersion(){
return this.apiVersion;
}
public A withApiVersion(String apiVersion){
this.apiVersion=apiVersion; return (A) this;
}
public Boolean hasApiVersion(){
return this.apiVersion != null;
}
public String getFieldPath(){
return this.fieldPath;
}
public A withFieldPath(String fieldPath){
this.fieldPath=fieldPath; return (A) this;
}
public Boolean hasFieldPath(){
return this.fieldPath != 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;
V1ObjectFieldSelectorFluentImpl that = (V1ObjectFieldSelectorFluentImpl) o;
if (apiVersion != null ? !apiVersion.equals(that.apiVersion) :that.apiVersion != null) return false;
if (fieldPath != null ? !fieldPath.equals(that.fieldPath) :that.fieldPath != null) return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy