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

org.jclouds.packet.domain.AutoValue_Href Maven / Gradle / Ivy

The newest version!

package org.jclouds.packet.domain;

import javax.annotation.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
 final class AutoValue_Href extends Href {

  private final String href;

  AutoValue_Href(
      String href) {
    if (href == null) {
      throw new NullPointerException("Null href");
    }
    this.href = href;
  }

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

  @Override
  public String toString() {
    return "Href{"
        + "href=" + href
        + "}";
  }

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy