Class TweetsApi.APIgetTweetsSample10StreamRequest

  • Enclosing class:
    TweetsApi

    public class TweetsApi.APIgetTweetsSample10StreamRequest
    extends Object
    • Method Detail

      • backfillMinutes

        public TweetsApi.APIgetTweetsSample10StreamRequest backfillMinutes​(Integer backfillMinutes)
        Set backfillMinutes
        Parameters:
        backfillMinutes - The number of minutes of backfill requested. (optional)
        Returns:
        APIgetTweetsSample10StreamRequest
      • buildCall

        public okhttp3.Call buildCall​(ApiCallback _callback)
                               throws ApiException
        Build call for getTweetsSample10Stream
        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 InputStream execute()
                            throws ApiException
        Execute getTweetsSample10Stream request
        Returns:
        Get2TweetsSample10StreamResponse
        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. -
      • executeWithHttpInfo

        public InputStream executeWithHttpInfo()
                                        throws ApiException
        Execute getTweetsSample10Stream request with HTTP info returned
        Returns:
        ApiResponse<Get2TweetsSample10StreamResponse>
        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<Get2TweetsSample10StreamResponse> _callback)
                                  throws ApiException
        Execute getTweetsSample10Stream 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. -