Package org.hihn.listenbrainz
Class LbSocialApi.APIfeedEventsHideRequest
java.lang.Object
org.hihn.listenbrainz.LbSocialApi.APIfeedEventsHideRequest
- Enclosing class:
LbSocialApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.Call
buildCall
(ApiCallback _callback) Build call for feedEventsHidevoid
execute()
Execute feedEventsHide requestokhttp3.Call
executeAsync
(ApiCallback<Void> _callback) Execute feedEventsHide request (asynchronously)Execute feedEventsHide request with HTTP info returned
-
Method Details
-
buildCall
Build call for feedEventsHide- 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 Event hidden successfully. - 400 Bad request. - 401 Unauthorized. - 403 Forbidden, you don't have permissions to hide events from this user's timeline. - 404 User not found. - 500 API Internal Server Error. -
-
execute
Execute feedEventsHide request- 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 Event hidden successfully. - 400 Bad request. - 401 Unauthorized. - 403 Forbidden, you don't have permissions to hide events from this user's timeline. - 404 User not found. - 500 API Internal Server Error. -
-
executeWithHttpInfo
Execute feedEventsHide request with HTTP info returned- Returns:
- ApiResponse<Void>
- 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 Event hidden successfully. - 400 Bad request. - 401 Unauthorized. - 403 Forbidden, you don't have permissions to hide events from this user's timeline. - 404 User not found. - 500 API Internal Server Error. -
-
executeAsync
Execute feedEventsHide 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 Event hidden successfully. - 400 Bad request. - 401 Unauthorized. - 403 Forbidden, you don't have permissions to hide events from this user's timeline. - 404 User not found. - 500 API Internal Server Error. -
-