Class HypeTrainEndEvent
java.lang.Object
com.github.twitch4j.eventsub.events.EventSubEvent
com.github.twitch4j.eventsub.events.EventSubChannelEvent
com.github.twitch4j.eventsub.events.HypeTrainEvent
com.github.twitch4j.eventsub.events.HypeTrainEndEvent
public class HypeTrainEndEvent extends HypeTrainEvent
-
Constructor Summary
Constructors Constructor Description HypeTrainEndEvent() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.time.InstantgetCooldownEndsAt()The timestamp at which the hype train cooldown ends so that the next hype train can start.java.time.InstantgetEndedAt()The timestamp at which the hype train ended.java.lang.IntegergetLevel()Current level of hype train event.inthashCode()java.lang.StringtoString()Methods inherited from class com.github.twitch4j.eventsub.events.HypeTrainEvent
getStartedAt, getTopContributions, getTotalMethods inherited from class com.github.twitch4j.eventsub.events.EventSubChannelEvent
getBroadcasterUserId, getBroadcasterUserLogin, getBroadcasterUserNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
HypeTrainEndEvent
public HypeTrainEndEvent()
-
-
Method Details
-
getLevel
public java.lang.Integer getLevel()Current level of hype train event. -
getEndedAt
public java.time.Instant getEndedAt()The timestamp at which the hype train ended. -
getCooldownEndsAt
public java.time.Instant getCooldownEndsAt()The timestamp at which the hype train cooldown ends so that the next hype train can start. -
toString
public java.lang.String toString()- Overrides:
toStringin classHypeTrainEvent
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classHypeTrainEvent
-
canEqual
protected boolean canEqual(java.lang.Object other)- Overrides:
canEqualin classHypeTrainEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classHypeTrainEvent
-