
org.jclouds.azurecompute.arm.domain.AutoValue_Key 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.Map;
import javax.annotation.Generated;
import org.jclouds.javax.annotation.Nullable;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Key extends Key {
private final String kid;
private final Key.KeyAttributes attributes;
private final Boolean managed;
private final Map tags;
AutoValue_Key(
@Nullable String kid,
Key.KeyAttributes attributes,
@Nullable Boolean managed,
@Nullable Map tags) {
this.kid = kid;
if (attributes == null) {
throw new NullPointerException("Null attributes");
}
this.attributes = attributes;
this.managed = managed;
this.tags = tags;
}
@Nullable
@Override
public String kid() {
return kid;
}
@Override
public Key.KeyAttributes attributes() {
return attributes;
}
@Nullable
@Override
public Boolean managed() {
return managed;
}
@Nullable
@Override
public Map tags() {
return tags;
}
@Override
public String toString() {
return "Key{"
+ "kid=" + kid + ", "
+ "attributes=" + attributes + ", "
+ "managed=" + managed + ", "
+ "tags=" + tags
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Key) {
Key that = (Key) o;
return ((this.kid == null) ? (that.kid() == null) : this.kid.equals(that.kid()))
&& (this.attributes.equals(that.attributes()))
&& ((this.managed == null) ? (that.managed() == null) : this.managed.equals(that.managed()))
&& ((this.tags == null) ? (that.tags() == null) : this.tags.equals(that.tags()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= (kid == null) ? 0 : this.kid.hashCode();
h *= 1000003;
h ^= this.attributes.hashCode();
h *= 1000003;
h ^= (managed == null) ? 0 : this.managed.hashCode();
h *= 1000003;
h ^= (tags == null) ? 0 : this.tags.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy