
org.jclouds.azurecompute.arm.domain.AutoValue_AddressSpace 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.domain;
import java.util.List;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_AddressSpace extends AddressSpace {
private final List addressPrefixes;
AutoValue_AddressSpace(
List addressPrefixes) {
if (addressPrefixes == null) {
throw new NullPointerException("Null addressPrefixes");
}
this.addressPrefixes = addressPrefixes;
}
@Override
public List addressPrefixes() {
return addressPrefixes;
}
@Override
public String toString() {
return "AddressSpace{"
+ "addressPrefixes=" + addressPrefixes
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof AddressSpace) {
AddressSpace that = (AddressSpace) o;
return (this.addressPrefixes.equals(that.addressPrefixes()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.addressPrefixes.hashCode();
return h;
}
}