Class HypeTrainEvent

java.lang.Object
Direct Known Subclasses:
HypeTrainBeginEvent, HypeTrainEndEvent, HypeTrainProgressEvent

public abstract class HypeTrainEvent
extends EventSubChannelEvent
  • Constructor Details

    • HypeTrainEvent

      public HypeTrainEvent()
  • Method Details

    • getTotal

      public java.lang.Integer getTotal()
      Total points contributed to hype train.
    • getTopContributions

      public java.util.List<Contribution> getTopContributions()
      The contributors with the most points contributed.
    • getStartedAt

      public java.time.Instant getStartedAt()
      The timestamp at which the hype train started.
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class EventSubChannelEvent
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class EventSubChannelEvent
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
      Overrides:
      canEqual in class EventSubChannelEvent
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class EventSubChannelEvent