Package com.longbridge.content
Class MyTopicsOptions
- java.lang.Object
-
- com.longbridge.content.MyTopicsOptions
-
public class MyTopicsOptions extends Object
Options for listing topics created by the current authenticated user
-
-
Constructor Summary
Constructors Constructor Description MyTopicsOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MyTopicsOptionssetPage(int page)Sets the page number (default 1).MyTopicsOptionssetSize(int size)Sets the number of records per page, range 1~500 (default 50).MyTopicsOptionssetTopicType(String topicType)Filters by topic type: "article" or "post".
-
-
-
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
-
-