Class CheckUsersSavedEpisodesRequest.Builder
java.lang.Object
se.michaelthelin.spotify.requests.AbstractRequest.Builder<Boolean[],CheckUsersSavedEpisodesRequest.Builder>
se.michaelthelin.spotify.requests.data.AbstractDataRequest.Builder<Boolean[],CheckUsersSavedEpisodesRequest.Builder>
se.michaelthelin.spotify.requests.data.library.CheckUsersSavedEpisodesRequest.Builder
- All Implemented Interfaces:
IRequest.Builder<Boolean[],
CheckUsersSavedEpisodesRequest.Builder>
- Enclosing class:
CheckUsersSavedEpisodesRequest
public static final class CheckUsersSavedEpisodesRequest.Builder
extends AbstractDataRequest.Builder<Boolean[],CheckUsersSavedEpisodesRequest.Builder>
Builder class for building a
CheckUsersSavedEpisodesRequest
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The request build method.The episode IDs setter.protected CheckUsersSavedEpisodesRequest.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 newCheckUsersSavedEpisodesRequest.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 episode IDs setter.- Parameters:
ids
- Required. A comma-separated list of the Spotify IDs for the episodes. Maximum: 50 IDs.- Returns:
- A
CheckUsersSavedEpisodesRequest.Builder
. - See Also:
-
build
The request build method.- Returns:
- A custom
CheckUsersSavedEpisodesRequest
.
-
self
Description copied from class:AbstractRequest.Builder
Return this instance to simulate a self-type.- Specified by:
self
in classAbstractRequest.Builder<Boolean[],
CheckUsersSavedEpisodesRequest.Builder> - Returns:
- This instance.
-