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

org.graylog2.outputs.events.AutoValue_OutputDeletedEvent Maven / Gradle / Ivy

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

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

@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_OutputDeletedEvent extends OutputDeletedEvent {

  private final String outputId;

  AutoValue_OutputDeletedEvent(
      String outputId) {
    if (outputId == null) {
      throw new NullPointerException("Null outputId");
    }
    this.outputId = outputId;
  }

  @JsonProperty("output_id")
  @Override
  public String outputId() {
    return outputId;
  }

  @Override
  public String toString() {
    return "OutputDeletedEvent{"
        + "outputId=" + outputId
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy