All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.graylog.plugins.views.migrations.$AutoValue_V20200730000000_AddGl2MessageIdFieldAliasForEvents_MigrationCompleted Maven / Gradle / Ivy

package org.graylog.plugins.views.migrations;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Set;
import javax.annotation.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
abstract class $AutoValue_V20200730000000_AddGl2MessageIdFieldAliasForEvents_MigrationCompleted extends V20200730000000_AddGl2MessageIdFieldAliasForEvents.MigrationCompleted {

  private final Set modifiedIndexPrefixes;

  $AutoValue_V20200730000000_AddGl2MessageIdFieldAliasForEvents_MigrationCompleted(
      Set modifiedIndexPrefixes) {
    if (modifiedIndexPrefixes == null) {
      throw new NullPointerException("Null modifiedIndexPrefixes");
    }
    this.modifiedIndexPrefixes = modifiedIndexPrefixes;
  }

  @JsonProperty("modified_index_prefixes")
  @Override
  public Set modifiedIndexPrefixes() {
    return modifiedIndexPrefixes;
  }

  @Override
  public String toString() {
    return "MigrationCompleted{"
        + "modifiedIndexPrefixes=" + modifiedIndexPrefixes
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof V20200730000000_AddGl2MessageIdFieldAliasForEvents.MigrationCompleted) {
      V20200730000000_AddGl2MessageIdFieldAliasForEvents.MigrationCompleted that = (V20200730000000_AddGl2MessageIdFieldAliasForEvents.MigrationCompleted) o;
      return this.modifiedIndexPrefixes.equals(that.modifiedIndexPrefixes());
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h$ = 1;
    h$ *= 1000003;
    h$ ^= modifiedIndexPrefixes.hashCode();
    return h$;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy