Class CheckUsersFollowPlaylistRequest
java.lang.Object
com.wrapper.spotify.requests.AbstractRequest<T>
com.wrapper.spotify.requests.data.AbstractDataRequest<Boolean[]>
com.wrapper.spotify.requests.data.follow.CheckUsersFollowPlaylistRequest
public class CheckUsersFollowPlaylistRequest extends AbstractDataRequest<Boolean[]>
Check to see if one or more Spotify users are following a specified playlist.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCheckUsersFollowPlaylistRequest.BuilderBuilder class for building aCheckUsersFollowPlaylistRequest. -
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 Details
-
execute
public Boolean[] execute() throws IOException, SpotifyWebApiException, org.apache.hc.core5.http.ParseExceptionCheck whether a user is following a playlist or not.- Returns:
- Whether a user is following a playlist or not.
- 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
-