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

org.graylog2.migrations.$AutoValue_V20161125161400_AlertReceiversMigration_MigrationCompleted Maven / Gradle / Ivy

There is a newer version: 6.0.2
Show newest version
package org.graylog2.migrations;

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

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

  private final Map> streamIds;

  $AutoValue_V20161125161400_AlertReceiversMigration_MigrationCompleted(
      Map> streamIds) {
    if (streamIds == null) {
      throw new NullPointerException("Null streamIds");
    }
    this.streamIds = streamIds;
  }

  @JsonProperty("stream_ids")
  @Override
  public Map> streamIds() {
    return streamIds;
  }

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy