Interface CursorPaginatedPayload<T>

Type Parameters:
T - the type of a data item in a page

@API(status=INTERNAL) public interface CursorPaginatedPayload<T>
Interface describing a given page of data returned by a cursor-based paginated endpoint.
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
  • Method Details

    • getNext

      String getNext()
      Returns:
      the reference to the next page of results
    • getData

      List<T> getData()
      Returns:
      the list of items in the page