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

io.fabric8.knative.internal.networking.v1alpha1.HeaderMatchFluent Maven / Gradle / Ivy

package io.fabric8.knative.internal.networking.v1alpha1;

import java.lang.SuppressWarnings;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.String;

 /**
  * Generated
  */
  @SuppressWarnings(value = "unchecked")
  public class HeaderMatchFluent> extends BaseFluent{
  public HeaderMatchFluent() {
  }
  public HeaderMatchFluent(HeaderMatch instance) {
    instance = (instance != null ? instance : new HeaderMatch());

    if (instance != null) {
      this.withExact(instance.getExact());
      this.withExact(instance.getExact());
    }
  }
  private String exact;
  public String getExact() {
    return this.exact;
  }
  public A withExact(String exact) {
    this.exact=exact; return (A) this;
  }
  public boolean hasExact() {
    return this.exact != 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;
    HeaderMatchFluent that = (HeaderMatchFluent) o;
    if (!java.util.Objects.equals(exact, that.exact)) return false;

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy