public class StatisticsApi
extends java.lang.Object
| Constructor and Description |
|---|
StatisticsApi() |
StatisticsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
StatisticDataResponse |
createSubscriptionUsingPOST(java.lang.String statistics,
java.lang.String verbose)
Opens the stat server subscription for the specified set of statistics.
|
com.squareup.okhttp.Call |
createSubscriptionUsingPOSTAsync(java.lang.String statistics,
java.lang.String verbose,
ApiCallback<StatisticDataResponse> callback)
Opens the stat server subscription for the specified set of statistics.
|
com.squareup.okhttp.Call |
createSubscriptionUsingPOSTCall(java.lang.String statistics,
java.lang.String verbose,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createSubscriptionUsingPOST
|
ApiResponse<StatisticDataResponse> |
createSubscriptionUsingPOSTWithHttpInfo(java.lang.String statistics,
java.lang.String verbose)
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() |
PeekedStatisticResponse |
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<PeekedStatisticResponse> 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
|
PeekedStatisticsResponse |
getStatValues(java.lang.String statistics,
java.lang.String verbose)
Peeks the values of specified statistics
|
com.squareup.okhttp.Call |
getStatValuesAsync(java.lang.String statistics,
java.lang.String verbose,
ApiCallback<PeekedStatisticsResponse> callback)
Peeks the values of specified statistics (asynchronously)
|
com.squareup.okhttp.Call |
getStatValuesCall(java.lang.String statistics,
java.lang.String verbose,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getStatValues
|
ApiResponse<PeekedStatisticsResponse> |
getStatValuesWithHttpInfo(java.lang.String statistics,
java.lang.String verbose)
Peeks the values of specified statistics
|
ApiResponse<PeekedStatisticResponse> |
getStatValueWithHttpInfo(java.lang.String statisticName,
java.lang.String objectId,
java.lang.String objectType)
Peeks the value of specified statistic
|
StatisticDataResponse |
peekSubscriptionStats(java.lang.String id,
java.lang.String statisticIds,
java.lang.String verbose)
Peeks the values of statistics opened inside the specified subscription
|
com.squareup.okhttp.Call |
peekSubscriptionStatsAsync(java.lang.String id,
java.lang.String statisticIds,
java.lang.String verbose,
ApiCallback<StatisticDataResponse> 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,
java.lang.String verbose,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for peekSubscriptionStats
|
ApiResponse<StatisticDataResponse> |
peekSubscriptionStatsWithHttpInfo(java.lang.String id,
java.lang.String statisticIds,
java.lang.String verbose)
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 createSubscriptionUsingPOSTCall(java.lang.String statistics,
java.lang.String verbose,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
statistics - definitions for statistics which are to be opened with stat server (required)verbose - Verbose level for response (optional, default to INFO)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic StatisticDataResponse createSubscriptionUsingPOST(java.lang.String statistics, java.lang.String verbose) throws ApiException
statistics - definitions for statistics which are to be opened with stat server (required)verbose - Verbose level for response (optional, default to INFO)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<StatisticDataResponse> createSubscriptionUsingPOSTWithHttpInfo(java.lang.String statistics, java.lang.String verbose) throws ApiException
statistics - definitions for statistics which are to be opened with stat server (required)verbose - Verbose level for response (optional, default to INFO)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createSubscriptionUsingPOSTAsync(java.lang.String statistics,
java.lang.String verbose,
ApiCallback<StatisticDataResponse> callback)
throws ApiException
statistics - definitions for statistics which are to be opened with stat server (required)verbose - Verbose level for response (optional, default to INFO)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 PeekedStatisticResponse 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<PeekedStatisticResponse> 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<PeekedStatisticResponse> 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,
java.lang.String verbose,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
statistics - A set of definitions for statistics which are to be peeked from stat server (required)verbose - verbose (optional, default to INFO)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PeekedStatisticsResponse getStatValues(java.lang.String statistics, java.lang.String verbose) throws ApiException
statistics - A set of definitions for statistics which are to be peeked from stat server (required)verbose - verbose (optional, default to INFO)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PeekedStatisticsResponse> getStatValuesWithHttpInfo(java.lang.String statistics, java.lang.String verbose) throws ApiException
statistics - A set of definitions for statistics which are to be peeked from stat server (required)verbose - verbose (optional, default to INFO)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,
java.lang.String verbose,
ApiCallback<PeekedStatisticsResponse> callback)
throws ApiException
statistics - A set of definitions for statistics which are to be peeked from stat server (required)verbose - verbose (optional, default to INFO)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,
java.lang.String verbose,
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)verbose - Verbose level for response (optional, default to INFO)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic StatisticDataResponse peekSubscriptionStats(java.lang.String id, java.lang.String statisticIds, java.lang.String verbose) throws ApiException
id - The id of the subscription to peek (required)statisticIds - The ids of the statistics to peek (optional)verbose - Verbose level for response (optional, default to INFO)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<StatisticDataResponse> peekSubscriptionStatsWithHttpInfo(java.lang.String id, java.lang.String statisticIds, java.lang.String verbose) throws ApiException
id - The id of the subscription to peek (required)statisticIds - The ids of the statistics to peek (optional)verbose - Verbose level for response (optional, default to INFO)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,
java.lang.String verbose,
ApiCallback<StatisticDataResponse> callback)
throws ApiException
id - The id of the subscription to peek (required)statisticIds - The ids of the statistics to peek (optional)verbose - Verbose level for response (optional, default to INFO)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