Package com.veeroute.lss.monitor.api
Class AnalyticsApi
java.lang.Object
com.veeroute.lss.monitor.api.AnalyticsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateAnalyticsOverview(List<UUID> UUID, OffsetDateTime from, OffsetDateTime to) Analytics for the period Analytics for the period.okhttp3.CallgenerateAnalyticsOverviewAsync(List<UUID> UUID, OffsetDateTime from, OffsetDateTime to, ApiCallback<AnalyticsOverview> _callback) Analytics for the period (asynchronously) Analytics for the period.okhttp3.CallgenerateAnalyticsOverviewCall(List<UUID> UUID, OffsetDateTime from, OffsetDateTime to, ApiCallback _callback) Build call for generateAnalyticsOverviewgenerateAnalyticsOverviewWithHttpInfo(List<UUID> UUID, OffsetDateTime from, OffsetDateTime to) Analytics for the period Analytics for the period.intvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
AnalyticsApi
public AnalyticsApi() -
AnalyticsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
generateAnalyticsOverviewCall
public okhttp3.Call generateAnalyticsOverviewCall(@Nonnull List<UUID> UUID, @Nullable OffsetDateTime from, @Nullable OffsetDateTime to, ApiCallback _callback) throws ApiException Build call for generateAnalyticsOverview- Parameters:
UUID- Wave keys list. (required)from- Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If no datetime is specified, audit data are returned from the beginning of the day. (optional)to- Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If not specified, data up to the current time is returned. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful execution - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
generateAnalyticsOverview
public AnalyticsOverview generateAnalyticsOverview(@Nonnull List<UUID> UUID, @Nullable OffsetDateTime from, @Nullable OffsetDateTime to) throws ApiException Analytics for the period Analytics for the period.- Parameters:
UUID- Wave keys list. (required)from- Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If no datetime is specified, audit data are returned from the beginning of the day. (optional)to- Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If not specified, data up to the current time is returned. (optional)- Returns:
- AnalyticsOverview
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful execution - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
generateAnalyticsOverviewWithHttpInfo
public ApiResponse<AnalyticsOverview> generateAnalyticsOverviewWithHttpInfo(@Nonnull List<UUID> UUID, @Nullable OffsetDateTime from, @Nullable OffsetDateTime to) throws ApiException Analytics for the period Analytics for the period.- Parameters:
UUID- Wave keys list. (required)from- Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If no datetime is specified, audit data are returned from the beginning of the day. (optional)to- Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If not specified, data up to the current time is returned. (optional)- Returns:
- ApiResponse<AnalyticsOverview>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful execution - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
generateAnalyticsOverviewAsync
public okhttp3.Call generateAnalyticsOverviewAsync(@Nonnull List<UUID> UUID, @Nullable OffsetDateTime from, @Nullable OffsetDateTime to, ApiCallback<AnalyticsOverview> _callback) throws ApiException Analytics for the period (asynchronously) Analytics for the period.- Parameters:
UUID- Wave keys list. (required)from- Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If no datetime is specified, audit data are returned from the beginning of the day. (optional)to- Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If not specified, data up to the current time is returned. (optional)_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
Response Details Status Code Description Response Headers 200 Successful execution - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-