HMSPollLeaderboardResponse

data class HMSPollLeaderboardResponse(val pollId: String, val last: Boolean?, val leaderboard: List<LeaderboardQuestion>?, val totalUsers: Long?, val votedUsers: Long?, val correctUsers: Long?, val avgTime: Long?, val avgScore: Float?)

Constructors

Link copied to clipboard
fun HMSPollLeaderboardResponse(pollId: String, last: Boolean?, leaderboard: List<LeaderboardQuestion>?, totalUsers: Long?, votedUsers: Long?, correctUsers: Long?, avgTime: Long?, avgScore: Float?)

Functions

Properties

Link copied to clipboard
@SerializedName(value = "avg_score")
val avgScore: Float?
Link copied to clipboard
@SerializedName(value = "avg_time")
val avgTime: Long?
Link copied to clipboard
@SerializedName(value = "correct_users")
val correctUsers: Long?
Link copied to clipboard
@SerializedName(value = "last")
val last: Boolean?
Link copied to clipboard
@SerializedName(value = "questions")
val leaderboard: List<LeaderboardQuestion>?
Link copied to clipboard
@SerializedName(value = "poll_id")
val pollId: String
Link copied to clipboard
@SerializedName(value = "total_users")
val totalUsers: Long?
Link copied to clipboard
@SerializedName(value = "voted_users")
val votedUsers: Long?