Class PaginationQuery
java.lang.Object
io.github.matyrobbrt.curseforgeapi.request.query.PaginationQuery
- All Implemented Interfaces:
Query
-
Method Summary
Modifier and TypeMethodDescriptionindex
(int index) static PaginationQuery
of
(int index) Makes aPaginationQuery
static PaginationQuery
of
(int index, int pageSize) Makes aPaginationQuery
pageSize
(int pageSize) toArgs()
-
Method Details
-
of
Makes aPaginationQuery
- Parameters:
index
- a zero based index of the first item to include in the response- Returns:
- the query
-
of
Makes aPaginationQuery
- Parameters:
index
- a zero based index of the first item to include in the responsepageSize
- the number of items to include in the response- Returns:
- the query
-
index
- Parameters:
index
- a zero based index of the first item to include in the response- Returns:
- the query instance
-
pageSize
- Parameters:
pageSize
- the number of items to include in the response- Returns:
- the query instance
-
toArgs
-