-
public final class PollDataData class representing a poll.
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanallowAnswersprivate final BooleanallowUserSuggestedOptionsprivate final IntegeranswersCountprivate final DatecreatedAtprivate final UserDatacreatedByprivate final StringcreatedByIdprivate final Map<String, Object>customprivate final Stringdescriptionprivate final BooleanenforceUniqueVoteprivate final Stringidprivate final BooleanisClosedprivate final List<PollVoteData>latestAnswersprivate final Map<String, List<PollVoteData>>latestVotesByOptionprivate final IntegermaxVotesAllowedprivate final Stringnameprivate final List<PollOptionData>optionsprivate final List<PollVoteData>ownVotesprivate final DateupdatedAtprivate final IntegervoteCountprivate final Map<String, Integer>voteCountsByOptionprivate final StringvotingVisibility
-
Constructor Summary
Constructors Constructor Description PollData(Boolean allowAnswers, Boolean allowUserSuggestedOptions, Integer answersCount, Date createdAt, UserData createdBy, String createdById, Map<String, Object> custom, String description, Boolean enforceUniqueVote, String id, Boolean isClosed, List<PollVoteData> latestAnswers, Map<String, List<PollVoteData>> latestVotesByOption, Integer maxVotesAllowed, String name, List<PollOptionData> options, List<PollVoteData> ownVotes, Date updatedAt, Integer voteCount, Map<String, Integer> voteCountsByOption, String votingVisibility)
-
Method Summary
Modifier and Type Method Description final BooleangetAllowAnswers()final BooleangetAllowUserSuggestedOptions()final IntegergetAnswersCount()final DategetCreatedAt()final UserDatagetCreatedBy()final StringgetCreatedById()final Map<String, Object>getCustom()final StringgetDescription()final BooleangetEnforceUniqueVote()final StringgetId()final BooleangetIsClosed()final List<PollVoteData>getLatestAnswers()final Map<String, List<PollVoteData>>getLatestVotesByOption()final IntegergetMaxVotesAllowed()final StringgetName()final List<PollOptionData>getOptions()final List<PollVoteData>getOwnVotes()final DategetUpdatedAt()final IntegergetVoteCount()final Map<String, Integer>getVoteCountsByOption()final StringgetVotingVisibility()-
-
Constructor Detail
-
PollData
PollData(Boolean allowAnswers, Boolean allowUserSuggestedOptions, Integer answersCount, Date createdAt, UserData createdBy, String createdById, Map<String, Object> custom, String description, Boolean enforceUniqueVote, String id, Boolean isClosed, List<PollVoteData> latestAnswers, Map<String, List<PollVoteData>> latestVotesByOption, Integer maxVotesAllowed, String name, List<PollOptionData> options, List<PollVoteData> ownVotes, Date updatedAt, Integer voteCount, Map<String, Integer> voteCountsByOption, String votingVisibility)
-
-
Method Detail
-
getAllowAnswers
final Boolean getAllowAnswers()
-
getAllowUserSuggestedOptions
final Boolean getAllowUserSuggestedOptions()
-
getAnswersCount
final Integer getAnswersCount()
-
getCreatedAt
final Date getCreatedAt()
-
getCreatedBy
final UserData getCreatedBy()
-
getCreatedById
final String getCreatedById()
-
getDescription
final String getDescription()
-
getEnforceUniqueVote
final Boolean getEnforceUniqueVote()
-
getIsClosed
final Boolean getIsClosed()
-
getLatestAnswers
final List<PollVoteData> getLatestAnswers()
-
getLatestVotesByOption
final Map<String, List<PollVoteData>> getLatestVotesByOption()
-
getMaxVotesAllowed
final Integer getMaxVotesAllowed()
-
getOptions
final List<PollOptionData> getOptions()
-
getOwnVotes
final List<PollVoteData> getOwnVotes()
-
getUpdatedAt
final Date getUpdatedAt()
-
getVoteCount
final Integer getVoteCount()
-
getVoteCountsByOption
final Map<String, Integer> getVoteCountsByOption()
-
getVotingVisibility
final String getVotingVisibility()
-
-
-
-