Package org.hihn.listenbrainz
Class LbPlaylistsApi.APIfetchPlaylistRequest
java.lang.Object
org.hihn.listenbrainz.LbPlaylistsApi.APIfetchPlaylistRequest
- Enclosing class:
LbPlaylistsApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.Call
buildCall
(ApiCallback _callback) Build call for fetchPlaylistexecute()
Execute fetchPlaylist requestokhttp3.Call
executeAsync
(ApiCallback<CreatePlaylistRequest> _callback) Execute fetchPlaylist request (asynchronously)Execute fetchPlaylist request with HTTP info returnedfetchMetadata
(Boolean fetchMetadata) Set fetchMetadata
-
Method Details
-
fetchMetadata
Set fetchMetadata- Parameters:
fetchMetadata
- Optional, pass value ‘false' to skip lookup up recording metadata. (optional)- Returns:
- APIfetchPlaylistRequest
-
buildCall
Build call for fetchPlaylist- 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! - 401 Invalid authorization. See error message for details. - 404 Playlist not found. -
-
execute
Execute fetchPlaylist request- Returns:
- CreatePlaylistRequest
- 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! - 401 Invalid authorization. See error message for details. - 404 Playlist not found. -
-
executeWithHttpInfo
Execute fetchPlaylist request with HTTP info returned- Returns:
- ApiResponse<CreatePlaylistRequest>
- 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! - 401 Invalid authorization. See error message for details. - 404 Playlist not found. -
-
executeAsync
Execute fetchPlaylist 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! - 401 Invalid authorization. See error message for details. - 404 Playlist not found. -
-