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

org.graylog2.migrations.$AutoValue_V20180924111644_AddDefaultGrokPatterns_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 javax.annotation.Generated;

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

  private final String contentPackId;

  $AutoValue_V20180924111644_AddDefaultGrokPatterns_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 V20180924111644_AddDefaultGrokPatterns.MigrationCompleted) {
      V20180924111644_AddDefaultGrokPatterns.MigrationCompleted that = (V20180924111644_AddDefaultGrokPatterns.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