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