Class Poll
java.lang.Object
api.longpoll.bots.model.objects.basic.Poll
Object describes poll.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Poll option.static class
Describes poll's background.static class
Friend ID. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBoard()
getId()
getPhoto()
getVotes()
void
setAnonymous
(Boolean anonymous) void
setAnswerIds
(List<Long> answerIds) void
setAnswers
(List<Poll.Answer> answers) void
setAuthorId
(Integer authorId) void
setBackground
(Poll.Background background) void
void
setCanEdit
(Boolean canEdit) void
setCanReport
(Boolean canReport) void
setCanShare
(Boolean canShare) void
setCanVote
(Boolean canVote) void
void
setCreated
(Integer created) void
setEndDate
(Integer endDate) void
setFriends
(List<Poll.Friend> friends) void
void
setMultiple
(Boolean multiple) void
setOwnerId
(Integer ownerId) void
void
setQuestion
(String question) void
toString()
-
Constructor Details
-
Poll
public Poll()
-
-
Method Details
-
getId
-
setId
-
getOwnerId
-
setOwnerId
-
getCreated
-
setCreated
-
getQuestion
-
setQuestion
-
getVotes
-
setVotes
-
getAnswers
-
setAnswers
-
getAnonymous
-
setAnonymous
-
getMultiple
-
setMultiple
-
getAnswerIds
-
setAnswerIds
-
getEndDate
-
setEndDate
-
getClosed
-
setClosed
-
getBoard
-
setBoard
-
getCanEdit
-
setCanEdit
-
getCanVote
-
setCanVote
-
getCanReport
-
setCanReport
-
getAuthorId
-
setAuthorId
-
getPhoto
-
setPhoto
-
getBackground
-
setBackground
-
getFriends
-
setFriends
-
toString
-