java.lang.Object
dev.katsute.mal4j.forum.Post
- All Implemented Interfaces:
ID
Represents a forum post.
- Since:
- 1.0.0
- Version:
- 1.0.0
- Author:
- Katsute
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract PostAuthor
Returns the post author.abstract String
getBody()
Returns the post body.abstract Date
Returns when the post was created at.abstract Long
Returns when the post was created at as milliseconds since epoch.abstract ForumTopicDetail
Returns the forum topic that the post is from.abstract Integer
Returns the post number.abstract String
Returns the post signature.
-
Constructor Details
-
Post
public Post()
-
-
Method Details
-
getNumber
Returns the post number.- Returns:
- post number
- Since:
- 1.0.0
-
getCreatedAt
Returns when the post was created at.- Returns:
- post creation time
- Since:
- 1.0.0
- See Also:
-
getCreatedAtEpochMillis
Returns when the post was created at as milliseconds since epoch.- Returns:
- post creation time
- Since:
- 1.0.0
- See Also:
-
getAuthor
Returns the post author.- Returns:
- post author
- Since:
- 1.0.0
- See Also:
-
getBody
Returns the post body.- Returns:
- post body
- Since:
- 1.0.0
-
getSignature
Returns the post signature.- Returns:
- post signature
- Since:
- 1.0.0
-
getForumTopicDetail
Returns the forum topic that the post is from.- Returns:
- forum topic
- Since:
- 1.0.0
- See Also:
-