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

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

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

import com.fasterxml.jackson.annotation.JsonProperty;
import javax.annotation.processing.Generated;

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

  private final String contentPackId;

  $AutoValue_V20191219090834_AddSourcesPage_MigrationCompleted(
      String contentPackId) {
    if (contentPackId == null) {
      throw new NullPointerException("Null contentPackId");
    }
    this.contentPackId = contentPackId;
  }

  @JsonProperty("content_pack_id")
  @Override
  public String contentPackId() {
    return contentPackId;
  }

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy