TopPredictor

@Serializable
data class TopPredictor(val userId: String, val userLogin: String, val userName: String, val channelPointsUsed: Int, val channelPointsWon: Int = 0)

A top predictor within a PredictionOutcome.

Constructors

Link copied to clipboard
constructor(userId: String, userLogin: String, userName: String, channelPointsUsed: Int, channelPointsWon: Int = 0)

Properties

Link copied to clipboard
@SerialName(value = "channel_points_used")
val channelPointsUsed: Int

the number of channel points the user predicted.

Link copied to clipboard
@SerialName(value = "channel_points_won")
val channelPointsWon: Int

the number of channel points the user won (0 if prediction lost or unresolved).

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

the user's ID.

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.