
org.jclouds.digitalocean2.domain.internal.AutoValue_PaginatedCollection_Links Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of digitalocean2-fixed Show documentation
Show all versions of digitalocean2-fixed Show documentation
jclouds provider for Digital Ocean v2 Compute API, with backported fixes
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