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

com.oneops.infoblox.model.zone.$AutoValue_ZoneAuth Maven / Gradle / Ivy


package com.oneops.infoblox.model.zone;

import com.squareup.moshi.Json;
import javax.annotation.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
 abstract class $AutoValue_ZoneAuth extends ZoneAuth {

  private final String view;
  private final String fqdn;
  private final String ref;

  $AutoValue_ZoneAuth(
      String view,
      String fqdn,
      String ref) {
    if (view == null) {
      throw new NullPointerException("Null view");
    }
    this.view = view;
    if (fqdn == null) {
      throw new NullPointerException("Null fqdn");
    }
    this.fqdn = fqdn;
    if (ref == null) {
      throw new NullPointerException("Null ref");
    }
    this.ref = ref;
  }

  @Override
  public String view() {
    return view;
  }

  @Override
  public String fqdn() {
    return fqdn;
  }

  @Json(name = "_ref")
  @Override
  public String ref() {
    return ref;
  }

  @Override
  public String toString() {
    return "ZoneAuth{"
         + "view=" + view + ", "
         + "fqdn=" + fqdn + ", "
         + "ref=" + ref
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof ZoneAuth) {
      ZoneAuth that = (ZoneAuth) o;
      return (this.view.equals(that.view()))
           && (this.fqdn.equals(that.fqdn()))
           && (this.ref.equals(that.ref()));
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h = 1;
    h *= 1000003;
    h ^= this.view.hashCode();
    h *= 1000003;
    h ^= this.fqdn.hashCode();
    h *= 1000003;
    h ^= this.ref.hashCode();
    return h;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy