
org.jclouds.profitbricks.domain.AutoValue_Snapshot_Request_RollbackPayload 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.profitbricks.domain;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Snapshot_Request_RollbackPayload extends Snapshot.Request.RollbackPayload {
private final String snapshotId;
private final String storageId;
AutoValue_Snapshot_Request_RollbackPayload(
String snapshotId,
String storageId) {
if (snapshotId == null) {
throw new NullPointerException("Null snapshotId");
}
this.snapshotId = snapshotId;
if (storageId == null) {
throw new NullPointerException("Null storageId");
}
this.storageId = storageId;
}
@Override
public String snapshotId() {
return snapshotId;
}
@Override
public String storageId() {
return storageId;
}
@Override
public String toString() {
return "RollbackPayload{"
+ "snapshotId=" + snapshotId + ", "
+ "storageId=" + storageId
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Snapshot.Request.RollbackPayload) {
Snapshot.Request.RollbackPayload that = (Snapshot.Request.RollbackPayload) o;
return (this.snapshotId.equals(that.snapshotId()))
&& (this.storageId.equals(that.storageId()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.snapshotId.hashCode();
h *= 1000003;
h ^= this.storageId.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy