Class LbPlaylistsApi.APIfetchPlaylistRequest

java.lang.Object
org.hihn.listenbrainz.LbPlaylistsApi.APIfetchPlaylistRequest
Enclosing class:
LbPlaylistsApi

public class LbPlaylistsApi.APIfetchPlaylistRequest extends Object
  • Method Details

    • fetchMetadata

      public LbPlaylistsApi.APIfetchPlaylistRequest fetchMetadata(Boolean fetchMetadata)
      Set fetchMetadata
      Parameters:
      fetchMetadata - Optional, pass value ‘false' to skip lookup up recording metadata. (optional)
      Returns:
      APIfetchPlaylistRequest
    • buildCall

      public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
      Build call for fetchPlaylist
      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! -
      401 Invalid authorization. See error message for details. -
      404 Playlist not found. -
    • execute

      public CreatePlaylistRequest execute() throws ApiException
      Execute fetchPlaylist request
      Returns:
      CreatePlaylistRequest
      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! -
      401 Invalid authorization. See error message for details. -
      404 Playlist not found. -
    • executeWithHttpInfo

      public ApiResponse<CreatePlaylistRequest> executeWithHttpInfo() throws ApiException
      Execute fetchPlaylist request with HTTP info returned
      Returns:
      ApiResponse<CreatePlaylistRequest>
      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! -
      401 Invalid authorization. See error message for details. -
      404 Playlist not found. -
    • executeAsync

      public okhttp3.Call executeAsync(ApiCallback<CreatePlaylistRequest> _callback) throws ApiException
      Execute fetchPlaylist 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! -
      401 Invalid authorization. See error message for details. -
      404 Playlist not found. -