Package org.hihn.listenbrainz
Class LbSocialApi.APIfeedEventsListensFollowingRequest
java.lang.Object
org.hihn.listenbrainz.LbSocialApi.APIfeedEventsListensFollowingRequest
- Enclosing class:
LbSocialApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.CallbuildCall(ApiCallback _callback) Build call for feedEventsListensFollowingSet countexecute()Execute feedEventsListensFollowing requestokhttp3.CallexecuteAsync(ApiCallback<FeedEvents> _callback) Execute feedEventsListensFollowing request (asynchronously)Execute feedEventsListensFollowing 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:
- APIfeedEventsListensFollowingRequest
-
minTs
Set minTs- Parameters:
minTs- If you specify a 'min_ts' timestamp, events with timestamps greater than the value will be returned. (optional)- Returns:
- APIfeedEventsListensFollowingRequest
-
count
Set count- Parameters:
count- (optional, default to 25)- Returns:
- APIfeedEventsListensFollowingRequest
-
buildCall
Build call for feedEventsListensFollowing- 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 feedEventsListensFollowing 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 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 feedEventsListensFollowing 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 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
Execute feedEventsListensFollowing 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. -
-