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