Package com.github.twitch4j.helix.domain
Class HypeTrainEvent.EventData
java.lang.Object
com.github.twitch4j.helix.domain.HypeTrainEvent.EventData
- Enclosing class:
- HypeTrainEvent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
@NonNull String
Channel ID of which Hype Train events the clients are interested inTimestamp of when another Hype Train can be started againTimestamp of the expiration time of this Hype TraingetGoal()
The goal value of the level above@NonNull String
getId()
The distinct ID of this Hype TrainAn object that represents the most recent contributiongetLevel()
The highest level (in the scale of 1-5) reached of the Hype TrainTimestamp of when this Hype Train startedTop contribution objects, one object for each typegetTotal()
The total score so far towards completing the level goal aboveint
hashCode()
toString()
-
Constructor Details
-
EventData
public EventData()
-
-
Method Details
-
getBroadcasterId
Channel ID of which Hype Train events the clients are interested in -
getCooldownEndTime
Timestamp of when another Hype Train can be started again -
getExpiresAt
Timestamp of the expiration time of this Hype Train -
getGoal
The goal value of the level above -
getTotal
The total score so far towards completing the level goal above -
getId
The distinct ID of this Hype Train -
getLastContribution
An object that represents the most recent contribution -
getLevel
The highest level (in the scale of 1-5) reached of the Hype Train -
getStartedAt
Timestamp of when this Hype Train started -
getTopContributions
Top contribution objects, one object for each typeFor example, one object would represent top contributor of BITS, by aggregate, and one would represent top contributor of SUBS by count
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-