Package com.github.twitch4j.helix.domain
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 classHypeTrainEvent.Contributionstatic classHypeTrainEvent.EventData -
Constructor Summary
Constructors Constructor Description HypeTrainEvent() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)HypeTrainEvent.EventDatagetEventData()java.time.InstantgetEventTimestamp()Timestamp of the eventjava.lang.StringgetEventType()Displays hypetrain.@NonNull java.lang.StringgetId()The distinct ID of the eventjava.lang.StringgetVersion()Returns the version of the endpointinthashCode()java.lang.StringtoString()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
- See Also:
HypeTrainEvent.EventData
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-