
org.apache.jclouds.profitbricks.rest.domain.AutoValue_Loadbalancer 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.apache.jclouds.profitbricks.rest.domain;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Loadbalancer extends Loadbalancer {
private final String id;
private final String type;
private final String href;
private final Metadata metadata;
private final Loadbalancer.Properties properties;
private final Loadbalancer.Entities entities;
AutoValue_Loadbalancer(
String id,
String type,
String href,
Metadata metadata,
Loadbalancer.Properties properties,
Loadbalancer.Entities entities) {
if (id == null) {
throw new NullPointerException("Null id");
}
this.id = id;
if (type == null) {
throw new NullPointerException("Null type");
}
this.type = type;
if (href == null) {
throw new NullPointerException("Null href");
}
this.href = href;
if (metadata == null) {
throw new NullPointerException("Null metadata");
}
this.metadata = metadata;
if (properties == null) {
throw new NullPointerException("Null properties");
}
this.properties = properties;
if (entities == null) {
throw new NullPointerException("Null entities");
}
this.entities = entities;
}
@Override
public String id() {
return id;
}
@Override
public String type() {
return type;
}
@Override
public String href() {
return href;
}
@Override
public Metadata metadata() {
return metadata;
}
@Override
public Loadbalancer.Properties properties() {
return properties;
}
@Override
public Loadbalancer.Entities entities() {
return entities;
}
@Override
public String toString() {
return "Loadbalancer{"
+ "id=" + id + ", "
+ "type=" + type + ", "
+ "href=" + href + ", "
+ "metadata=" + metadata + ", "
+ "properties=" + properties + ", "
+ "entities=" + entities
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Loadbalancer) {
Loadbalancer that = (Loadbalancer) o;
return (this.id.equals(that.id()))
&& (this.type.equals(that.type()))
&& (this.href.equals(that.href()))
&& (this.metadata.equals(that.metadata()))
&& (this.properties.equals(that.properties()))
&& (this.entities.equals(that.entities()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.id.hashCode();
h *= 1000003;
h ^= this.type.hashCode();
h *= 1000003;
h ^= this.href.hashCode();
h *= 1000003;
h ^= this.metadata.hashCode();
h *= 1000003;
h ^= this.properties.hashCode();
h *= 1000003;
h ^= this.entities.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy