java.lang.Object
dev.katsute.mal4j.forum.property.Poll
- All Implemented Interfaces:
ID
Documentation: https://myanimelist.net/apiconfig/references/api/v2#operation/forum_topic_get
Represents a forum poll.
Represents a forum poll.
- Since:
- 1.0.0
- Version:
- 1.0.0
- Author:
- Katsute
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract ForumTopicDetail
Returns the topic that the poll is from.abstract PollOption[]
Returns the poll's options.abstract String
Returns the poll's question.abstract Boolean
isClosed()
Returns if the poll is closed.
-
Constructor Details
-
Poll
public Poll()
-
-
Method Details
-
getQuestion
Returns the poll's question.- Returns:
- poll question
- Since:
- 1.0.0
-
isClosed
Returns if the poll is closed.- Returns:
- closed
- Since:
- 1.0.0
-
getOptions
Returns the poll's options.- Returns:
- options
- Since:
- 1.0.0
- See Also:
-
getForumTopicDetail
Returns the topic that the poll is from.- Returns:
- forum topic
- Since:
- 1.0.0
- See Also:
-