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

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

There is a newer version: 5.2.7
Show newest version

package org.graylog2.lookup.events;

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

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

  private final Set ids;

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

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

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy