PollSummaryContent

@JsonClass(generateAdapter = true)
data class PollSummaryContent(    val myVote: String? = null,     val votes: List<VoteInfo>? = null,     val votesSummary: Map<String, VoteSummary>? = null,     val totalVotes: Int = 0,     val winnerVoteCount: Int = 0)

Contains an aggregated summary info of the poll response. Put pre-computed info that you want to access quickly without having to go through all references events

Constructors

Link copied to clipboard
fun PollSummaryContent(    myVote: String? = null,     votes: List<VoteInfo>? = null,     votesSummary: Map<String, VoteSummary>? = null,     totalVotes: Int = 0,     winnerVoteCount: Int = 0)

Properties

Link copied to clipboard
val myVote: String? = null
Link copied to clipboard
val totalVotes: Int = 0
Link copied to clipboard
val votes: List<VoteInfo>? = null
Link copied to clipboard
val votesSummary: Map<String, VoteSummary>? = null
Link copied to clipboard
val winnerVoteCount: Int = 0