Class StatisticsApi


  • public class StatisticsApi
    extends Object
    • Constructor Detail

      • StatisticsApi

        public StatisticsApi()
      • StatisticsApi

        public StatisticsApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • postStatsEventsCall

        public okhttp3.Call postStatsEventsCall​(StatsEventsList statsEventsList,
                                                ApiCallback _callback)
                                         throws ApiException
        Build call for postStatsEvents
        Parameters:
        statsEventsList - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details:
        Status Code Description Response Headers
        204 reported successfully -
        400 bad request -
        401 Unauthorized -
        0 Internal Server Error -
      • postStatsEvents

        public void postStatsEvents​(StatsEventsList statsEventsList)
                             throws ApiException
        post stats events, this endpoint is meant for internal use only
        Parameters:
        statsEventsList - (required)
        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
        204 reported successfully -
        400 bad request -
        401 Unauthorized -
        0 Internal Server Error -
      • postStatsEventsWithHttpInfo

        public ApiResponse<Void> postStatsEventsWithHttpInfo​(StatsEventsList statsEventsList)
                                                      throws ApiException
        post stats events, this endpoint is meant for internal use only
        Parameters:
        statsEventsList - (required)
        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
        204 reported successfully -
        400 bad request -
        401 Unauthorized -
        0 Internal Server Error -
      • postStatsEventsAsync

        public okhttp3.Call postStatsEventsAsync​(StatsEventsList statsEventsList,
                                                 ApiCallback<Void> _callback)
                                          throws ApiException
        post stats events, this endpoint is meant for internal use only (asynchronously)
        Parameters:
        statsEventsList - (required)
        _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
        204 reported successfully -
        400 bad request -
        401 Unauthorized -
        0 Internal Server Error -