Class HalPageResponse

java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.common.HalPageResponse
All Implemented Interfaces:
Jsonable
Direct Known Subclasses:
ApplicationList, ListConversationsResponse, ListEventsResponse, ListItemsResponse, ListListsResponse, ListMembersResponse, ListSecretsResponse, ListTemplateFragmentsResponse, ListTemplatesResponse, ListUserConversationsResponse, ListUsersResponse

public abstract class HalPageResponse extends JsonableBaseObject
Abstract base class for responses that conform to the HAL specification.
  • Field Details

  • Constructor Details

  • Method Details

    • getPage

      public Integer getPage()
      Current page.
      Returns:
      The current page number, or null if not applicable.
    • getPageSize

      public Integer getPageSize()
      Size of each page.
      Returns:
      Number of results per page, or null if not applicable.
    • getTotalItems

      Size of this page.
      Returns:
      Number of results on this page, or null if not applicable.
    • getTotalPages

      Number of results pages.
      Returns:
      Total number of available pages, or null if not applicable.
    • getLinks

      public HalLinks getLinks()
      The _links property in the HAL response.
      Returns:
      Navigation links wrapped in an object, or null if not applicable.