BitsLeaderEntry

@Serializable
data class BitsLeaderEntry(val userId: String, val userLogin: String, val userName: String, val rank: Int, val score: Int)

Represents an entry on the Bits leaderboard.

See also

Constructors

Link copied to clipboard
constructor(userId: String, userLogin: String, userName: String, rank: Int, score: Int)

Properties

Link copied to clipboard
val rank: Int

the user's position on the leaderboard.

Link copied to clipboard
val score: Int

the number of Bits the user has cheered.

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

an ID that identifies a user on the leaderboard.

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.