
annotations.io.fabric8.kubernetes.api.model.ObjectFieldSelectorFluentImpl Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model;
import java.util.HashMap;
import java.io.Serializable;
import java.util.Map;
import java.util.Map;
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 ObjectFieldSelectorFluentImpl> extends BaseFluent implements ObjectFieldSelectorFluent{
String apiVersion; String fieldPath;
public ObjectFieldSelectorFluentImpl(){
}
public ObjectFieldSelectorFluentImpl( ObjectFieldSelector 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 String getFieldPath(){
return this.fieldPath;
}
public A withFieldPath( String fieldPath){
this.fieldPath=fieldPath; return (A) this;
}
public boolean equals( Object o){
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ObjectFieldSelectorFluentImpl that = (ObjectFieldSelectorFluentImpl) 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