-
public final class CreatePollRequestContains all information needed to create a new poll
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classCreatePollRequest.VotingVisibilityVotingVisibility Enum
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final BooleanallowAnswersprivate final BooleanallowUserSuggestedOptionsprivate final Stringdescriptionprivate final BooleanenforceUniqueVoteprivate final Stringidprivate final BooleanisClosedprivate final IntegermaxVotesAllowedprivate final CreatePollRequest.VotingVisibilityvotingVisibilityprivate final List<PollOptionInput>optionsprivate final Map<String, Object>custom
-
Constructor Summary
Constructors Constructor Description CreatePollRequest(String name, Boolean allowAnswers, Boolean allowUserSuggestedOptions, String description, Boolean enforceUniqueVote, String id, Boolean isClosed, Integer maxVotesAllowed, CreatePollRequest.VotingVisibility votingVisibility, List<PollOptionInput> options, Map<String, Object> custom)
-
Method Summary
Modifier and Type Method Description final StringgetName()final BooleangetAllowAnswers()final BooleangetAllowUserSuggestedOptions()final StringgetDescription()final BooleangetEnforceUniqueVote()final StringgetId()final BooleangetIsClosed()final IntegergetMaxVotesAllowed()final CreatePollRequest.VotingVisibilitygetVotingVisibility()final List<PollOptionInput>getOptions()final Map<String, Object>getCustom()-
-
Constructor Detail
-
CreatePollRequest
CreatePollRequest(String name, Boolean allowAnswers, Boolean allowUserSuggestedOptions, String description, Boolean enforceUniqueVote, String id, Boolean isClosed, Integer maxVotesAllowed, CreatePollRequest.VotingVisibility votingVisibility, List<PollOptionInput> options, Map<String, Object> custom)
-
-
Method Detail
-
getAllowAnswers
final Boolean getAllowAnswers()
-
getAllowUserSuggestedOptions
final Boolean getAllowUserSuggestedOptions()
-
getDescription
final String getDescription()
-
getEnforceUniqueVote
final Boolean getEnforceUniqueVote()
-
getIsClosed
final Boolean getIsClosed()
-
getMaxVotesAllowed
final Integer getMaxVotesAllowed()
-
getVotingVisibility
final CreatePollRequest.VotingVisibility getVotingVisibility()
-
getOptions
final List<PollOptionInput> getOptions()
-
-
-
-