org.graylog2.users.events.$AutoValue_UserChangedEvent Maven / Gradle / Ivy
package org.graylog2.users.events;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
abstract class $AutoValue_UserChangedEvent extends UserChangedEvent {
private final String userId;
$AutoValue_UserChangedEvent(
String userId) {
if (userId == null) {
throw new NullPointerException("Null userId");
}
this.userId = userId;
}
@JsonProperty("user_id")
@Override
public String userId() {
return userId;
}
@Override
public String toString() {
return "UserChangedEvent{"
+ "userId=" + userId
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof UserChangedEvent) {
UserChangedEvent that = (UserChangedEvent) o;
return this.userId.equals(that.userId());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= userId.hashCode();
return h$;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy