
org.jclouds.digitalocean2.domain.internal.AutoValue_PaginatedCollection_Meta Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jclouds-shaded Show documentation
Show all versions of jclouds-shaded Show documentation
Provides a shaded jclouds with relocated guava and guice
The newest version!
package org.jclouds.digitalocean2.domain.internal;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_PaginatedCollection_Meta extends PaginatedCollection.Meta {
private final long total;
AutoValue_PaginatedCollection_Meta(
long total) {
this.total = total;
}
@Override
public long total() {
return total;
}
@Override
public String toString() {
return "Meta{"
+ "total=" + total
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof PaginatedCollection.Meta) {
PaginatedCollection.Meta that = (PaginatedCollection.Meta) o;
return (this.total == that.total());
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= (this.total >>> 32) ^ this.total;
return h;
}
}