public class StatisticsApi
extends java.lang.Object
| Constructor and Description |
|---|
StatisticsApi() |
StatisticsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ModelApiResponse |
createSubscription(java.lang.String statistics)
Opens the stat server subscription for the specified set of statistics
|
com.squareup.okhttp.Call |
createSubscriptionAsync(java.lang.String statistics,
ApiCallback<ModelApiResponse> callback)
Opens the stat server subscription for the specified set of statistics (asynchronously)
|
com.squareup.okhttp.Call |
createSubscriptionCall(java.lang.String statistics,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createSubscription
|
ApiResponse<ModelApiResponse> |
createSubscriptionWithHttpInfo(java.lang.String statistics)
Opens the stat server subscription for the specified set of statistics
|
ModelApiResponse |
deleteSubscription(java.lang.String id)
Deletes the specified stat server subscription
|
com.squareup.okhttp.Call |
deleteSubscriptionAsync(java.lang.String id,
ApiCallback<ModelApiResponse> callback)
Deletes the specified stat server subscription (asynchronously)
|
com.squareup.okhttp.Call |
deleteSubscriptionCall(java.lang.String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteSubscription
|
ApiResponse<ModelApiResponse> |
deleteSubscriptionWithHttpInfo(java.lang.String id)
Deletes the specified stat server subscription
|
ApiClient |
getApiClient() |
ModelApiResponse |
getStatValue(java.lang.String statisticName,
java.lang.String objectId,
java.lang.String objectType)
Peeks the value of specified statistic
|
com.squareup.okhttp.Call |
getStatValueAsync(java.lang.String statisticName,
java.lang.String objectId,
java.lang.String objectType,
ApiCallback<ModelApiResponse> callback)
Peeks the value of specified statistic (asynchronously)
|
com.squareup.okhttp.Call |
getStatValueCall(java.lang.String statisticName,
java.lang.String objectId,
java.lang.String objectType,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getStatValue
|
ModelApiResponse |
getStatValues(java.lang.String statistics)
Peeks the values of specified statistics
|
com.squareup.okhttp.Call |
getStatValuesAsync(java.lang.String statistics,
ApiCallback<ModelApiResponse> callback)
Peeks the values of specified statistics (asynchronously)
|
com.squareup.okhttp.Call |
getStatValuesCall(java.lang.String statistics,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getStatValues
|
ApiResponse<ModelApiResponse> |
getStatValuesWithHttpInfo(java.lang.String statistics)
Peeks the values of specified statistics
|
ApiResponse<ModelApiResponse> |
getStatValueWithHttpInfo(java.lang.String statisticName,
java.lang.String objectId,
java.lang.String objectType)
Peeks the value of specified statistic
|
ModelApiResponse |
peekSubscriptionStats(java.lang.String id,
java.lang.String statisticIds)
Peeks the values of statistics opened inside the specified subscription
|
com.squareup.okhttp.Call |
peekSubscriptionStatsAsync(java.lang.String id,
java.lang.String statisticIds,
ApiCallback<ModelApiResponse> callback)
Peeks the values of statistics opened inside the specified subscription (asynchronously)
|
com.squareup.okhttp.Call |
peekSubscriptionStatsCall(java.lang.String id,
java.lang.String statisticIds,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for peekSubscriptionStats
|
ApiResponse<ModelApiResponse> |
peekSubscriptionStatsWithHttpInfo(java.lang.String id,
java.lang.String statisticIds)
Peeks the values of statistics opened inside the specified subscription
|
void |
setApiClient(ApiClient apiClient) |
public StatisticsApi()
public StatisticsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call createSubscriptionCall(java.lang.String statistics,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
statistics - definitions for statistics which are to be opened with stat server (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ModelApiResponse createSubscription(java.lang.String statistics) throws ApiException
statistics - definitions for statistics which are to be opened with stat server (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ModelApiResponse> createSubscriptionWithHttpInfo(java.lang.String statistics) throws ApiException
statistics - definitions for statistics which are to be opened with stat server (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createSubscriptionAsync(java.lang.String statistics,
ApiCallback<ModelApiResponse> callback)
throws ApiException
statistics - definitions for statistics which are to be opened with stat server (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call deleteSubscriptionCall(java.lang.String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
id - The id of the subscription to delete (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ModelApiResponse deleteSubscription(java.lang.String id) throws ApiException
id - The id of the subscription to delete (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ModelApiResponse> deleteSubscriptionWithHttpInfo(java.lang.String id) throws ApiException
id - The id of the subscription to delete (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteSubscriptionAsync(java.lang.String id,
ApiCallback<ModelApiResponse> callback)
throws ApiException
id - The id of the subscription to delete (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getStatValueCall(java.lang.String statisticName,
java.lang.String objectId,
java.lang.String objectType,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
statisticName - name of statistic to be peeked (required)objectId - id of object for which statistic to be peeked (required)objectType - type of object for which statistic to be peeked (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ModelApiResponse getStatValue(java.lang.String statisticName, java.lang.String objectId, java.lang.String objectType) throws ApiException
statisticName - name of statistic to be peeked (required)objectId - id of object for which statistic to be peeked (required)objectType - type of object for which statistic to be peeked (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ModelApiResponse> getStatValueWithHttpInfo(java.lang.String statisticName, java.lang.String objectId, java.lang.String objectType) throws ApiException
statisticName - name of statistic to be peeked (required)objectId - id of object for which statistic to be peeked (required)objectType - type of object for which statistic to be peeked (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getStatValueAsync(java.lang.String statisticName,
java.lang.String objectId,
java.lang.String objectType,
ApiCallback<ModelApiResponse> callback)
throws ApiException
statisticName - name of statistic to be peeked (required)objectId - id of object for which statistic to be peeked (required)objectType - type of object for which statistic to be peeked (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getStatValuesCall(java.lang.String statistics,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
statistics - A set of definitions for statistics which are to be peeked from stat server (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ModelApiResponse getStatValues(java.lang.String statistics) throws ApiException
statistics - A set of definitions for statistics which are to be peeked from stat server (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ModelApiResponse> getStatValuesWithHttpInfo(java.lang.String statistics) throws ApiException
statistics - A set of definitions for statistics which are to be peeked from stat server (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getStatValuesAsync(java.lang.String statistics,
ApiCallback<ModelApiResponse> callback)
throws ApiException
statistics - A set of definitions for statistics which are to be peeked from stat server (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call peekSubscriptionStatsCall(java.lang.String id,
java.lang.String statisticIds,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
id - The id of the subscription to peek (required)statisticIds - The ids of the statistics to peek (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ModelApiResponse peekSubscriptionStats(java.lang.String id, java.lang.String statisticIds) throws ApiException
id - The id of the subscription to peek (required)statisticIds - The ids of the statistics to peek (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ModelApiResponse> peekSubscriptionStatsWithHttpInfo(java.lang.String id, java.lang.String statisticIds) throws ApiException
id - The id of the subscription to peek (required)statisticIds - The ids of the statistics to peek (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call peekSubscriptionStatsAsync(java.lang.String id,
java.lang.String statisticIds,
ApiCallback<ModelApiResponse> callback)
throws ApiException
id - The id of the subscription to peek (required)statisticIds - The ids of the statistics to peek (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object