Package com.github.twitch4j.helix.domain
Class HypeTrain
java.lang.Object
com.github.twitch4j.helix.domain.HypeTrain
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe broadcaster ID.The broadcaster login.The broadcaster display name.The time when the Hype Train expires.intgetGoal()The number of points required to reach the next level.getId()The Hype Train ID.intgetLevel()The current level of the Hype Train.intThe number of points contributed to the Hype Train at the current level.The broadcasters participating in the shared Hype Train.The time when the Hype Train started.The contributors with the most points contributed.intgetTotal()Total points contributed to the Hype Train.getType()The type of the Hype Train.inthashCode()booleanIndicates if the Hype Train is shared.toString()
-
Constructor Details
-
HypeTrain
public HypeTrain()
-
-
Method Details
-
getId
The Hype Train ID. -
getBroadcasterUserId
The broadcaster ID. -
getBroadcasterUserLogin
The broadcaster login. -
getBroadcasterUserName
The broadcaster display name. -
getLevel
public int getLevel()The current level of the Hype Train. -
getTotal
public int getTotal()Total points contributed to the Hype Train. -
getProgress
public int getProgress()The number of points contributed to the Hype Train at the current level. -
getGoal
public int getGoal()The number of points required to reach the next level. -
getTopContributions
The contributors with the most points contributed. -
getStartedAt
The time when the Hype Train started. -
getExpiresAt
The time when the Hype Train expires. The expiration is extended when the Hype Train reaches a new level. -
getType
The type of the Hype Train. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-