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

org.jclouds.digitalocean2.domain.internal.AutoValue_PaginatedCollection_Links Maven / Gradle / Ivy

The newest version!

package org.jclouds.digitalocean2.domain.internal;

import javax.annotation.Generated;
import org.jclouds.javax.annotation.Nullable;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
 final class AutoValue_PaginatedCollection_Links extends PaginatedCollection.Links {

  private final PaginatedCollection.Links.Pages pages;

  AutoValue_PaginatedCollection_Links(
      @Nullable PaginatedCollection.Links.Pages pages) {
    this.pages = pages;
  }

  @Nullable
  @Override
  public PaginatedCollection.Links.Pages pages() {
    return pages;
  }

  @Override
  public String toString() {
    return "Links{"
        + "pages=" + pages
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof PaginatedCollection.Links) {
      PaginatedCollection.Links that = (PaginatedCollection.Links) o;
      return ((this.pages == null) ? (that.pages() == null) : this.pages.equals(that.pages()));
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h = 1;
    h *= 1000003;
    h ^= (pages == null) ? 0 : this.pages.hashCode();
    return h;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy