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

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

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

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

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

  private final Set states;

  $AutoValue_InputStatesList(
      Set states) {
    if (states == null) {
      throw new NullPointerException("Null states");
    }
    this.states = states;
  }

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

  @Override
  public String toString() {
    return "InputStatesList{"
         + "states=" + states
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy