public static final class GetSeveralShowsRequest.Builder extends AbstractDataRequest.Builder<ShowSimplified[],GetSeveralShowsRequest.Builder>
GetSeveralShowsRequest.| Constructor and Description |
|---|
Builder(String accessToken)
Create a new
GetSeveralShowsRequest.Builder. |
| Modifier and Type | Method and Description |
|---|---|
GetSeveralShowsRequest |
build()
The request build method.
|
GetSeveralShowsRequest.Builder |
ids(String ids)
The show IDs setter.
|
GetSeveralShowsRequest.Builder |
market(com.neovisionaries.i18n.CountryCode market)
The market country code setter.
|
protected GetSeveralShowsRequest.Builder |
self()
Return this instance to simulate a self-type.
|
setBody, setBodyParameter, setContentType, setDefaults, setHeader, setHost, setHttpManager, setPath, setPathParameter, setPort, setQueryParameter, setSchemepublic Builder(String accessToken)
GetSeveralShowsRequest.Builder.
Reading the user’s resume points on episode objects requires the user-read-playback-position scope.
accessToken - Required. A valid access token from the Spotify Accounts service.public GetSeveralShowsRequest.Builder ids(String ids)
ids - Required. A comma-separated list of the Spotify IDs for the shows. Maximum: 50 IDs.GetSeveralShowsRequest.Builder.public GetSeveralShowsRequest.Builder market(com.neovisionaries.i18n.CountryCode market)
If a country code is specified, only shows and episodes that are available in that market will be returned. If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter. Note: If neither market or user country are provided, the content is considered unavailable for the client.
Users can view the country that is associated with their account in the account settings.
market - Optional. An ISO 3166-1 alpha-2 country code.GetSeveralShowsRequest.Builder.public GetSeveralShowsRequest build()
GetSeveralShowsRequest.protected GetSeveralShowsRequest.Builder self()
AbstractRequest.Builderself in class AbstractRequest.Builder<ShowSimplified[],GetSeveralShowsRequest.Builder>Copyright © 2020. All rights reserved.