org.graylog.plugins.pipelineprocessor.events.AutoValue_LegacyDefaultStreamMigrated Maven / Gradle / Ivy
package org.graylog.plugins.pipelineprocessor.events;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_LegacyDefaultStreamMigrated extends LegacyDefaultStreamMigrated {
private final boolean migrationDone;
AutoValue_LegacyDefaultStreamMigrated(
boolean migrationDone) {
this.migrationDone = migrationDone;
}
@JsonProperty
@Override
public boolean migrationDone() {
return migrationDone;
}
@Override
public String toString() {
return "LegacyDefaultStreamMigrated{"
+ "migrationDone=" + migrationDone
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof LegacyDefaultStreamMigrated) {
LegacyDefaultStreamMigrated that = (LegacyDefaultStreamMigrated) o;
return (this.migrationDone == that.migrationDone());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= migrationDone ? 1231 : 1237;
return h$;
}
}