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

org.graylog2.rest.models.count.responses.AutoValue_MessageCountResponse Maven / Gradle / Ivy

There is a newer version: 5.2.7
Show newest version

package org.graylog2.rest.models.count.responses;

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

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

  private final long events;

  AutoValue_MessageCountResponse(
      long events) {
    this.events = events;
  }

  @JsonProperty
  @Override
  public long events() {
    return events;
  }

  @Override
  public String toString() {
    return "MessageCountResponse{"
        + "events=" + events
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy