
org.jclouds.googlecomputeengine.domain.AutoValue_UrlMap Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-compute-engine Show documentation
Show all versions of google-compute-engine Show documentation
jclouds components to access GoogleCompute
The newest version!
package org.jclouds.googlecomputeengine.domain;
import java.net.URI;
import java.util.Date;
import java.util.List;
import javax.annotation.processing.Generated;
import org.jclouds.javax.annotation.Nullable;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_UrlMap extends UrlMap {
private final String id;
private final Date creationTimestamp;
private final URI selfLink;
private final String name;
private final String description;
private final List hostRules;
private final List pathMatchers;
private final List urlMapTests;
private final URI defaultService;
private final String fingerprint;
AutoValue_UrlMap(
String id,
Date creationTimestamp,
URI selfLink,
String name,
@Nullable String description,
@Nullable List hostRules,
@Nullable List pathMatchers,
@Nullable List urlMapTests,
URI defaultService,
String fingerprint) {
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;
this.hostRules = hostRules;
this.pathMatchers = pathMatchers;
this.urlMapTests = urlMapTests;
if (defaultService == null) {
throw new NullPointerException("Null defaultService");
}
this.defaultService = defaultService;
if (fingerprint == null) {
throw new NullPointerException("Null fingerprint");
}
this.fingerprint = fingerprint;
}
@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;
}
@Nullable
@Override
public List hostRules() {
return hostRules;
}
@Nullable
@Override
public List pathMatchers() {
return pathMatchers;
}
@Nullable
@Override
public List urlMapTests() {
return urlMapTests;
}
@Override
public URI defaultService() {
return defaultService;
}
@Override
public String fingerprint() {
return fingerprint;
}
@Override
public String toString() {
return "UrlMap{"
+ "id=" + id + ", "
+ "creationTimestamp=" + creationTimestamp + ", "
+ "selfLink=" + selfLink + ", "
+ "name=" + name + ", "
+ "description=" + description + ", "
+ "hostRules=" + hostRules + ", "
+ "pathMatchers=" + pathMatchers + ", "
+ "urlMapTests=" + urlMapTests + ", "
+ "defaultService=" + defaultService + ", "
+ "fingerprint=" + fingerprint
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof UrlMap) {
UrlMap that = (UrlMap) 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.hostRules == null) ? (that.hostRules() == null) : this.hostRules.equals(that.hostRules()))
&& ((this.pathMatchers == null) ? (that.pathMatchers() == null) : this.pathMatchers.equals(that.pathMatchers()))
&& ((this.urlMapTests == null) ? (that.urlMapTests() == null) : this.urlMapTests.equals(that.urlMapTests()))
&& (this.defaultService.equals(that.defaultService()))
&& (this.fingerprint.equals(that.fingerprint()));
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= id.hashCode();
h$ *= 1000003;
h$ ^= creationTimestamp.hashCode();
h$ *= 1000003;
h$ ^= selfLink.hashCode();
h$ *= 1000003;
h$ ^= name.hashCode();
h$ *= 1000003;
h$ ^= (description == null) ? 0 : description.hashCode();
h$ *= 1000003;
h$ ^= (hostRules == null) ? 0 : hostRules.hashCode();
h$ *= 1000003;
h$ ^= (pathMatchers == null) ? 0 : pathMatchers.hashCode();
h$ *= 1000003;
h$ ^= (urlMapTests == null) ? 0 : urlMapTests.hashCode();
h$ *= 1000003;
h$ ^= defaultService.hashCode();
h$ *= 1000003;
h$ ^= fingerprint.hashCode();
return h$;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy