Package org.hihn.listenbrainz
Class LbPopularityApi.APIreleaseRequest
java.lang.Object
org.hihn.listenbrainz.LbPopularityApi.APIreleaseRequest
- Enclosing class:
LbPopularityApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.CallbuildCall(ApiCallback _callback) Build call for releaseexecute()Execute release requestokhttp3.CallexecuteAsync(ApiCallback<List<Release200ResponseInner>> _callback) Execute release request (asynchronously)Execute release request with HTTP info returned
-
Method Details
-
buildCall
Build call for release- 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 release request- Returns:
- List<Release200ResponseInner>
- 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 release request with HTTP info returned- Returns:
- ApiResponse<List<Release200ResponseInner>>
- 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<Release200ResponseInner>> _callback) throws ApiException Execute release 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. -
-