Package com.aliucord.coreplugins.polls
Class PollsStore.VotesSnapshot
-
- All Implemented Interfaces:
public final class PollsStore.VotesSnapshot
A snapshot of vote details for an answer.
-
-
Method Summary
Modifier and Type Method Description final Boolean
getMeVoted()
Whether or not the current user has voted on this answer. final Boolean
isIncomplete()
Whether or not voters is incomplete. final Integer
getCount()
Total vote count. final SortedSet<Long>
getVoters()
A (lazy) set of voter user IDs. final Boolean
getHasFailed()
If the previous fetch request has failed. final Boolean
isLoading()
Whether or not there is an ongoing fetch request. -
-
Method Detail
-
getMeVoted
final Boolean getMeVoted()
Whether or not the current user has voted on this answer.
-
isIncomplete
final Boolean isIncomplete()
Whether or not voters is incomplete.
-
getVoters
final SortedSet<Long> getVoters()
A (lazy) set of voter user IDs. Count may be different from count, call fetchDetails to fetch more.
-
getHasFailed
final Boolean getHasFailed()
If the previous fetch request has failed.
-
-
-
-