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

org.graylog2.restclient.models.AutoValue_UsageStatsOptOutState Maven / Gradle / Ivy

The newest version!

package org.graylog2.restclient.models;

import javax.annotation.Generated;

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

  private final boolean optOut;

  AutoValue_UsageStatsOptOutState(
      boolean optOut) {
    this.optOut = optOut;
  }

  @com.fasterxml.jackson.annotation.JsonProperty(value = "opt_out")
  @Override
  public boolean isOptOut() {
    return optOut;
  }

  @Override
  public String toString() {
    return "UsageStatsOptOutState{"
        + "optOut=" + optOut
        + "}";
  }

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

  @Override
  public int hashCode() {
    int h = 1;
    h *= 1000003;
    h ^= optOut ? 1231 : 1237;
    return h;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy