Class CheckCurrentUserFollowsArtistsOrUsersRequest
java.lang.Object
com.wrapper.spotify.requests.AbstractRequest<T>
com.wrapper.spotify.requests.data.AbstractDataRequest<Boolean[]>
com.wrapper.spotify.requests.data.follow.CheckCurrentUserFollowsArtistsOrUsersRequest
public class CheckCurrentUserFollowsArtistsOrUsersRequest extends AbstractDataRequest<Boolean[]>
Check to see if the current user is following one or more artists or other Spotify users.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCheckCurrentUserFollowsArtistsOrUsersRequest.BuilderBuilder class for building aCheckCurrentUserFollowsArtistsOrUsersRequest. -
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 the user is following one or more users or artist or not.- Returns:
- If the user is following more users or artists.
- 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
-