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