Package com.auth0.json.mgmt
Class Page<T>
java.lang.Object
com.auth0.json.mgmt.Page<T>
- Type Parameters:
T
- the type of the object this page contains.
- Direct Known Subclasses:
ActionsPage
,AuthenticationMethodsPage
,BindingsPage
,ClientGrantsPage
,ClientsPage
,ConnectionsPage
,EnabledConnectionsPage
,GrantsPage
,InvitationsPage
,LogEventsPage
,MembersPage
,OrganizationsPage
,PermissionsPage
,ResourceServersPage
,RolesPage
,RulesPage
,UsersPage
,VersionsPage
Class that represents a paginated list of objects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetItems()
Getter for the list of items.Getter for the amount of items per page.getLimit()
Getter for the items amount limit.getNext()
Getter for the next value, if using checkpoint pagination, which can be used to fetch the next page of results.getStart()
Getter for the position of the item this page starts from.getTotal()
Getter for the total amount of items.
-
Constructor Details
-
Page
-
Page
-
Page
-
-
Method Details
-
getStart
Getter for the position of the item this page starts from.- Returns:
- the start value.
-
getLength
Getter for the amount of items per page.- Returns:
- the length value.
-
getTotal
Getter for the total amount of items.- Returns:
- the total value.
-
getLimit
Getter for the items amount limit.- Returns:
- the limit value.
-
getNext
Getter for the next value, if using checkpoint pagination, which can be used to fetch the next page of results.- Returns:
- the next value.
-
getItems
Getter for the list of items.- Returns:
- the list of items.
-