annotations.io.alauda.kubernetes.api.model.InitializerFluentImpl Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model;
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 InitializerFluentImpl> extends io.alauda.kubernetes.api.builder.BaseFluent implements InitializerFluent{
private String name;
public InitializerFluentImpl(){
}
public InitializerFluentImpl(Initializer 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;
InitializerFluentImpl that = (InitializerFluentImpl) o;
if (name != null ? !name.equals(that.name) :that.name != null) return false;
return true;
}
}