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

org.graylog.plugins.pipelineprocessor.rest.AutoValue_BulkRuleRequest Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
package org.graylog.plugins.pipelineprocessor.rest;

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

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

  private final List rules;

  AutoValue_BulkRuleRequest(
      List rules) {
    if (rules == null) {
      throw new NullPointerException("Null rules");
    }
    this.rules = rules;
  }

  @JsonProperty
  @Override
  public List rules() {
    return rules;
  }

  @Override
  public String toString() {
    return "BulkRuleRequest{"
        + "rules=" + rules
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy