java.lang.Object
dev.katsute.mal4j.query.LimitOffsetQuery<ForumSearchQuery,ForumTopic>
dev.katsute.mal4j.query.ForumSearchQuery
Documentation: https://myanimelist.net/apiconfig/references/api/v2#operation/forum_topics_get
Represents a forum topic search query.
Represents a forum topic search query.
- Since:
- 1.0.0
- Version:
- 1.0.0
- Author:
- Katsute
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal ForumSearchQuery
withBoardId
(long boardId) Sets the board id.final ForumSearchQuery
Sets the search query.final ForumSearchQuery
withSubboardId
(long subboardId) Sets the subboard id.final ForumSearchQuery
withTopicUsername
(String topicUsername) Sets the topic username.final ForumSearchQuery
withUsername
(String username) Sets the username.Methods inherited from class dev.katsute.mal4j.query.LimitOffsetQuery
search, searchAll, withLimit, withOffset
-
Constructor Details
-
ForumSearchQuery
public ForumSearchQuery()Creates a forum search query.
Do not use this constructor, useMyAnimeList.getForumTopics()
instead.- Since:
- 1.0.0
- See Also:
-
-
Method Details
-
withQuery
Sets the search query.- Parameters:
query
- query- Returns:
- search query
- Since:
- 1.0.0
-
withBoardId
Sets the board id.- Parameters:
boardId
- board id- Returns:
- search query
- Since:
- 1.0.0
-
withSubboardId
Sets the subboard id.- Parameters:
subboardId
- subboard id- Returns:
- search query
- Since:
- 1.0.0
-
withTopicUsername
Sets the topic username.- Parameters:
topicUsername
- topic username- Returns:
- search query
- Since:
- 1.0.0
-
withUsername
Sets the username.- Parameters:
username
- username- Returns:
- search query
- Since:
- 1.0.0
-