Class GetAudioFeaturesForSeveralTracksRequest.Builder
java.lang.Object
se.michaelthelin.spotify.requests.AbstractRequest.Builder<AudioFeatures[],GetAudioFeaturesForSeveralTracksRequest.Builder>
se.michaelthelin.spotify.requests.data.AbstractDataRequest.Builder<AudioFeatures[],GetAudioFeaturesForSeveralTracksRequest.Builder>
se.michaelthelin.spotify.requests.data.tracks.GetAudioFeaturesForSeveralTracksRequest.Builder
- All Implemented Interfaces:
IRequest.Builder<AudioFeatures[],
GetAudioFeaturesForSeveralTracksRequest.Builder>
- Enclosing class:
GetAudioFeaturesForSeveralTracksRequest
public static final class GetAudioFeaturesForSeveralTracksRequest.Builder
extends AbstractDataRequest.Builder<AudioFeatures[],GetAudioFeaturesForSeveralTracksRequest.Builder>
Builder class for building a
GetAudioFeaturesForSeveralTracksRequest
.-
Constructor Summary
-
Method Summary
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 newGetAudioFeaturesForSeveralTracksRequest.Builder
.- Parameters:
accessToken
- Required. A valid access token from the Spotify Accounts service.
-
-
Method Details
-
ids
The track IDs setter.- Parameters:
ids
- Required. A comma-separated list of the Spotify IDs for the tracks. Maximum: 100 IDs.- Returns:
- A
GetAudioFeaturesForSeveralTracksRequest.Builder
. - See Also:
-
build
The request build method.- Returns:
- A custom
GetAudioFeaturesForSeveralTracksRequest
.
-
self
Description copied from class:AbstractRequest.Builder
Return this instance to simulate a self-type.- Specified by:
self
in classAbstractRequest.Builder<AudioFeatures[],
GetAudioFeaturesForSeveralTracksRequest.Builder> - Returns:
- This instance.
-