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

org.graylog2.lookup.events.AutoValue_AdapterSharedStoresUpdated Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
package org.graylog2.lookup.events;

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

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

  private final Set ids;

  AutoValue_AdapterSharedStoresUpdated(
      Set ids) {
    if (ids == null) {
      throw new NullPointerException("Null ids");
    }
    this.ids = ids;
  }

  @JsonProperty("ids")
  @Override
  public Set ids() {
    return ids;
  }

  @Override
  public String toString() {
    return "AdapterSharedStoresUpdated{"
        + "ids=" + ids
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy