Package org.hihn.listenbrainz
Class LbSocialApi.APIfeedEventsListensSimilarRequest
java.lang.Object
org.hihn.listenbrainz.LbSocialApi.APIfeedEventsListensSimilarRequest
- Enclosing class:
LbSocialApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.Call
buildCall
(ApiCallback _callback) Build call for feedEventsListensSimilarSet countexecute()
Execute feedEventsListensSimilar requestokhttp3.Call
executeAsync
(ApiCallback<FeedEventsListensSimilar> _callback) Execute feedEventsListensSimilar request (asynchronously)Execute feedEventsListensSimilar request with HTTP info returnedSet maxTsSet minTs
-
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:
- APIfeedEventsListensSimilarRequest
-
minTs
Set minTs- Parameters:
minTs
- If you specify a 'min_ts' timestamp, events with timestamps greater than the value will be returned. (optional)- Returns:
- APIfeedEventsListensSimilarRequest
-
count
Set count- Parameters:
count
- (optional, default to 25)- Returns:
- APIfeedEventsListensSimilarRequest
-
buildCall
Build call for feedEventsListensSimilar- 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 listen-events! - 400 Bad request. - 401 Invalid authorization. See error message for details. - 403 Forbidden, you do not have permission to view this user's feed. - 404 User not found. -
-
execute
Execute feedEventsListensSimilar request- Returns:
- FeedEventsListensSimilar
- 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 listen-events! - 400 Bad request. - 401 Invalid authorization. See error message for details. - 403 Forbidden, you do not have permission to view this user's feed. - 404 User not found. -
-
executeWithHttpInfo
Execute feedEventsListensSimilar request with HTTP info returned- Returns:
- ApiResponse<FeedEventsListensSimilar>
- 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 listen-events! - 400 Bad request. - 401 Invalid authorization. See error message for details. - 403 Forbidden, you do not have permission to view this user's feed. - 404 User not found. -
-
executeAsync
public okhttp3.Call executeAsync(ApiCallback<FeedEventsListensSimilar> _callback) throws ApiException Execute feedEventsListensSimilar 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 listen-events! - 400 Bad request. - 401 Invalid authorization. See error message for details. - 403 Forbidden, you do not have permission to view this user's feed. - 404 User not found. -
-