annotations.me.snowdrop.applicationcrd.api.model.ObjectStatusFluentImpl Maven / Gradle / Ivy
package me.snowdrop.applicationcrd.api.model;
import java.lang.StringBuffer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.lang.StringBuilder;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;
import javax.validation.constraints.NotNull;
public class ObjectStatusFluentImpl> extends io.fabric8.kubernetes.api.builder.BaseFluent implements ObjectStatusFluent{
private String group;
private String kind;
private String link;
private String name;
private String status;
public ObjectStatusFluentImpl(){
}
public ObjectStatusFluentImpl(ObjectStatus instance){
this.withGroup(instance.getGroup());
this.withKind(instance.getKind());
this.withLink(instance.getLink());
this.withName(instance.getName());
this.withStatus(instance.getStatus());
}
public String getGroup(){
return this.group;
}
public A withGroup(String group){
this.group=group; return (A) this;
}
public Boolean hasGroup(){
return this.group != null;
}
public A withNewGroup(String arg1){
return (A)withGroup(new String(arg1));
}
public A withNewGroup(StringBuilder arg1){
return (A)withGroup(new String(arg1));
}
public A withNewGroup(StringBuffer arg1){
return (A)withGroup(new String(arg1));
}
public String getKind(){
return this.kind;
}
public A withKind(String kind){
this.kind=kind; return (A) this;
}
public Boolean hasKind(){
return this.kind != null;
}
public A withNewKind(String arg1){
return (A)withKind(new String(arg1));
}
public A withNewKind(StringBuilder arg1){
return (A)withKind(new String(arg1));
}
public A withNewKind(StringBuffer arg1){
return (A)withKind(new String(arg1));
}
public String getLink(){
return this.link;
}
public A withLink(String link){
this.link=link; return (A) this;
}
public Boolean hasLink(){
return this.link != null;
}
public A withNewLink(String arg1){
return (A)withLink(new String(arg1));
}
public A withNewLink(StringBuilder arg1){
return (A)withLink(new String(arg1));
}
public A withNewLink(StringBuffer arg1){
return (A)withLink(new String(arg1));
}
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 A withNewName(String arg1){
return (A)withName(new String(arg1));
}
public A withNewName(StringBuilder arg1){
return (A)withName(new String(arg1));
}
public A withNewName(StringBuffer arg1){
return (A)withName(new String(arg1));
}
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 A withNewStatus(String arg1){
return (A)withStatus(new String(arg1));
}
public A withNewStatus(StringBuilder arg1){
return (A)withStatus(new String(arg1));
}
public A withNewStatus(StringBuffer arg1){
return (A)withStatus(new String(arg1));
}
public boolean equals(Object o){
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
if (!super.equals(o)) return false;
ObjectStatusFluentImpl that = (ObjectStatusFluentImpl) o;
if (group != null ? !group.equals(that.group) :that.group != null) return false;
if (kind != null ? !kind.equals(that.kind) :that.kind != null) return false;
if (link != null ? !link.equals(that.link) :that.link != null) return false;
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;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy