All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.kubernetes.client.openapi.models.V1alpha1ExpressionWarningFluentImpl Maven / Gradle / Ivy

There is a newer version: 23.0.0-legacy
Show newest version
package io.kubernetes.client.openapi.models;

import java.lang.SuppressWarnings;
import io.kubernetes.client.fluent.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;

 /**
  * Generated
  */
  @SuppressWarnings(value = "unchecked")
  public class V1alpha1ExpressionWarningFluentImpl> extends BaseFluent implements V1alpha1ExpressionWarningFluent{
  public V1alpha1ExpressionWarningFluentImpl() {
  }
  public V1alpha1ExpressionWarningFluentImpl(V1alpha1ExpressionWarning instance) {
    if (instance != null) {
      this.withFieldRef(instance.getFieldRef());
      this.withWarning(instance.getWarning());
    }
  }
  private String fieldRef;
  private String warning;
  public String getFieldRef() {
    return this.fieldRef;
  }
  public A withFieldRef(String fieldRef) {
    this.fieldRef=fieldRef; return (A) this;
  }
  public Boolean hasFieldRef() {
    return this.fieldRef != null;
  }
  public String getWarning() {
    return this.warning;
  }
  public A withWarning(String warning) {
    this.warning=warning; return (A) this;
  }
  public Boolean hasWarning() {
    return this.warning != 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;
    V1alpha1ExpressionWarningFluentImpl that = (V1alpha1ExpressionWarningFluentImpl) o;
    if (!java.util.Objects.equals(fieldRef, that.fieldRef)) return false;

    if (!java.util.Objects.equals(warning, that.warning)) return false;

    return true;
  }
  public int hashCode() {
    return java.util.Objects.hash(fieldRef,  warning,  super.hashCode());
  }
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("{");
    if (fieldRef != null) { sb.append("fieldRef:"); sb.append(fieldRef + ","); }
    if (warning != null) { sb.append("warning:"); sb.append(warning); }
    sb.append("}");
    return sb.toString();
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy