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

com.oneops.infoblox.model.$AutoValue_Ref Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version

package com.oneops.infoblox.model;

import javax.annotation.Generated;

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

  private final String value;

  $AutoValue_Ref(
      String value) {
    if (value == null) {
      throw new NullPointerException("Null value");
    }
    this.value = value;
  }

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

  @Override
  public String toString() {
    return "Ref{"
         + "value=" + value
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof Ref) {
      Ref that = (Ref) o;
      return (this.value.equals(that.value()));
    }
    return false;
  }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy