Class HypeTrainEvent

java.lang.Object
com.github.twitch4j.helix.domain.HypeTrainEvent

public class HypeTrainEvent extends Object
  • Constructor Details

    • HypeTrainEvent

      public HypeTrainEvent()
  • Method Details

    • getId

      @NonNull public @NonNull String getId()
      The distinct ID of the event
    • getEventType

      public String getEventType()
      Displays hypetrain.{event_name}

      Note: Currently only "hypetrain.progression"

    • getEventTimestamp

      public Instant getEventTimestamp()
      Timestamp of the event
    • getVersion

      public String getVersion()
      Returns the version of the endpoint
    • getEventData

      public HypeTrainEvent.EventData getEventData()
      See Also:
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object