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