public static final class GetListOfUsersPlaylistsRequest.Builder extends AbstractDataPagingRequest.Builder<PlaylistSimplified,GetListOfUsersPlaylistsRequest.Builder>
GetListOfUsersPlaylistsRequest.| Constructor and Description |
|---|
Builder(String accessToken)
Create a new
GetListOfUsersPlaylistsRequest.Builder. |
| Modifier and Type | Method and Description |
|---|---|
GetListOfUsersPlaylistsRequest |
build()
The request build method.
|
GetListOfUsersPlaylistsRequest.Builder |
limit(Integer limit)
The limit setter.
|
GetListOfUsersPlaylistsRequest.Builder |
offset(Integer offset)
The offset setter.
|
protected GetListOfUsersPlaylistsRequest.Builder |
self()
Return this instance to simulate a self-type.
|
GetListOfUsersPlaylistsRequest.Builder |
user_id(String user_id)
The user ID setter.
|
setBody, setBodyParameter, setContentType, setDefaults, setHeader, setHost, setHttpManager, setPath, setPathParameter, setPort, setQueryParameter, setSchemeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetBody, 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.protected GetListOfUsersPlaylistsRequest.Builder self()
AbstractRequest.Builderself in class AbstractRequest.Builder<Paging<PlaylistSimplified>,GetListOfUsersPlaylistsRequest.Builder>Copyright © 2020. All rights reserved.