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

org.graylog2.database.entities.AutoValue_EntityScopes Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
import javax.annotation.processing.Generated;

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

  private final Map entityScopes;

  AutoValue_EntityScopes(
      Map entityScopes) {
    if (entityScopes == null) {
      throw new NullPointerException("Null entityScopes");
    }
    this.entityScopes = entityScopes;
  }

  @JsonProperty("entity_scopes")
  @Override
  public Map entityScopes() {
    return entityScopes;
  }

  @Override
  public String toString() {
    return "EntityScopes{"
        + "entityScopes=" + entityScopes
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy