Package org.hihn.listenbrainz
Class LbMetadataApi.APIlookupRequest
java.lang.Object
org.hihn.listenbrainz.LbMetadataApi.APIlookupRequest
- Enclosing class:
LbMetadataApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.CallbuildCall(ApiCallback _callback) Build call for lookupexecute()Execute lookup requestokhttp3.CallexecuteAsync(ApiCallback<Lookup> _callback) Execute lookup request (asynchronously)Execute lookup request with HTTP info returnedreleaseName(String releaseName) Set releaseName
-
Method Details
-
releaseName
Set releaseName- Parameters:
releaseName- Release name of the listen. (optional)- Returns:
- APIlookupRequest
-
buildCall
Build call for lookup- 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! - 400 Invalid arguments. -
-
execute
Execute lookup request- Returns:
- Lookup
- 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! - 400 Invalid arguments. -
-
executeWithHttpInfo
Execute lookup request with HTTP info returned- Returns:
- ApiResponse<Lookup>
- 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! - 400 Invalid arguments. -
-
executeAsync
Execute lookup 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! - 400 Invalid arguments. -
-