Package com.ringcentral.definitions
Class RSPagingModel
java.lang.Object
com.ringcentral.definitions.RSPagingModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe current page number.The zero-based index of the last element on the current page.The zero-based number of the first element on the current page.Current page size, describes how many items are in each page.String[]RequiredThe total number of elements in a dataset.The total number of pages in a dataset. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsortableFields(String[] sortableFields) totalElements(Long totalElements) totalPages(Long totalPages)
-
Field Details
-
perPage
Current page size, describes how many items are in each page. Matches "perPage" parameter from the request. Required Maximum: 1000 Minimum: 1 Format: int32 Example: 50 -
page
The current page number. 1-indexed, so the first page is 1 by default. May be omitted if result is empty (because non-existent page was specified or perPage=0 was requested) Required Maximum: 1000 Minimum: 1 Format: int32 Example: 5 -
pageStart
The zero-based number of the first element on the current page. Omitted if the page is omitted or result is empty Required Format: int32 -
pageEnd
The zero-based index of the last element on the current page. Omitted if the page is omitted or result is empty Required Format: int32 Example: 5 -
totalPages
The total number of pages in a dataset. May be omitted for some resources due to performance reasons Format: int32 Example: 25 -
totalElements
The total number of elements in a dataset. May be omitted for some resource due to performance reasons Required Format: int32 Example: 25 -
sortableFields
Required
-
-
Constructor Details
-
RSPagingModel
public RSPagingModel()
-
-
Method Details
-
perPage
-
page
-
pageStart
-
pageEnd
-
totalPages
-
totalElements
-
sortableFields
-