io.dekorate.helm.config.HelmExpressionFluentImpl Maven / Gradle / Ivy
package io.dekorate.helm.config;
import java.lang.SuppressWarnings;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;
/**
* Generated
*/
@SuppressWarnings(value = "unchecked")
public class HelmExpressionFluentImpl> extends BaseFluent implements HelmExpressionFluent{
public HelmExpressionFluentImpl() {
}
public HelmExpressionFluentImpl(HelmExpression instance) {
this.withPath(instance.getPath());
this.withExpression(instance.getExpression());
}
private String path;
private String expression;
public String getPath() {
return this.path;
}
public A withPath(String path) {
this.path=path; return (A) this;
}
public Boolean hasPath() {
return this.path != null;
}
public String getExpression() {
return this.expression;
}
public A withExpression(String expression) {
this.expression=expression; return (A) this;
}
public Boolean hasExpression() {
return this.expression != null;
}
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
HelmExpressionFluentImpl that = (HelmExpressionFluentImpl) o;
if (path != null ? !path.equals(that.path) :that.path != null) return false;
if (expression != null ? !expression.equals(that.expression) :that.expression != null) return false;
return true;
}
public int hashCode() {
return java.util.Objects.hash(path, expression, super.hashCode());
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (path != null) { sb.append("path:"); sb.append(path + ","); }
if (expression != null) { sb.append("expression:"); sb.append(expression); }
sb.append("}");
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy