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

org.graylog2.indexer.retention.strategies.$AutoValue_UnknownRetentionStrategyConfig Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
package org.graylog2.indexer.retention.strategies;

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

@Generated("com.google.auto.value.processor.AutoValueProcessor")
abstract class $AutoValue_UnknownRetentionStrategyConfig extends UnknownRetentionStrategyConfig {

  private final String type;

  $AutoValue_UnknownRetentionStrategyConfig(
      String type) {
    if (type == null) {
      throw new NullPointerException("Null type");
    }
    this.type = type;
  }

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

  @Override
  public String toString() {
    return "UnknownRetentionStrategyConfig{"
        + "type=" + type
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy