org.graylog2.lookup.events.AutoValue_DataAdaptersDeleted 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_DataAdaptersDeleted extends DataAdaptersDeleted {
private final Set ids;
AutoValue_DataAdaptersDeleted(
Set ids) {
if (ids == null) {
throw new NullPointerException("Null ids");
}
this.ids = ids;
}
@JsonProperty("ids")
@Override
public Set ids() {
return ids;
}
@Override
public String toString() {
return "DataAdaptersDeleted{"
+ "ids=" + ids
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof DataAdaptersDeleted) {
DataAdaptersDeleted that = (DataAdaptersDeleted) o;
return this.ids.equals(that.ids());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= ids.hashCode();
return h$;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy