
org.jclouds.profitbricks.domain.AutoValue_DataCenter_Request_CreatePayload 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_DataCenter_Request_CreatePayload extends DataCenter.Request.CreatePayload {
private final String name;
private final Location location;
AutoValue_DataCenter_Request_CreatePayload(
String name,
Location location) {
if (name == null) {
throw new NullPointerException("Null name");
}
this.name = name;
if (location == null) {
throw new NullPointerException("Null location");
}
this.location = location;
}
@Override
public String name() {
return name;
}
@Override
public Location location() {
return location;
}
@Override
public String toString() {
return "CreatePayload{"
+ "name=" + name + ", "
+ "location=" + location
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof DataCenter.Request.CreatePayload) {
DataCenter.Request.CreatePayload that = (DataCenter.Request.CreatePayload) o;
return (this.name.equals(that.name()))
&& (this.location.equals(that.location()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.name.hashCode();
h *= 1000003;
h ^= this.location.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy