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