Class CheckUsersSavedAlbumsRequest
- java.lang.Object
-
- com.wrapper.spotify.requests.AbstractRequest<T>
-
- com.wrapper.spotify.requests.data.AbstractDataRequest<Boolean[]>
-
- com.wrapper.spotify.requests.data.library.CheckUsersSavedAlbumsRequest
-
public class CheckUsersSavedAlbumsRequest extends AbstractDataRequest<Boolean[]>
Check if one or more albums is already saved in the current Spotify user’s "Your Music" library.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCheckUsersSavedAlbumsRequest.BuilderBuilder class for building aCheckUsersSavedAlbumsRequest.
-
Method Summary
-
Methods inherited from class com.wrapper.spotify.requests.AbstractRequest
bodyParametersToJson, deleteJson, executeAsync, getBody, getBodyParameters, getContentType, getHeaders, getHttpManager, getJson, getUri, initializeBody, postJson, putJson
-
-
-
-
Method Detail
-
execute
public Boolean[] execute() throws IOException, SpotifyWebApiException, org.apache.hc.core5.http.ParseException
Check whether an album is present in the current user's "Your Music" library.- Returns:
- Whether an album is present in the current user's "Your Music" library.
- Throws:
IOException- In case of networking issues.SpotifyWebApiException- The Web API returned an error further specified in this exception's root cause.org.apache.hc.core5.http.ParseException
-
-