T
- the type of a single item in the page returned by the endpoint.@FunctionalInterface
@API(status=INTERNAL)
public interface CursorBasedPaginatedApi<T>
Modifier and Type | Method and Description |
---|---|
CursorPaginatedPayload<T> |
get(java.lang.String after,
int limit)
Retrieves next page of items
|
CursorPaginatedPayload<T> get(java.lang.String after, int limit) throws com.symphony.bdk.http.api.ApiException
after
- the value of next pagelimit
- the max number of items to fetch in the next pagecom.symphony.bdk.http.api.ApiException