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

org.graylog2.rest.models.system.inputs.extractors.responses.$AutoValue_ExtractorCreated Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
package org.graylog2.rest.models.system.inputs.extractors.responses;

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

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

  private final String extractorId;

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

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

  @Override
  public String toString() {
    return "ExtractorCreated{"
        + "extractorId=" + extractorId
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy