Package org.hihn.listenbrainz
Class LbMiscApi.APIgetDumpInfoRequest
java.lang.Object
org.hihn.listenbrainz.LbMiscApi.APIgetDumpInfoRequest
- Enclosing class:
LbMiscApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.Call
buildCall
(ApiCallback _callback) Build call for getDumpInfoexecute()
Execute getDumpInfo requestokhttp3.Call
executeAsync
(ApiCallback<GetDumpInfo> _callback) Execute getDumpInfo request (asynchronously)Execute getDumpInfo request with HTTP info returnedSet id
-
Method Details
-
id
Set id- Parameters:
id
- Integer specifying the ID of the dump, if not provided, the endpoint returns information about the latest data dump. (optional)- Returns:
- APIgetDumpInfoRequest
-
buildCall
Build call for getDumpInfo- 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 Success. - 400 You did not provide a valid dump ID. See error message for details. - 404 Dump with given ID does not exist. -
-
execute
Execute getDumpInfo request- Returns:
- GetDumpInfo
- 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 Success. - 400 You did not provide a valid dump ID. See error message for details. - 404 Dump with given ID does not exist. -
-
executeWithHttpInfo
Execute getDumpInfo request with HTTP info returned- Returns:
- ApiResponse<GetDumpInfo>
- 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 Success. - 400 You did not provide a valid dump ID. See error message for details. - 404 Dump with given ID does not exist. -
-
executeAsync
Execute getDumpInfo 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 Success. - 400 You did not provide a valid dump ID. See error message for details. - 404 Dump with given ID does not exist. -
-