Class CheckCurrentUserFollowsArtistsOrUsersRequest
- java.lang.Object
-
- com.wrapper.spotify.requests.AbstractRequest<T>
-
- com.wrapper.spotify.requests.data.AbstractDataRequest<java.lang.Boolean[]>
-
- com.wrapper.spotify.requests.data.follow.CheckCurrentUserFollowsArtistsOrUsersRequest
-
- All Implemented Interfaces:
IRequest<java.lang.Boolean[]>
public class CheckCurrentUserFollowsArtistsOrUsersRequest extends AbstractDataRequest<java.lang.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
Modifier and Type Method Description java.lang.Boolean[]execute()Check whether the user is following one or more users or artist or not.-
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 java.lang.Boolean[] execute() throws java.io.IOException, SpotifyWebApiExceptionCheck whether the user is following one or more users or artist or not.- Returns:
- If the user is following more users or artists.
- Throws:
java.io.IOException- In case of networking issues.SpotifyWebApiException- The Web API returned an error further specified in this exception's root cause.
-
-