Package org.hihn.listenbrainz
Class LbPlaylistsApi.APIdeletePlaylistRequest
java.lang.Object
org.hihn.listenbrainz.LbPlaylistsApi.APIdeletePlaylistRequest
- Enclosing class:
LbPlaylistsApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.Call
buildCall
(ApiCallback _callback) Build call for deletePlaylistvoid
execute()
Execute deletePlaylist requestokhttp3.Call
executeAsync
(ApiCallback<Void> _callback) Execute deletePlaylist request (asynchronously)Execute deletePlaylist request with HTTP info returned
-
Method Details
-
buildCall
Build call for deletePlaylist- 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 Playlist deleted. - 401 Invalid authorization. - 403 The requesting user was not allowed to carry out this operation. - 404 Playlist not found. -
-
execute
Execute deletePlaylist request- 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 Playlist deleted. - 401 Invalid authorization. - 403 The requesting user was not allowed to carry out this operation. - 404 Playlist not found. -
-
executeWithHttpInfo
Execute deletePlaylist request with HTTP info returned- Returns:
- ApiResponse<Void>
- 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 Playlist deleted. - 401 Invalid authorization. - 403 The requesting user was not allowed to carry out this operation. - 404 Playlist not found. -
-
executeAsync
Execute deletePlaylist 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 Playlist deleted. - 401 Invalid authorization. - 403 The requesting user was not allowed to carry out this operation. - 404 Playlist not found. -
-