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