public class CustomerMetricsApi
extends java.lang.Object
Constructor | Description |
---|---|
CustomerMetricsApi() |
|
CustomerMetricsApi(ApiClient apiClient) |
Modifier and Type | Method | Description |
---|---|---|
ApiClient |
getApiClient() |
|
StreamSDKVersion |
getEvaluations(java.lang.String envId,
java.lang.String flagKey) |
Get events usage by event id and the feature flag key.
|
com.squareup.okhttp.Call |
getEvaluationsAsync(java.lang.String envId,
java.lang.String flagKey,
ApiCallback<StreamSDKVersion> callback) |
Get events usage by event id and the feature flag key.
|
com.squareup.okhttp.Call |
getEvaluationsCall(java.lang.String envId,
java.lang.String flagKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getEvaluations
|
ApiResponse<StreamSDKVersion> |
getEvaluationsWithHttpInfo(java.lang.String envId,
java.lang.String flagKey) |
Get events usage by event id and the feature flag key.
|
StreamSDKVersion |
getEvent(java.lang.String type) |
Get events usage by event type.
|
com.squareup.okhttp.Call |
getEventAsync(java.lang.String type,
ApiCallback<StreamSDKVersion> callback) |
Get events usage by event type.
|
com.squareup.okhttp.Call |
getEventCall(java.lang.String type,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getEvent
|
Events |
getEvents() |
Get events usage endpoints.
|
com.squareup.okhttp.Call |
getEventsAsync(ApiCallback<Events> callback) |
Get events usage endpoints.
|
com.squareup.okhttp.Call |
getEventsCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getEvents
|
ApiResponse<Events> |
getEventsWithHttpInfo() |
Get events usage endpoints.
|
ApiResponse<StreamSDKVersion> |
getEventWithHttpInfo(java.lang.String type) |
Get events usage by event type.
|
MAU |
getMAU() |
Get monthly active user data.
|
com.squareup.okhttp.Call |
getMAUAsync(ApiCallback<MAU> callback) |
Get monthly active user data.
|
MAUbyCategory |
getMAUByCategory() |
Get monthly active user data by category.
|
com.squareup.okhttp.Call |
getMAUByCategoryAsync(ApiCallback<MAUbyCategory> callback) |
Get monthly active user data by category.
|
com.squareup.okhttp.Call |
getMAUByCategoryCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getMAUByCategory
|
ApiResponse<MAUbyCategory> |
getMAUByCategoryWithHttpInfo() |
Get monthly active user data by category.
|
com.squareup.okhttp.Call |
getMAUCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getMAU
|
ApiResponse<MAU> |
getMAUWithHttpInfo() |
Get monthly active user data.
|
Stream |
getStream(java.lang.String source) |
Get a stream endpoint and return timeseries data.
|
com.squareup.okhttp.Call |
getStreamAsync(java.lang.String source,
ApiCallback<Stream> callback) |
Get a stream endpoint and return timeseries data.
|
StreamBySDK |
getStreamBySDK(java.lang.String source) |
Get a stream timeseries data by source show sdk version metadata.
|
com.squareup.okhttp.Call |
getStreamBySDKAsync(java.lang.String source,
ApiCallback<StreamBySDK> callback) |
Get a stream timeseries data by source show sdk version metadata.
|
com.squareup.okhttp.Call |
getStreamBySDKCall(java.lang.String source,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getStreamBySDK
|
ApiResponse<StreamBySDK> |
getStreamBySDKWithHttpInfo(java.lang.String source) |
Get a stream timeseries data by source show sdk version metadata.
|
com.squareup.okhttp.Call |
getStreamCall(java.lang.String source,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getStream
|
Streams |
getStreams() |
Returns a list of all streams.
|
com.squareup.okhttp.Call |
getStreamsAsync(ApiCallback<Streams> callback) |
Returns a list of all streams.
|
com.squareup.okhttp.Call |
getStreamsCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getStreams
|
StreamSDKVersion |
getStreamSDKVersion(java.lang.String source) |
Get a stream timeseries data by source and show all sdk version associated.
|
com.squareup.okhttp.Call |
getStreamSDKVersionAsync(java.lang.String source,
ApiCallback<StreamSDKVersion> callback) |
Get a stream timeseries data by source and show all sdk version associated.
|
com.squareup.okhttp.Call |
getStreamSDKVersionCall(java.lang.String source,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getStreamSDKVersion
|
ApiResponse<StreamSDKVersion> |
getStreamSDKVersionWithHttpInfo(java.lang.String source) |
Get a stream timeseries data by source and show all sdk version associated.
|
ApiResponse<Streams> |
getStreamsWithHttpInfo() |
Returns a list of all streams.
|
ApiResponse<Stream> |
getStreamWithHttpInfo(java.lang.String source) |
Get a stream endpoint and return timeseries data.
|
Usage |
getUsage() |
Returns of the usage endpoints available.
|
com.squareup.okhttp.Call |
getUsageAsync(ApiCallback<Usage> callback) |
Returns of the usage endpoints available.
|
com.squareup.okhttp.Call |
getUsageCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getUsage
|
ApiResponse<Usage> |
getUsageWithHttpInfo() |
Returns of the usage endpoints available.
|
void |
setApiClient(ApiClient apiClient) |
public CustomerMetricsApi()
public CustomerMetricsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getEvaluationsCall(java.lang.String envId, java.lang.String flagKey, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
envId
- The environment id for the flag evaluations in question. (required)flagKey
- The key of the flag we want metrics for. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic StreamSDKVersion getEvaluations(java.lang.String envId, java.lang.String flagKey) throws ApiException
envId
- The environment id for the flag evaluations in question. (required)flagKey
- The key of the flag we want metrics for. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<StreamSDKVersion> getEvaluationsWithHttpInfo(java.lang.String envId, java.lang.String flagKey) throws ApiException
envId
- The environment id for the flag evaluations in question. (required)flagKey
- The key of the flag we want metrics for. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getEvaluationsAsync(java.lang.String envId, java.lang.String flagKey, ApiCallback<StreamSDKVersion> callback) throws ApiException
envId
- The environment id for the flag evaluations in question. (required)flagKey
- The key of the flag we want metrics for. (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 getEventCall(java.lang.String type, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
type
- The type of event we would like to track. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic StreamSDKVersion getEvent(java.lang.String type) throws ApiException
type
- The type of event we would like to track. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<StreamSDKVersion> getEventWithHttpInfo(java.lang.String type) throws ApiException
type
- The type of event we would like to track. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getEventAsync(java.lang.String type, ApiCallback<StreamSDKVersion> callback) throws ApiException
type
- The type of event we would like to track. (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 getEventsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Events getEvents() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Events> getEventsWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getEventsAsync(ApiCallback<Events> callback) throws ApiException
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 getMAUCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic MAU getMAU() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<MAU> getMAUWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getMAUAsync(ApiCallback<MAU> callback) throws ApiException
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 getMAUByCategoryCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic MAUbyCategory getMAUByCategory() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<MAUbyCategory> getMAUByCategoryWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getMAUByCategoryAsync(ApiCallback<MAUbyCategory> callback) throws ApiException
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 getStreamCall(java.lang.String source, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
source
- The source of where the stream comes from. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Stream getStream(java.lang.String source) throws ApiException
source
- The source of where the stream comes from. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Stream> getStreamWithHttpInfo(java.lang.String source) throws ApiException
source
- The source of where the stream comes from. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getStreamAsync(java.lang.String source, ApiCallback<Stream> callback) throws ApiException
source
- The source of where the stream comes from. (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 getStreamBySDKCall(java.lang.String source, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
source
- The source of where the stream comes from. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic StreamBySDK getStreamBySDK(java.lang.String source) throws ApiException
source
- The source of where the stream comes from. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<StreamBySDK> getStreamBySDKWithHttpInfo(java.lang.String source) throws ApiException
source
- The source of where the stream comes from. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getStreamBySDKAsync(java.lang.String source, ApiCallback<StreamBySDK> callback) throws ApiException
source
- The source of where the stream comes from. (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 getStreamSDKVersionCall(java.lang.String source, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
source
- The source of where the stream comes from. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic StreamSDKVersion getStreamSDKVersion(java.lang.String source) throws ApiException
source
- The source of where the stream comes from. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<StreamSDKVersion> getStreamSDKVersionWithHttpInfo(java.lang.String source) throws ApiException
source
- The source of where the stream comes from. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getStreamSDKVersionAsync(java.lang.String source, ApiCallback<StreamSDKVersion> callback) throws ApiException
source
- The source of where the stream comes from. (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 getStreamsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Streams getStreams() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Streams> getStreamsWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getStreamsAsync(ApiCallback<Streams> callback) throws ApiException
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 getUsageCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Usage getUsage() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Usage> getUsageWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getUsageAsync(ApiCallback<Usage> callback) throws ApiException
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