annotations.io.alauda.kubernetes.api.model.extensions.APIVersionFluentImpl Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model.extensions;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;
public class APIVersionFluentImpl> extends io.alauda.kubernetes.api.builder.BaseFluent implements APIVersionFluent{
private String name;
public APIVersionFluentImpl(){
}
public APIVersionFluentImpl(APIVersion instance){
this.withName(instance.getName());
}
public String getName(){
return this.name;
}
public A withName(String name){
this.name=name; return (A) this;
}
public Boolean hasName(){
return this.name!=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;
APIVersionFluentImpl that = (APIVersionFluentImpl) o;
if (name != null ? !name.equals(that.name) :that.name != null) return false;
return true;
}
}