com.google.apphosting.utils.config.AutoValue_AppEngineWebXml_AdminConsolePage Maven / Gradle / Ivy
package com.google.apphosting.utils.config;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_AppEngineWebXml_AdminConsolePage extends AppEngineWebXml.AdminConsolePage {
private final String name;
private final String url;
AutoValue_AppEngineWebXml_AdminConsolePage(
String name,
String url) {
if (name == null) {
throw new NullPointerException("Null name");
}
this.name = name;
if (url == null) {
throw new NullPointerException("Null url");
}
this.url = url;
}
@Override
public String getName() {
return name;
}
@Override
public String getUrl() {
return url;
}
@Override
public String toString() {
return "AdminConsolePage{"
+ "name=" + name + ", "
+ "url=" + url
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof AppEngineWebXml.AdminConsolePage) {
AppEngineWebXml.AdminConsolePage that = (AppEngineWebXml.AdminConsolePage) o;
return this.name.equals(that.getName())
&& this.url.equals(that.getUrl());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= name.hashCode();
h$ *= 1000003;
h$ ^= url.hashCode();
return h$;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy