HypeTrainContribution

@Serializable
data class HypeTrainContribution(val userId: String, val userLogin: String, val userName: String, val type: String, val total: Int)

Represents a contribution to a Hype Train.

Constructors

Link copied to clipboard
constructor(userId: String, userLogin: String, userName: String, type: String, total: Int)

Properties

Link copied to clipboard
val total: Int

the total number of points contributed for the type.

Link copied to clipboard

the contribution method used. Possible values are: bits, subscription, other.

Link copied to clipboard
@SerialName(value = "user_id")
val userId: String

the ID of the user that made the contribution.

Link copied to clipboard
@SerialName(value = "user_login")
val userLogin: String

the user's login name.

Link copied to clipboard
@SerialName(value = "user_name")
val userName: String

the user's display name.