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

org.graylog2.grok.AutoValue_GrokPatternsDeletedEvent Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Set;
import javax.annotation.processing.Generated;

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

  private final Set patterns;

  AutoValue_GrokPatternsDeletedEvent(
      Set patterns) {
    if (patterns == null) {
      throw new NullPointerException("Null patterns");
    }
    this.patterns = patterns;
  }

  @JsonProperty("patterns")
  @Override
  public Set patterns() {
    return patterns;
  }

  @Override
  public String toString() {
    return "GrokPatternsDeletedEvent{"
        + "patterns=" + patterns
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy