Class HypeTrainEvent

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

public class HypeTrainEvent
extends java.lang.Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  HypeTrainEvent.Contribution  
    static class  HypeTrainEvent.EventData  
  • Constructor Summary

    Constructors
    Constructor Description
    HypeTrainEvent()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    HypeTrainEvent.EventData getEventData()  
    java.time.Instant getEventTimestamp()
    Timestamp of the event
    java.lang.String getEventType()
    Displays hypetrain.
    @NonNull java.lang.String getId()
    The distinct ID of the event
    java.lang.String getVersion()
    Returns the version of the endpoint
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • HypeTrainEvent

      public HypeTrainEvent()
  • Method Details

    • getId

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

      public java.lang.String getEventType()
      Displays hypetrain.{event_name}

      Note: Currently only "hypetrain.progression"

    • getEventTimestamp

      public java.time.Instant getEventTimestamp()
      Timestamp of the event
    • getVersion

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

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

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

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object