public static final class GetShowRequest.Builder extends AbstractDataRequest.Builder<Show,GetShowRequest.Builder>
GetShowRequest.| Constructor and Description |
|---|
Builder(String accessToken)
Create a new
GetShowRequest.Builder. |
| Modifier and Type | Method and Description |
|---|---|
GetShowRequest |
build()
The request build method.
|
GetShowRequest.Builder |
id(String id)
The show ID setter.
|
GetShowRequest.Builder |
market(com.neovisionaries.i18n.CountryCode market)
The market country code setter.
|
protected GetShowRequest.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)
GetShowRequest.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 GetShowRequest.Builder id(String id)
id - The Spotify ID for the show.GetShowRequest.Builder.public GetShowRequest.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.GetShowRequest.Builder.public GetShowRequest build()
GetShowRequest.protected GetShowRequest.Builder self()
AbstractRequest.Builderself in class AbstractRequest.Builder<Show,GetShowRequest.Builder>Copyright © 2020. All rights reserved.