Class LbSocialApi.APIfeedEventsRequest

java.lang.Object
org.hihn.listenbrainz.LbSocialApi.APIfeedEventsRequest
Enclosing class:
LbSocialApi

public class LbSocialApi.APIfeedEventsRequest extends Object
  • Method Details

    • maxTs

      Set maxTs
      Parameters:
      maxTs - If you specify a 'max_ts' timestamp, events with timestamps less than the value will be returned. (optional)
      Returns:
      APIfeedEventsRequest
    • minTs

      Set minTs
      Parameters:
      minTs - If you specify a 'min_ts' timestamp, events with timestamps greater than the value will be returned. (optional)
      Returns:
      APIfeedEventsRequest
    • count

      Set count
      Parameters:
      count - (optional, default to 25)
      Returns:
      APIfeedEventsRequest
    • buildCall

      public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
      Build call for feedEvents
      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 Successful query, you have feed events! -
      400 Bad request. -
      401 Unauthorized, you do not have permission to view this user's feed. -
      403 Forbidden, you do not have permission to view this user's feed. -
      404 User not found. -
    • execute

      public FeedEvents execute() throws ApiException
      Execute feedEvents request
      Returns:
      FeedEvents
      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 Successful query, you have feed events! -
      400 Bad request. -
      401 Unauthorized, you do not have permission to view this user's feed. -
      403 Forbidden, you do not have permission to view this user's feed. -
      404 User not found. -
    • executeWithHttpInfo

      public ApiResponse<FeedEvents> executeWithHttpInfo() throws ApiException
      Execute feedEvents request with HTTP info returned
      Returns:
      ApiResponse<FeedEvents>
      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 Successful query, you have feed events! -
      400 Bad request. -
      401 Unauthorized, you do not have permission to view this user's feed. -
      403 Forbidden, you do not have permission to view this user's feed. -
      404 User not found. -
    • executeAsync

      public okhttp3.Call executeAsync(ApiCallback<FeedEvents> _callback) throws ApiException
      Execute feedEvents 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 Successful query, you have feed events! -
      400 Bad request. -
      401 Unauthorized, you do not have permission to view this user's feed. -
      403 Forbidden, you do not have permission to view this user's feed. -
      404 User not found. -