org.graylog.plugins.views.migrations.V20191203120602_MigrateSavedSearchesToViewsSupport.AutoValue_V20191203120602_MigrateSavedSearchesToViews_MigrationCompleted Maven / Gradle / Ivy
package org.graylog.plugins.views.migrations.V20191203120602_MigrateSavedSearchesToViewsSupport;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_V20191203120602_MigrateSavedSearchesToViews_MigrationCompleted extends V20191203120602_MigrateSavedSearchesToViews.MigrationCompleted {
private final Map savedSearchIds;
AutoValue_V20191203120602_MigrateSavedSearchesToViews_MigrationCompleted(
Map savedSearchIds) {
if (savedSearchIds == null) {
throw new NullPointerException("Null savedSearchIds");
}
this.savedSearchIds = savedSearchIds;
}
@JsonProperty("saved_search_ids")
@Override
public Map savedSearchIds() {
return savedSearchIds;
}
@Override
public String toString() {
return "MigrationCompleted{"
+ "savedSearchIds=" + savedSearchIds
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof V20191203120602_MigrateSavedSearchesToViews.MigrationCompleted) {
V20191203120602_MigrateSavedSearchesToViews.MigrationCompleted that = (V20191203120602_MigrateSavedSearchesToViews.MigrationCompleted) o;
return this.savedSearchIds.equals(that.savedSearchIds());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= savedSearchIds.hashCode();
return h$;
}
}