IRequest.Builderpublic static final class GetArtistsAlbumsRequest.Builder extends AbstractDataRequest.Builder<GetArtistsAlbumsRequest.Builder>
GetArtistsAlbumsRequest.| Constructor | Description |
|---|---|
Builder(String accessToken) |
Create a new
GetArtistsAlbumsRequest.Builder instance. |
| Modifier and Type | Method | Description |
|---|---|---|
GetArtistsAlbumsRequest.Builder |
album_type(String album_type) |
The album type filter setter.
|
GetArtistsAlbumsRequest |
build() |
The request build method.
|
GetArtistsAlbumsRequest.Builder |
id(String id) |
The artist ID setter.
|
GetArtistsAlbumsRequest.Builder |
limit(Integer limit) |
The limit setter.
|
GetArtistsAlbumsRequest.Builder |
market(com.neovisionaries.i18n.CountryCode market) |
The market filter setter.
|
GetArtistsAlbumsRequest.Builder |
offset(Integer offset) |
The offset setter.
|
setBody, setBodyParameter, setContentType, setDefaults, setHeader, setHost, setHttpManager, setPath, setPathParameter, setPort, setQueryParameter, setSchemepublic Builder(String accessToken)
GetArtistsAlbumsRequest.Builder instance.accessToken - Required. A valid access token from the Spotify Accounts service.public GetArtistsAlbumsRequest.Builder id(String id)
id - The Spotify ID for the artist.GetArtistsAlbumsRequest.Builder.public GetArtistsAlbumsRequest.Builder album_type(String album_type)
album_type - Optional. A comma-separated list of keywords that will be used to filter the response. If not
supplied, all album types will be returned. Valid values are: album, single,
appears_on and compilation.GetArtistsAlbumsRequest.Builder.public GetArtistsAlbumsRequest.Builder market(com.neovisionaries.i18n.CountryCode market)
market - Optional. An ISO 3166-1 alpha-2 country code. Supply this parameter to limit the response to one
particular geographical market.GetArtistsAlbumsRequest.Builder.public GetArtistsAlbumsRequest.Builder limit(Integer limit)
limit - Optional. The number of album objects to return. Default: 20. Minimum: 1. Maximum: 50.GetArtistsAlbumsRequest.Builder.public GetArtistsAlbumsRequest.Builder offset(Integer offset)
offset - Optional. The index of the first album to return. Default: 0 (i.e., the first album). Use with
limit(Integer) to get the next set of albums.GetArtistsAlbumsRequest.Builder.public GetArtistsAlbumsRequest build()
GetArtistsAlbumsRequest.Copyright © 2019. All rights reserved.