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

org.graylog2.indexer.indexset.AutoValue_DefaultIndexSetConfig Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
package org.graylog2.indexer.indexset;

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

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

  private final String defaultIndexSetId;

  AutoValue_DefaultIndexSetConfig(
      String defaultIndexSetId) {
    if (defaultIndexSetId == null) {
      throw new NullPointerException("Null defaultIndexSetId");
    }
    this.defaultIndexSetId = defaultIndexSetId;
  }

  @JsonProperty("default_index_set_id")
  @Override
  public String defaultIndexSetId() {
    return defaultIndexSetId;
  }

  @Override
  public String toString() {
    return "DefaultIndexSetConfig{"
        + "defaultIndexSetId=" + defaultIndexSetId
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy