![JAR search and dependency download from the Maven repository](/logo.png)
io.kubernetes.client.openapi.models.V1CustomResourceColumnDefinitionFluentImpl Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import java.lang.Integer;
import java.lang.StringBuffer;
import java.lang.StringBuilder;
import com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;
public class V1CustomResourceColumnDefinitionFluentImpl> extends io.kubernetes.client.fluent.BaseFluent implements V1CustomResourceColumnDefinitionFluent {
private String description;
private String format;
private String jsonPath;
private String name;
private Integer priority;
private String type;
public V1CustomResourceColumnDefinitionFluentImpl() {
}
public V1CustomResourceColumnDefinitionFluentImpl(V1CustomResourceColumnDefinition instance) {
this.withDescription(instance.getDescription());
this.withFormat(instance.getFormat());
this.withJsonPath(instance.getJsonPath());
this.withName(instance.getName());
this.withPriority(instance.getPriority());
this.withType(instance.getType());
}
public String getDescription() {
return this.description;
}
public A withDescription(String description) {
this.description=description; return (A) this;
}
public Boolean hasDescription() {
return this.description != null;
}
public A withNewDescription(String arg1) {
return (A)withDescription(new String(arg1));
}
public A withNewDescription(StringBuilder arg1) {
return (A)withDescription(new String(arg1));
}
public A withNewDescription(StringBuffer arg1) {
return (A)withDescription(new String(arg1));
}
public String getFormat() {
return this.format;
}
public A withFormat(String format) {
this.format=format; return (A) this;
}
public Boolean hasFormat() {
return this.format != null;
}
public A withNewFormat(String arg1) {
return (A)withFormat(new String(arg1));
}
public A withNewFormat(StringBuilder arg1) {
return (A)withFormat(new String(arg1));
}
public A withNewFormat(StringBuffer arg1) {
return (A)withFormat(new String(arg1));
}
public String getJsonPath() {
return this.jsonPath;
}
public A withJsonPath(String jsonPath) {
this.jsonPath=jsonPath; return (A) this;
}
public Boolean hasJsonPath() {
return this.jsonPath != null;
}
public A withNewJsonPath(String arg1) {
return (A)withJsonPath(new String(arg1));
}
public A withNewJsonPath(StringBuilder arg1) {
return (A)withJsonPath(new String(arg1));
}
public A withNewJsonPath(StringBuffer arg1) {
return (A)withJsonPath(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 Integer getPriority() {
return this.priority;
}
public A withPriority(Integer priority) {
this.priority=priority; return (A) this;
}
public Boolean hasPriority() {
return this.priority != null;
}
public String getType() {
return this.type;
}
public A withType(String type) {
this.type=type; return (A) this;
}
public Boolean hasType() {
return this.type != null;
}
public A withNewType(String arg1) {
return (A)withType(new String(arg1));
}
public A withNewType(StringBuilder arg1) {
return (A)withType(new String(arg1));
}
public A withNewType(StringBuffer arg1) {
return (A)withType(new String(arg1));
}
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
V1CustomResourceColumnDefinitionFluentImpl that = (V1CustomResourceColumnDefinitionFluentImpl) o;
if (description != null ? !description.equals(that.description) :that.description != null) return false;
if (format != null ? !format.equals(that.format) :that.format != null) return false;
if (jsonPath != null ? !jsonPath.equals(that.jsonPath) :that.jsonPath != null) return false;
if (name != null ? !name.equals(that.name) :that.name != null) return false;
if (priority != null ? !priority.equals(that.priority) :that.priority != null) return false;
if (type != null ? !type.equals(that.type) :that.type != null) return false;
return true;
}
public int hashCode() {
return java.util.Objects.hash(description, format, jsonPath, name, priority, type, super.hashCode());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy