
org.jclouds.azurecompute.arm.domain.AutoValue_Deployment 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_Deployment extends Deployment {
private final String id;
private final String name;
private final Deployment.DeploymentProperties properties;
AutoValue_Deployment(
@Nullable String id,
String name,
@Nullable Deployment.DeploymentProperties properties) {
this.id = id;
if (name == null) {
throw new NullPointerException("Null name");
}
this.name = name;
this.properties = properties;
}
@Nullable
@Override
public String id() {
return id;
}
@Override
public String name() {
return name;
}
@Nullable
@Override
public Deployment.DeploymentProperties properties() {
return properties;
}
@Override
public String toString() {
return "Deployment{"
+ "id=" + id + ", "
+ "name=" + name + ", "
+ "properties=" + properties
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Deployment) {
Deployment that = (Deployment) o;
return ((this.id == null) ? (that.id() == null) : this.id.equals(that.id()))
&& (this.name.equals(that.name()))
&& ((this.properties == null) ? (that.properties() == null) : this.properties.equals(that.properties()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= (id == null) ? 0 : this.id.hashCode();
h *= 1000003;
h ^= this.name.hashCode();
h *= 1000003;
h ^= (properties == null) ? 0 : this.properties.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy