Package org.hihn.listenbrainz
Class LbPopularityApi.APIartistRequest
java.lang.Object
org.hihn.listenbrainz.LbPopularityApi.APIartistRequest
- Enclosing class:
LbPopularityApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.Call
buildCall
(ApiCallback _callback) Build call for artistexecute()
Execute artist requestokhttp3.Call
executeAsync
(ApiCallback<List<Artist200ResponseInner>> _callback) Execute artist request (asynchronously)Execute artist request with HTTP info returned
-
Method Details
-
buildCall
Build call for artist- 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 Feedback accepted. - 400 Invalid JSON sent. - 401 Invalid authorization. -
-
execute
Execute artist request- Returns:
- List<Artist200ResponseInner>
- 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 Feedback accepted. - 400 Invalid JSON sent. - 401 Invalid authorization. -
-
executeWithHttpInfo
Execute artist request with HTTP info returned- Returns:
- ApiResponse<List<Artist200ResponseInner>>
- 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 Feedback accepted. - 400 Invalid JSON sent. - 401 Invalid authorization. -
-
executeAsync
public okhttp3.Call executeAsync(ApiCallback<List<Artist200ResponseInner>> _callback) throws ApiException Execute artist 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 Feedback accepted. - 400 Invalid JSON sent. - 401 Invalid authorization. -
-