
org.jclouds.azurecompute.arm.domain.AutoValue_IpAddressAvailabilityResult 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_IpAddressAvailabilityResult extends IpAddressAvailabilityResult {
private final boolean available;
private final List availableIPAddresses;
AutoValue_IpAddressAvailabilityResult(
boolean available,
List availableIPAddresses) {
this.available = available;
if (availableIPAddresses == null) {
throw new NullPointerException("Null availableIPAddresses");
}
this.availableIPAddresses = availableIPAddresses;
}
@Override
public boolean available() {
return available;
}
@Override
public List availableIPAddresses() {
return availableIPAddresses;
}
@Override
public String toString() {
return "IpAddressAvailabilityResult{"
+ "available=" + available + ", "
+ "availableIPAddresses=" + availableIPAddresses
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof IpAddressAvailabilityResult) {
IpAddressAvailabilityResult that = (IpAddressAvailabilityResult) o;
return (this.available == that.available())
&& (this.availableIPAddresses.equals(that.availableIPAddresses()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.available ? 1231 : 1237;
h *= 1000003;
h ^= this.availableIPAddresses.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy