Interface IPagingCursorbasedRequestBuilder<T,A,BT extends IRequest.Builder<PagingCursorbased<T>,?>>
- Type Parameters:
T
- the type of objects contained in the paging resultA
- the type of the cursor/after parameterBT
- 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 Summary
Methods inherited from interface se.michaelthelin.spotify.requests.IRequest.Builder
build, setBody, setBodyParameter, setContentType, setDefaults, setHeader, setHost, setHttpManager, setPath, setPathParameter, setPort, setQueryParameter, setScheme
-
Method Details
-
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
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
-