annotations.io.alauda.kubernetes.api.model.ProjectNamespaceStatusFluentImpl 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 ProjectNamespaceStatusFluentImpl> extends io.alauda.kubernetes.api.builder.BaseFluent implements ProjectNamespaceStatusFluent{
private String name;
private String status;
public ProjectNamespaceStatusFluentImpl(){
}
public ProjectNamespaceStatusFluentImpl(ProjectNamespaceStatus instance){
this.withName(instance.getName());
this.withStatus(instance.getStatus());
}
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 String getStatus(){
return this.status;
}
public A withStatus(String status){
this.status=status; return (A) this;
}
public Boolean hasStatus(){
return this.status!=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;
ProjectNamespaceStatusFluentImpl that = (ProjectNamespaceStatusFluentImpl) o;
if (name != null ? !name.equals(that.name) :that.name != null) return false;
if (status != null ? !status.equals(that.status) :that.status != null) return false;
return true;
}
}