public static final class GetPlaylistsItemsRequest.Builder extends AbstractDataPagingRequest.Builder<PlaylistTrack,GetPlaylistsItemsRequest.Builder>
GetPlaylistsItemsRequest.| Constructor and Description |
|---|
Builder(String accessToken)
Create a new
GetPlaylistsItemsRequest.Builder. |
| Modifier and Type | Method and Description |
|---|---|
GetPlaylistsItemsRequest.Builder |
additionalTypes(String additionalTypes)
The additional types setter.
|
GetPlaylistsItemsRequest |
build()
The request build method.
|
GetPlaylistsItemsRequest.Builder |
fields(String fields)
The fields filter setter.
|
GetPlaylistsItemsRequest.Builder |
limit(Integer limit)
The limit setter.
|
GetPlaylistsItemsRequest.Builder |
market(com.neovisionaries.i18n.CountryCode market)
The market country code setter.
|
GetPlaylistsItemsRequest.Builder |
offset(Integer offset)
The offset setter.
|
GetPlaylistsItemsRequest.Builder |
playlist_id(String playlist_id)
The playlist ID setter.
|
protected GetPlaylistsItemsRequest.Builder |
self()
Return this instance to simulate a self-type.
|
GetPlaylistsItemsRequest.Builder |
user_id(String user_id)
Deprecated.
Playlist IDs are unique for themselves. This parameter is thus no longer used
(https://developer.spotify.com/community/news/2018/06/12/changes-to-playlist-uris/)
|
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)
GetPlaylistsItemsRequest.Builder.
Both Public and Private playlists belonging to any user are retrievable on provision of a valid access token.
accessToken - Required. A valid access token from the Spotify Accounts service.@Deprecated public GetPlaylistsItemsRequest.Builder user_id(String user_id)
user_id - The user's Spotify user ID.GetPlaylistsItemsRequest.Builder.public GetPlaylistsItemsRequest.Builder playlist_id(String playlist_id)
playlist_id - The Spotify ID for the playlist.GetPlaylistsItemsRequest.Builder.public GetPlaylistsItemsRequest.Builder fields(String fields)
fields - Optional. Filters for the query: a comma-separated list of the fields to return.
If omitted, all fields are returned.GetPlaylistsItemsRequest.Builder.public GetPlaylistsItemsRequest.Builder limit(Integer limit)
limit - Optional. The maximum number of items to return. Default: 100. Minimum: 1. Maximum: 100.GetPlaylistsItemsRequest.Builder.public GetPlaylistsItemsRequest.Builder offset(Integer offset)
offset - Optional. The index of the first item to return. Default: 0 (the first object).GetPlaylistsItemsRequest.Builder.public GetPlaylistsItemsRequest.Builder market(com.neovisionaries.i18n.CountryCode market)
market - Optional. An ISO 3166-1 alpha-2 country code. Provide this
parameter if you want to apply Track Relinking.GetPlaylistsItemsRequest.Builder.public GetPlaylistsItemsRequest.Builder additionalTypes(String additionalTypes)
additionalTypes - Optional. A comma-separated list of item types that your client supports
besides the default track type. Valid types are: track and episode.
An unsupported type in the response is expected to be represented as null value in the item field.GetPlaylistsItemsRequest.Builder.public GetPlaylistsItemsRequest build()
GetPlaylistsItemsRequest.protected GetPlaylistsItemsRequest.Builder self()
AbstractRequest.Builderself in class AbstractRequest.Builder<Paging<PlaylistTrack>,GetPlaylistsItemsRequest.Builder>Copyright © 2020. All rights reserved.