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

org.graylog2.migrations.AutoValue_V20201103145400_LegacyAuthServiceMigration_MigrationCompleted Maven / Gradle / Ivy

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

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

@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_V20201103145400_LegacyAuthServiceMigration_MigrationCompleted extends V20201103145400_LegacyAuthServiceMigration.MigrationCompleted {

  private final Set migratedConfigs;

  AutoValue_V20201103145400_LegacyAuthServiceMigration_MigrationCompleted(
      Set migratedConfigs) {
    if (migratedConfigs == null) {
      throw new NullPointerException("Null migratedConfigs");
    }
    this.migratedConfigs = migratedConfigs;
  }

  @JsonProperty("migrated_configs")
  @Override
  public Set migratedConfigs() {
    return migratedConfigs;
  }

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy