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