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

public abstract class Page<T> extends Object
Class that represents a paginated list of objects.
  • Constructor Details

  • Method Details

    • getStart

      public Integer getStart()
      Getter for the position of the item this page starts from.
      Returns:
      the start value.
    • getLength

      public Integer getLength()
      Getter for the amount of items per page.
      Returns:
      the length value.
    • getTotal

      public Integer getTotal()
      Getter for the total amount of items.
      Returns:
      the total value.
    • getLimit

      public Integer getLimit()
      Getter for the items amount limit.
      Returns:
      the limit value.
    • getNext

      public String 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

      public List<T> getItems()
      Getter for the list of items.
      Returns:
      the list of items.