java.lang.Object
dev.katsute.mal4j.forum.ForumTopic
- All Implemented Interfaces:
ID
Documentation: https://myanimelist.net/apiconfig/references/api/v2#operation/forum_topic_get
Represents a forum topic's details.
Represents a forum topic's details.
- Since:
- 1.0.0
- Version:
- 2.0.0
- Author:
- Katsute
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Long
Returns the board id.abstract Date
Returns when the topic was created at.abstract Long
Returns when the topic was created at as milliseconds since epoch.abstract ForumTopicCreator
Returns who created the topic.abstract Date
Returns when the last post was created at.abstract Long
Returns when the last post was created at as milliseconds since epoch.abstract ForumTopicCreator
Returns who the last post was created by.abstract Integer
Returns the total post count.abstract Long
Returns the subboard id.abstract String
getTitle()
Returns the title of the topic.abstract Boolean
isLocked()
Returns if the topic is locked.
-
Constructor Details
-
ForumTopic
public ForumTopic()
-
-
Method Details
-
getBoardID
Returns the board id.- Returns:
- board id
- Since:
- 2.0.0
- See Also:
-
getSubBoardID
Returns the subboard id.- Returns:
- subboard id
- Since:
- 2.0.0
- See Also:
-
getTitle
Returns the title of the topic.- Returns:
- title
- Since:
- 1.0.0
-
getCreatedAt
Returns when the topic was created at.- Returns:
- topic creation time
- Since:
- 1.0.0
- See Also:
-
getCreatedAtEpochMillis
Returns when the topic was created at as milliseconds since epoch.- Returns:
- topic creation time
- Since:
- 1.0.0
- See Also:
-
getCreatedBy
Returns who created the topic.- Returns:
- topic creator
- Since:
- 1.0.0
- See Also:
-
getPostsCount
Returns the total post count.- Returns:
- total posts
- Since:
- 1.0.0
-
getLastPostCreatedAt
Returns when the last post was created at.- Returns:
- last posted time
- Since:
- 1.0.0
- See Also:
-
getLastPostCreatedAtEpochMillis
Returns when the last post was created at as milliseconds since epoch.- Returns:
- last posted time
- Since:
- 1.0.0
- See Also:
-
getLastPostCreatedBy
Returns who the last post was created by.- Returns:
- last poster
- Since:
- 1.0.0
- See Also:
-
isLocked
Returns if the topic is locked.- Returns:
- locked
- Since:
- 1.0.0
-