Package org.hihn.listenbrainz
Class LbPlaylistsApi.APIplaylistsForUserRequest
java.lang.Object
org.hihn.listenbrainz.LbPlaylistsApi.APIplaylistsForUserRequest
- Enclosing class:
LbPlaylistsApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.Call
buildCall
(ApiCallback _callback) Build call for playlistsForUserSet countexecute()
Execute playlistsForUser requestokhttp3.Call
executeAsync
(ApiCallback<Playlists> _callback) Execute playlistsForUser request (asynchronously)Execute playlistsForUser request with HTTP info returnedSet offset
-
Method Details
-
count
Set count- Parameters:
count
- (optional, default to 25)- Returns:
- APIplaylistsForUserRequest
-
offset
Set offset- Parameters:
offset
- (optional)- Returns:
- APIplaylistsForUserRequest
-
buildCall
Build call for playlistsForUser- Parameters:
_callback
- ApiCallback API callback- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 Yay, you have data! - 404 The requested user was not found. -
-
execute
Execute playlistsForUser request- Returns:
- Playlists
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Yay, you have data! - 404 The requested user was not found. -
-
executeWithHttpInfo
Execute playlistsForUser request with HTTP info returned- Returns:
- ApiResponse<Playlists>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Yay, you have data! - 404 The requested user was not found. -
-
executeAsync
Execute playlistsForUser request (asynchronously)- Parameters:
_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 Yay, you have data! - 404 The requested user was not found. -
-