
org.jclouds.googlecomputeengine.domain.AutoValue_TargetHttpProxy 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.googlecomputeengine.domain;
import java.net.URI;
import java.util.Date;
import javax.annotation.Generated;
import org.jclouds.javax.annotation.Nullable;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_TargetHttpProxy extends TargetHttpProxy {
private final String id;
private final Date creationTimestamp;
private final URI selfLink;
private final String name;
private final String description;
private final URI urlMap;
AutoValue_TargetHttpProxy(
String id,
Date creationTimestamp,
URI selfLink,
String name,
@Nullable String description,
URI urlMap) {
if (id == null) {
throw new NullPointerException("Null id");
}
this.id = id;
if (creationTimestamp == null) {
throw new NullPointerException("Null creationTimestamp");
}
this.creationTimestamp = creationTimestamp;
if (selfLink == null) {
throw new NullPointerException("Null selfLink");
}
this.selfLink = selfLink;
if (name == null) {
throw new NullPointerException("Null name");
}
this.name = name;
this.description = description;
if (urlMap == null) {
throw new NullPointerException("Null urlMap");
}
this.urlMap = urlMap;
}
@Override
public String id() {
return id;
}
@Override
public Date creationTimestamp() {
return creationTimestamp;
}
@Override
public URI selfLink() {
return selfLink;
}
@Override
public String name() {
return name;
}
@Nullable
@Override
public String description() {
return description;
}
@Override
public URI urlMap() {
return urlMap;
}
@Override
public String toString() {
return "TargetHttpProxy{"
+ "id=" + id + ", "
+ "creationTimestamp=" + creationTimestamp + ", "
+ "selfLink=" + selfLink + ", "
+ "name=" + name + ", "
+ "description=" + description + ", "
+ "urlMap=" + urlMap
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof TargetHttpProxy) {
TargetHttpProxy that = (TargetHttpProxy) o;
return (this.id.equals(that.id()))
&& (this.creationTimestamp.equals(that.creationTimestamp()))
&& (this.selfLink.equals(that.selfLink()))
&& (this.name.equals(that.name()))
&& ((this.description == null) ? (that.description() == null) : this.description.equals(that.description()))
&& (this.urlMap.equals(that.urlMap()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.id.hashCode();
h *= 1000003;
h ^= this.creationTimestamp.hashCode();
h *= 1000003;
h ^= this.selfLink.hashCode();
h *= 1000003;
h ^= this.name.hashCode();
h *= 1000003;
h ^= (description == null) ? 0 : this.description.hashCode();
h *= 1000003;
h ^= this.urlMap.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy