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

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

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

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

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

  private final boolean mutable;

  AutoValue_EntityScopeResponse(
      boolean mutable) {
    this.mutable = mutable;
  }

  @JsonProperty("is_mutable")
  @Override
  public boolean mutable() {
    return mutable;
  }

  @Override
  public String toString() {
    return "EntityScopeResponse{"
        + "mutable=" + mutable
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy