org.molgenis.api.identities.AutoValue_UpdateIncludeCommand Maven / Gradle / Ivy
package org.molgenis.api.identities;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_UpdateIncludeCommand extends UpdateIncludeCommand {
private final String role;
AutoValue_UpdateIncludeCommand(
String role) {
if (role == null) {
throw new NullPointerException("Null role");
}
this.role = role;
}
@Override
public String getRole() {
return role;
}
@Override
public String toString() {
return "UpdateIncludeCommand{"
+ "role=" + role
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof UpdateIncludeCommand) {
UpdateIncludeCommand that = (UpdateIncludeCommand) o;
return (this.role.equals(that.getRole()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.role.hashCode();
return h;
}
}