Module Mal4J

Class ForumSearchQuery


public abstract class ForumSearchQuery extends LimitOffsetQuery<ForumSearchQuery,ForumTopic>
Documentation: https://myanimelist.net/apiconfig/references/api/v2#operation/forum_topics_get
Represents a forum topic search query.
Since:
1.0.0
Version:
1.0.0
Author:
Katsute
See Also:
  • Constructor Details

  • Method Details

    • withQuery

      public final ForumSearchQuery withQuery(String query)
      Sets the search query.
      Parameters:
      query - query
      Returns:
      search query
      Since:
      1.0.0
    • withBoardId

      public final ForumSearchQuery withBoardId(long boardId)
      Sets the board id.
      Parameters:
      boardId - board id
      Returns:
      search query
      Since:
      1.0.0
    • withSubboardId

      public final ForumSearchQuery withSubboardId(long subboardId)
      Sets the subboard id.
      Parameters:
      subboardId - subboard id
      Returns:
      search query
      Since:
      1.0.0
    • withTopicUsername

      public final ForumSearchQuery withTopicUsername(String topicUsername)
      Sets the topic username.
      Parameters:
      topicUsername - topic username
      Returns:
      search query
      Since:
      1.0.0
    • withUsername

      public final ForumSearchQuery withUsername(String username)
      Sets the username.
      Parameters:
      username - username
      Returns:
      search query
      Since:
      1.0.0