IRequest.Builderpublic static final class GetListOfUsersPlaylistsRequest.Builder extends AbstractDataRequest.Builder<GetListOfUsersPlaylistsRequest.Builder>
GetListOfUsersPlaylistsRequest.| Constructor | Description |
|---|---|
Builder(String accessToken) |
Create a new
GetListOfUsersPlaylistsRequest.Builder. |
| Modifier and Type | Method | Description |
|---|---|---|
GetListOfUsersPlaylistsRequest |
build() |
The request build method.
|
GetListOfUsersPlaylistsRequest.Builder |
limit(Integer limit) |
The limit setter.
|
GetListOfUsersPlaylistsRequest.Builder |
offset(Integer offset) |
The offset setter.
|
GetListOfUsersPlaylistsRequest.Builder |
user_id(String user_id) |
The user ID setter.
|
setBody, setBodyParameter, setContentType, setDefaults, setHeader, setHost, setHttpManager, setPath, setPathParameter, setPort, setQueryParameter, setSchemepublic Builder(String accessToken)
GetListOfUsersPlaylistsRequest.Builder.
Private playlists are only retrievable for the current user and requires the playlist-read-private
scope to have been authorized by the user. Note: This scope alone will not return collaborative playlists,
even though they are always private.
Collaborative playlists are only retrievable for the current user and requires the
playlist-read-collaborative scope to have been authorized by the user.
accessToken - Required. A valid access token from the Spotify Accounts service.public GetListOfUsersPlaylistsRequest.Builder user_id(String user_id)
user_id - The user's Spotify user ID.GetListOfUsersPlaylistsRequest.Builder.public GetListOfUsersPlaylistsRequest.Builder limit(Integer limit)
limit - Optional. The maximum number of playlists to return. Default: 20. Minimum: 1. Maximum: 50.GetListOfUsersPlaylistsRequest.Builder.public GetListOfUsersPlaylistsRequest.Builder offset(Integer offset)
offset - Optional. The index of the first playlist to return. Default: 0 (the first object). Maximum offset:
100.000. Use with limit(Integer) to get the next set of playlists.GetListOfUsersPlaylistsRequest.Builder.public GetListOfUsersPlaylistsRequest build()
GetListOfUsersPlaylistsRequest.Copyright © 2019. All rights reserved.