Interface IPagingCursorbasedRequestBuilder<T,A,BT extends IRequest.Builder<PagingCursorbased<T>,?>>

Type Parameters:
T - the type of objects contained in the paging result
A - the type of the cursor/after parameter
BT - the specific builder type extending this interface
All Superinterfaces:
IRequest.Builder<PagingCursorbased<T>,BT>
All Known Implementing Classes:
AbstractDataPagingCursorbasedRequest.Builder, GetCurrentUsersRecentlyPlayedTracksRequest.Builder, GetUsersFollowedArtistsRequest.Builder

public interface IPagingCursorbasedRequestBuilder<T,A,BT extends IRequest.Builder<PagingCursorbased<T>,?>> extends IRequest.Builder<PagingCursorbased<T>,BT>
Interface for request builders that support cursor-based paging functionality.
  • Method Details

    • limit

      BT limit(Integer limit)
      Sets the maximum number of items to return in the response.
      Parameters:
      limit - the maximum number of items to return
      Returns:
      this builder instance for method chaining
    • after

      BT after(A after)
      Sets the cursor position to start returning results from.
      Parameters:
      after - the cursor value to start returning results after
      Returns:
      this builder instance for method chaining