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