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

org.graylog.security.events.AutoValue_AuthServiceBackendDeletedEvent Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
package org.graylog.security.events;

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

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

  private final String authServiceId;

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

  @JsonProperty("auth_service_id")
  @Override
  public String authServiceId() {
    return authServiceId;
  }

  @Override
  public String toString() {
    return "AuthServiceBackendDeletedEvent{"
        + "authServiceId=" + authServiceId
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy