Package com.twitter.clientlib.api
Class TweetsApi.APIhideReplyByIdRequest
- java.lang.Object
-
- com.twitter.clientlib.api.TweetsApi.APIhideReplyByIdRequest
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description okhttp3.CallbuildCall(ApiCallback _callback)Build call for hideReplyByIdTweetHideResponseexecute()Execute hideReplyById requestTweetHideResponseexecute(Integer retries)Calls the API using a retry mechanism to handle rate limits errors.okhttp3.CallexecuteAsync(ApiCallback<TweetHideResponse> _callback)Execute hideReplyById request (asynchronously)ApiResponse<TweetHideResponse>executeWithHttpInfo()Execute hideReplyById request with HTTP info returnedTweetsApi.APIhideReplyByIdRequesttweetHideRequest(TweetHideRequest tweetHideRequest)Set tweetHideRequest
-
-
-
Method Detail
-
tweetHideRequest
public TweetsApi.APIhideReplyByIdRequest tweetHideRequest(TweetHideRequest tweetHideRequest)
Set tweetHideRequest- Parameters:
tweetHideRequest- (optional)- Returns:
- APIhideReplyByIdRequest
-
buildCall
public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
Build call for hideReplyById- 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 The request has succeeded. - 0 The request has failed. -
-
execute
public TweetHideResponse execute() throws ApiException
Execute hideReplyById request- Returns:
- TweetHideResponse
- 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 The request has succeeded. - 0 The request has failed. -
-
execute
public TweetHideResponse execute(Integer retries) throws ApiException
Calls the API using a retry mechanism to handle rate limits errors.- Throws:
ApiException
-
executeWithHttpInfo
public ApiResponse<TweetHideResponse> executeWithHttpInfo() throws ApiException
Execute hideReplyById request with HTTP info returned- Returns:
- ApiResponse<TweetHideResponse>
- 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 The request has succeeded. - 0 The request has failed. -
-
executeAsync
public okhttp3.Call executeAsync(ApiCallback<TweetHideResponse> _callback) throws ApiException
Execute hideReplyById 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 The request has succeeded. - 0 The request has failed. -
-
-