Interface IPagingRequestBuilder<T,BT extends IRequest.Builder<Paging<T>,?>>
- Type Parameters:
T- the type of objects contained in the paging resultBT- the specific builder type extending this interface
- All Superinterfaces:
IRequest.Builder<Paging<T>,BT>
- All Known Implementing Classes:
AbstractDataPagingRequest.Builder,GetAlbumsTracksRequest.Builder,GetArtistsAlbumsRequest.Builder,GetCategorysPlaylistsRequest.Builder,GetCurrentUsersSavedAlbumsRequest.Builder,GetListOfCategoriesRequest.Builder,GetListOfCurrentUsersPlaylistsRequest.Builder,GetListOfNewReleasesRequest.Builder,GetListOfUsersPlaylistsRequest.Builder,GetPlaylistsItemsRequest.Builder,GetShowsEpisodesRequest.Builder,GetUsersSavedEpisodesRequest.Builder,GetUsersSavedShowsRequest.Builder,GetUsersSavedTracksRequest.Builder,GetUsersTopArtistsAndTracksRequest.Builder,GetUsersTopArtistsRequest.Builder,GetUsersTopTracksRequest.Builder,SearchAlbumsRequest.Builder,SearchAlbumsSpecialRequest.Builder,SearchArtistsRequest.Builder,SearchEpisodesRequest.Builder,SearchPlaylistsRequest.Builder,SearchShowsRequest.Builder,SearchTracksRequest.Builder
public interface IPagingRequestBuilder<T,BT extends IRequest.Builder<Paging<T>,?>>
extends IRequest.Builder<Paging<T>,BT>
Interface for request builders that support 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 (1-50)- Returns:
- this builder instance for method chaining
-
offset
Sets the index of the first item to return.- Parameters:
offset- the offset index (0-based)- Returns:
- this builder instance for method chaining
-