annotations.me.snowdrop.applicationcrd.api.model.GroupKindFluentImpl 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 GroupKindFluentImpl> extends io.fabric8.kubernetes.api.builder.BaseFluent implements GroupKindFluent{
private String group;
private String kind;
public GroupKindFluentImpl(){
}
public GroupKindFluentImpl(GroupKind instance){
this.withGroup(instance.getGroup());
this.withKind(instance.getKind());
}
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 boolean equals(Object o){
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
if (!super.equals(o)) return false;
GroupKindFluentImpl that = (GroupKindFluentImpl) 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;
return true;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy