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

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

There is a newer version: 5.2.7
Show newest version


package org.graylog2.rest.models.system.inputs.responses;

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

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

  private final String id;

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

  @JsonProperty
  @Override
  public String id() {
    return id;
  }

  @Override
  public String toString() {
    return "InputDeleted{"
         + "id=" + id
        + "}";
  }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy