Class CheckUsersSavedShowsRequest.Builder
java.lang.Object
se.michaelthelin.spotify.requests.AbstractRequest.Builder<Boolean[],CheckUsersSavedShowsRequest.Builder>
se.michaelthelin.spotify.requests.data.AbstractDataRequest.Builder<Boolean[],CheckUsersSavedShowsRequest.Builder>
se.michaelthelin.spotify.requests.data.library.CheckUsersSavedShowsRequest.Builder
- All Implemented Interfaces:
IRequest.Builder<Boolean[],
CheckUsersSavedShowsRequest.Builder>
- Enclosing class:
CheckUsersSavedShowsRequest
public static final class CheckUsersSavedShowsRequest.Builder
extends AbstractDataRequest.Builder<Boolean[],CheckUsersSavedShowsRequest.Builder>
Builder class for building a
CheckUsersSavedShowsRequest
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The request build method.The show IDs setter.protected CheckUsersSavedShowsRequest.Builder
self()
Return this instance to simulate a self-type.Methods inherited from class se.michaelthelin.spotify.requests.AbstractRequest.Builder
setBody, setBodyParameter, setContentType, setDefaults, setHeader, setHost, setHttpManager, setPath, setPathParameter, setPort, setQueryParameter, setScheme
-
Constructor Details
-
Builder
Create a newCheckUsersSavedShowsRequest.Builder
instance.The
user-library-read
scope must have been authorized by the user.- Parameters:
accessToken
- Required. A valid access token from the Spotify Accounts service.- See Also:
-
-
Method Details
-
ids
The show IDs setter.- Parameters:
ids
- Required. A comma-separated list of the Spotify IDs for the shows. Maximum: 50 IDs.- Returns:
- A
CheckUsersSavedShowsRequest.Builder
. - See Also:
-
build
The request build method.- Returns:
- A custom
CheckUsersSavedShowsRequest
.
-
self
Description copied from class:AbstractRequest.Builder
Return this instance to simulate a self-type.- Specified by:
self
in classAbstractRequest.Builder<Boolean[],
CheckUsersSavedShowsRequest.Builder> - Returns:
- This instance.
-