
org.jclouds.azurecompute.arm.domain.AutoValue_Version_VersionProperties 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 javax.annotation.Generated;
import org.jclouds.javax.annotation.Nullable;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Version_VersionProperties extends Version.VersionProperties {
private final Plan plan;
private final Version.VersionProperties.OSDiskImage osDiskImage;
AutoValue_Version_VersionProperties(
@Nullable Plan plan,
Version.VersionProperties.OSDiskImage osDiskImage) {
this.plan = plan;
if (osDiskImage == null) {
throw new NullPointerException("Null osDiskImage");
}
this.osDiskImage = osDiskImage;
}
@Nullable
@Override
public Plan plan() {
return plan;
}
@Override
public Version.VersionProperties.OSDiskImage osDiskImage() {
return osDiskImage;
}
@Override
public String toString() {
return "VersionProperties{"
+ "plan=" + plan + ", "
+ "osDiskImage=" + osDiskImage
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Version.VersionProperties) {
Version.VersionProperties that = (Version.VersionProperties) o;
return ((this.plan == null) ? (that.plan() == null) : this.plan.equals(that.plan()))
&& (this.osDiskImage.equals(that.osDiskImage()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= (plan == null) ? 0 : this.plan.hashCode();
h *= 1000003;
h ^= this.osDiskImage.hashCode();
return h;
}
}