public static final class GetSeveralEpisodesRequest.Builder extends AbstractDataRequest.Builder<Episode[],GetSeveralEpisodesRequest.Builder>
GetSeveralEpisodesRequest.| Constructor and Description |
|---|
Builder(String accessToken)
Create a new
GetSeveralEpisodesRequest.Builder. |
| Modifier and Type | Method and Description |
|---|---|
GetSeveralEpisodesRequest |
build()
The request build method.
|
GetSeveralEpisodesRequest.Builder |
ids(String ids)
The episode IDs setter.
|
GetSeveralEpisodesRequest.Builder |
market(com.neovisionaries.i18n.CountryCode market)
The market country code setter.
|
protected GetSeveralEpisodesRequest.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)
GetSeveralEpisodesRequest.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 GetSeveralEpisodesRequest.Builder ids(String ids)
ids - Required. A comma-separated list of the Spotify IDs for the episodes. Maximum: 50 IDs.GetSeveralEpisodesRequest.Builder.public GetSeveralEpisodesRequest.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.GetSeveralEpisodesRequest.Builder.public GetSeveralEpisodesRequest build()
GetSeveralEpisodesRequest.protected GetSeveralEpisodesRequest.Builder self()
AbstractRequest.Builderself in class AbstractRequest.Builder<Episode[],GetSeveralEpisodesRequest.Builder>Copyright © 2020. All rights reserved.