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