public class AlertsApi
extends java.lang.Object
| Constructor and Description |
|---|
AlertsApi() |
AlertsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
GetAlertsPathsResponse |
getAlertsPaths(java.lang.String orgId,
java.lang.String modelId,
java.lang.Long startTimestamp,
java.lang.Long endTimestamp,
java.util.List<SegmentTag> segmentTags,
java.lang.String version)
Get the alerts for a given time period.
|
okhttp3.Call |
getAlertsPathsAsync(java.lang.String orgId,
java.lang.String modelId,
java.lang.Long startTimestamp,
java.lang.Long endTimestamp,
java.util.List<SegmentTag> segmentTags,
java.lang.String version,
ApiCallback<GetAlertsPathsResponse> _callback)
Get the alerts for a given time period.
|
okhttp3.Call |
getAlertsPathsCall(java.lang.String orgId,
java.lang.String modelId,
java.lang.Long startTimestamp,
java.lang.Long endTimestamp,
java.util.List<SegmentTag> segmentTags,
java.lang.String version,
ApiCallback _callback)
Build call for getAlertsPaths
|
ApiResponse<GetAlertsPathsResponse> |
getAlertsPathsWithHttpInfo(java.lang.String orgId,
java.lang.String modelId,
java.lang.Long startTimestamp,
java.lang.Long endTimestamp,
java.util.List<SegmentTag> segmentTags,
java.lang.String version)
Get the alerts for a given time period.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public AlertsApi()
public AlertsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call getAlertsPathsCall(java.lang.String orgId,
java.lang.String modelId,
java.lang.Long startTimestamp,
java.lang.Long endTimestamp,
java.util.List<SegmentTag> segmentTags,
java.lang.String version,
ApiCallback _callback)
throws ApiException
orgId - Your company's unique organization ID (required)modelId - The unique model ID in your company. The model is created if it doesn't exist already. (required)startTimestamp - Start time exclusive (required)endTimestamp - (required)segmentTags - List of (key, value) pair tags for a segment. Must not contain duplicate values (optional)version - the version of the alert in case we have multiple schemas (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 0 | a list of AlertsPath in the given time period, de-duped with the latest updated entries | - |
public GetAlertsPathsResponse getAlertsPaths(java.lang.String orgId, java.lang.String modelId, java.lang.Long startTimestamp, java.lang.Long endTimestamp, java.util.List<SegmentTag> segmentTags, java.lang.String version) throws ApiException
orgId - Your company's unique organization ID (required)modelId - The unique model ID in your company. The model is created if it doesn't exist already. (required)startTimestamp - Start time exclusive (required)endTimestamp - (required)segmentTags - List of (key, value) pair tags for a segment. Must not contain duplicate values (optional)version - the version of the alert in case we have multiple schemas (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 0 | a list of AlertsPath in the given time period, de-duped with the latest updated entries | - |
public ApiResponse<GetAlertsPathsResponse> getAlertsPathsWithHttpInfo(java.lang.String orgId, java.lang.String modelId, java.lang.Long startTimestamp, java.lang.Long endTimestamp, java.util.List<SegmentTag> segmentTags, java.lang.String version) throws ApiException
orgId - Your company's unique organization ID (required)modelId - The unique model ID in your company. The model is created if it doesn't exist already. (required)startTimestamp - Start time exclusive (required)endTimestamp - (required)segmentTags - List of (key, value) pair tags for a segment. Must not contain duplicate values (optional)version - the version of the alert in case we have multiple schemas (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 0 | a list of AlertsPath in the given time period, de-duped with the latest updated entries | - |
public okhttp3.Call getAlertsPathsAsync(java.lang.String orgId,
java.lang.String modelId,
java.lang.Long startTimestamp,
java.lang.Long endTimestamp,
java.util.List<SegmentTag> segmentTags,
java.lang.String version,
ApiCallback<GetAlertsPathsResponse> _callback)
throws ApiException
orgId - Your company's unique organization ID (required)modelId - The unique model ID in your company. The model is created if it doesn't exist already. (required)startTimestamp - Start time exclusive (required)endTimestamp - (required)segmentTags - List of (key, value) pair tags for a segment. Must not contain duplicate values (optional)version - the version of the alert in case we have multiple schemas (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| Status Code | Description | Response Headers |
| 0 | a list of AlertsPath in the given time period, de-duped with the latest updated entries | - |