Class MyTopicsOptions


  • public class MyTopicsOptions
    extends Object
    Options for listing topics created by the current authenticated user
    • Constructor Detail

      • MyTopicsOptions

        public MyTopicsOptions()
    • Method Detail

      • setPage

        public MyTopicsOptions setPage​(int page)
        Sets the page number (default 1).
        Parameters:
        page - page number
        Returns:
        this instance for chaining
      • setSize

        public MyTopicsOptions setSize​(int size)
        Sets the number of records per page, range 1~500 (default 50).
        Parameters:
        size - records per page
        Returns:
        this instance for chaining
      • setTopicType

        public MyTopicsOptions setTopicType​(String topicType)
        Filters by topic type: "article" or "post". Leave null to return all.
        Parameters:
        topicType - topic type filter
        Returns:
        this instance for chaining