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

org.graylog2.dashboards.widgets.events.$AutoValue_WidgetUpdatedEvent Maven / Gradle / Ivy

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

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

@Generated("com.google.auto.value.processor.AutoValueProcessor")
abstract class $AutoValue_WidgetUpdatedEvent extends WidgetUpdatedEvent {

  private final String widgetId;

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

  @JsonProperty("widget_id")
  @Override
  public String widgetId() {
    return widgetId;
  }

  @Override
  public String toString() {
    return "WidgetUpdatedEvent{"
         + "widgetId=" + widgetId
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy