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

com.spotify.styx.api.AutoValue_EventsPayload Maven / Gradle / Ivy

package com.spotify.styx.api;

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_EventsPayload extends EventsPayload {

  private final List events;

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

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

  @Override
  public String toString() {
    return "EventsPayload{"
        + "events=" + events
        + "}";
  }

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy