Class LbMetadataApi.APIlookupRequest

java.lang.Object
org.hihn.listenbrainz.LbMetadataApi.APIlookupRequest
Enclosing class:
LbMetadataApi

public class LbMetadataApi.APIlookupRequest extends Object
  • Method Details

    • releaseName

      public LbMetadataApi.APIlookupRequest releaseName(String releaseName)
      Set releaseName
      Parameters:
      releaseName - Release name of the listen. (optional)
      Returns:
      APIlookupRequest
    • buildCall

      public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
      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

      public Lookup execute() throws ApiException
      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

      public ApiResponse<Lookup> executeWithHttpInfo() throws ApiException
      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

      public okhttp3.Call executeAsync(ApiCallback<Lookup> _callback) throws ApiException
      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. -