Package com.mypurecloud.sdk.v2.api
Class AlertingApi
java.lang.Object
com.mypurecloud.sdk.v2.api.AlertingApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDelete an alertdeleteAlertingAlert(ApiRequest<Void> request) Delete an alertvoiddeleteAlertingAlert(String alertId) Delete an alertdeleteAlertingAlertWithHttpInfo(String alertId) Delete an alertvoidDeprecated.Deprecated.voidDeprecated.Deprecated.voidDeprecated.deleteAlertingInteractionstatsRule(ApiRequest<Void> request) Deprecated.voidDeprecated.Deprecated.voidDelete a rule.deleteAlertingRule(ApiRequest<Void> request) Delete a rule.voiddeleteAlertingRule(String ruleId) Delete a rule.deleteAlertingRuleWithHttpInfo(String ruleId) Delete a rule.getAlertingAlert(GetAlertingAlertRequest request) Get an alertgetAlertingAlert(ApiRequest<Void> request) Get an alertgetAlertingAlert(String alertId) Get an alertDeprecated.Deprecated.getAlertingAlertsActive(ApiRequest<Void> request) Deprecated.Deprecated.getAlertingAlertWithHttpInfo(String alertId) Get an alertDeprecated.getAlertingInteractionstatsAlert(ApiRequest<Void> request) Deprecated.getAlertingInteractionstatsAlert(String alertId, List<String> expand) Deprecated.Deprecated.getAlertingInteractionstatsAlerts(ApiRequest<Void> request) Deprecated.getAlertingInteractionstatsAlerts(List<String> expand) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getAlertingInteractionstatsAlertWithHttpInfo(String alertId, List<String> expand) Deprecated.Deprecated.getAlertingInteractionstatsRule(ApiRequest<Void> request) Deprecated.getAlertingInteractionstatsRule(String ruleId, List<String> expand) Deprecated.Deprecated.getAlertingInteractionstatsRules(ApiRequest<Void> request) Deprecated.getAlertingInteractionstatsRules(List<String> expand) Deprecated.Deprecated.getAlertingInteractionstatsRuleWithHttpInfo(String ruleId, List<String> expand) Deprecated.getAlertingRule(GetAlertingRuleRequest request) Get a rule.getAlertingRule(ApiRequest<Void> request) Get a rule.getAlertingRule(String ruleId) Get a rule.getAlertingRuleWithHttpInfo(String ruleId) Get a rule.Allows an entity to mute/snooze an alert or update the unread status of the alert.patchAlertingAlert(ApiRequest<AlertRequest> request) Allows an entity to mute/snooze an alert or update the unread status of the alert.patchAlertingAlert(String alertId, AlertRequest body) Allows an entity to mute/snooze an alert or update the unread status of the alert.Bulk alert updatesBulk alert updatesBulk alert updatesBulk alert updatespatchAlertingAlertWithHttpInfo(String alertId, AlertRequest body) Allows an entity to mute/snooze an alert or update the unread status of the alert.Bulk update of notification listsBulk update of notification listsBulk update of notification listsBulk update of notification listsGets a paged list of alerts.postAlertingAlertsQuery(ApiRequest<GetAlertQuery> request) Gets a paged list of alerts.Gets a paged list of alerts.Gets a paged list of alerts.Deprecated.Deprecated.postAlertingInteractionstatsRules(InteractionStatsRule body, List<String> expand) Deprecated.Deprecated.Create a Rule.postAlertingRules(ApiRequest<CommonRule> request) Create a Rule.postAlertingRules(CommonRule body) Create a Rule.Bulk remove rulesBulk remove rulesBulk remove rulesBulk remove rulesGet a paged list of rules.postAlertingRulesQuery(ApiRequest<GetRulesQuery> request) Get a paged list of rules.Get a paged list of rules.Get a paged list of rules.Create a Rule.putAlertingAlert(PutAlertingAlertRequest request) Update an alert read statusputAlertingAlert(ApiRequest<AlertingUnreadStatus> request) Update an alert read statusputAlertingAlert(String alertId, AlertingUnreadStatus body) Update an alert read statusputAlertingAlertWithHttpInfo(String alertId, AlertingUnreadStatus body) Update an alert read statusDeprecated.Deprecated.putAlertingInteractionstatsAlert(String alertId, UnreadStatus body, List<String> expand) Deprecated.putAlertingInteractionstatsAlertWithHttpInfo(String alertId, UnreadStatus body, List<String> expand) Deprecated.Deprecated.Deprecated.putAlertingInteractionstatsRule(String ruleId, InteractionStatsRule body, List<String> expand) Deprecated.putAlertingInteractionstatsRuleWithHttpInfo(String ruleId, InteractionStatsRule body, List<String> expand) Deprecated.putAlertingRule(PutAlertingRuleRequest request) Update a ruleUpdate a ruleputAlertingRule(String ruleId, ModifiableRuleProperties body) Update a ruleputAlertingRuleWithHttpInfo(String ruleId, ModifiableRuleProperties body) Update a rule
-
Constructor Details
-
AlertingApi
public AlertingApi() -
AlertingApi
-
-
Method Details
-
deleteAlertingAlert
Delete an alert- Parameters:
alertId- Alert ID (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteAlertingAlertWithHttpInfo
Delete an alert- Parameters:
alertId- Alert ID (required)- Throws:
IOException- if the request fails to be processed
-
deleteAlertingAlert
public void deleteAlertingAlert(DeleteAlertingAlertRequest request) throws IOException, ApiException Delete an alert- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteAlertingAlert
Delete an alert- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
deleteAlertingInteractionstatsAlert
Deprecated.Delete an interaction stats alert Apps should migrate to use DELETE /api/v2/alerting/alerts/{alertId}.- Parameters:
alertId- Alert ID (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteAlertingInteractionstatsAlertWithHttpInfo
public ApiResponse<Void> deleteAlertingInteractionstatsAlertWithHttpInfo(String alertId) throws IOException Deprecated.Delete an interaction stats alert Apps should migrate to use DELETE /api/v2/alerting/alerts/{alertId}.- Parameters:
alertId- Alert ID (required)- Throws:
IOException- if the request fails to be processed
-
deleteAlertingInteractionstatsAlert
public void deleteAlertingInteractionstatsAlert(DeleteAlertingInteractionstatsAlertRequest request) throws IOException, ApiException Deprecated.Delete an interaction stats alert Apps should migrate to use DELETE /api/v2/alerting/alerts/{alertId}.- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteAlertingInteractionstatsAlert
public ApiResponse<Void> deleteAlertingInteractionstatsAlert(ApiRequest<Void> request) throws IOException Deprecated.Delete an interaction stats alert Apps should migrate to use DELETE /api/v2/alerting/alerts/{alertId}.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
deleteAlertingInteractionstatsRule
Deprecated.Delete an interaction stats rule Apps should migrate to use DELETE /api/v2/alerting/rules/{ruleId}.- Parameters:
ruleId- Rule ID (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteAlertingInteractionstatsRuleWithHttpInfo
public ApiResponse<Void> deleteAlertingInteractionstatsRuleWithHttpInfo(String ruleId) throws IOException Deprecated.Delete an interaction stats rule Apps should migrate to use DELETE /api/v2/alerting/rules/{ruleId}.- Parameters:
ruleId- Rule ID (required)- Throws:
IOException- if the request fails to be processed
-
deleteAlertingInteractionstatsRule
public void deleteAlertingInteractionstatsRule(DeleteAlertingInteractionstatsRuleRequest request) throws IOException, ApiException Deprecated.Delete an interaction stats rule Apps should migrate to use DELETE /api/v2/alerting/rules/{ruleId}.- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteAlertingInteractionstatsRule
public ApiResponse<Void> deleteAlertingInteractionstatsRule(ApiRequest<Void> request) throws IOException Deprecated.Delete an interaction stats rule Apps should migrate to use DELETE /api/v2/alerting/rules/{ruleId}.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
deleteAlertingRule
Delete a rule.- Parameters:
ruleId- Rule Id (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteAlertingRuleWithHttpInfo
Delete a rule.- Parameters:
ruleId- Rule Id (required)- Throws:
IOException- if the request fails to be processed
-
deleteAlertingRule
Delete a rule.- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteAlertingRule
Delete a rule.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getAlertingAlert
Get an alert- Parameters:
alertId- Alert ID (required)- Returns:
- CommonAlert
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getAlertingAlertWithHttpInfo
Get an alert- Parameters:
alertId- Alert ID (required)- Returns:
- CommonAlert
- Throws:
IOException- if the request fails to be processed
-
getAlertingAlert
public CommonAlert getAlertingAlert(GetAlertingAlertRequest request) throws IOException, ApiException Get an alert- Parameters:
request- The request object- Returns:
- CommonAlert
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getAlertingAlert
Get an alert- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getAlertingAlertsActive
Deprecated.Gets active alert count for a user Apps should migrate to use POST /api/v2/alerting/alerts/query with the queryType set to 'Count' and alertStatus to 'Active' in the request body.- Returns:
- ActiveAlertCount
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getAlertingAlertsActiveWithHttpInfo
Deprecated.Gets active alert count for a user Apps should migrate to use POST /api/v2/alerting/alerts/query with the queryType set to 'Count' and alertStatus to 'Active' in the request body.- Returns:
- ActiveAlertCount
- Throws:
IOException- if the request fails to be processed
-
getAlertingAlertsActive
public ActiveAlertCount getAlertingAlertsActive(GetAlertingAlertsActiveRequest request) throws IOException, ApiException Deprecated.Gets active alert count for a user Apps should migrate to use POST /api/v2/alerting/alerts/query with the queryType set to 'Count' and alertStatus to 'Active' in the request body.- Parameters:
request- The request object- Returns:
- ActiveAlertCount
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getAlertingAlertsActive
public ApiResponse<ActiveAlertCount> getAlertingAlertsActive(ApiRequest<Void> request) throws IOException Deprecated.Gets active alert count for a user Apps should migrate to use POST /api/v2/alerting/alerts/query with the queryType set to 'Count' and alertStatus to 'Active' in the request body.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getAlertingInteractionstatsAlert
public InteractionStatsAlert getAlertingInteractionstatsAlert(String alertId, List<String> expand) throws IOException, ApiException Deprecated.Get an interaction stats alert Apps should migrate to use GET /api/v2/alerting/alerts/{alertId}.- Parameters:
alertId- Alert ID (required)expand- Which fields, if any, to expand (optional)- Returns:
- InteractionStatsAlert
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getAlertingInteractionstatsAlertWithHttpInfo
public ApiResponse<InteractionStatsAlert> getAlertingInteractionstatsAlertWithHttpInfo(String alertId, List<String> expand) throws IOException Deprecated.Get an interaction stats alert Apps should migrate to use GET /api/v2/alerting/alerts/{alertId}.- Parameters:
alertId- Alert ID (required)expand- Which fields, if any, to expand (optional)- Returns:
- InteractionStatsAlert
- Throws:
IOException- if the request fails to be processed
-
getAlertingInteractionstatsAlert
public InteractionStatsAlert getAlertingInteractionstatsAlert(GetAlertingInteractionstatsAlertRequest request) throws IOException, ApiException Deprecated.Get an interaction stats alert Apps should migrate to use GET /api/v2/alerting/alerts/{alertId}.- Parameters:
request- The request object- Returns:
- InteractionStatsAlert
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getAlertingInteractionstatsAlert
public ApiResponse<InteractionStatsAlert> getAlertingInteractionstatsAlert(ApiRequest<Void> request) throws IOException Deprecated.Get an interaction stats alert Apps should migrate to use GET /api/v2/alerting/alerts/{alertId}.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getAlertingInteractionstatsAlerts
public InteractionStatsAlertContainer getAlertingInteractionstatsAlerts(List<String> expand) throws IOException, ApiException Deprecated.Get interaction stats alert list Apps should migrate to use POST /api/v2/alerting/alerts/query.- Parameters:
expand- Which fields, if any, to expand (optional)- Returns:
- InteractionStatsAlertContainer
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getAlertingInteractionstatsAlertsWithHttpInfo
public ApiResponse<InteractionStatsAlertContainer> getAlertingInteractionstatsAlertsWithHttpInfo(List<String> expand) throws IOException Deprecated.Get interaction stats alert list Apps should migrate to use POST /api/v2/alerting/alerts/query.- Parameters:
expand- Which fields, if any, to expand (optional)- Returns:
- InteractionStatsAlertContainer
- Throws:
IOException- if the request fails to be processed
-
getAlertingInteractionstatsAlerts
public InteractionStatsAlertContainer getAlertingInteractionstatsAlerts(GetAlertingInteractionstatsAlertsRequest request) throws IOException, ApiException Deprecated.Get interaction stats alert list Apps should migrate to use POST /api/v2/alerting/alerts/query.- Parameters:
request- The request object- Returns:
- InteractionStatsAlertContainer
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getAlertingInteractionstatsAlerts
public ApiResponse<InteractionStatsAlertContainer> getAlertingInteractionstatsAlerts(ApiRequest<Void> request) throws IOException Deprecated.Get interaction stats alert list Apps should migrate to use POST /api/v2/alerting/alerts/query.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getAlertingInteractionstatsAlertsUnread
Deprecated.Gets user unread count of interaction stats alerts Apps should migrate to use POST /api/v2/alerting/alerts/query with the queryType set to 'Count' and viewStatus to 'Unread' in the request body.- Returns:
- UnreadMetric
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getAlertingInteractionstatsAlertsUnreadWithHttpInfo
public ApiResponse<UnreadMetric> getAlertingInteractionstatsAlertsUnreadWithHttpInfo() throws IOExceptionDeprecated.Gets user unread count of interaction stats alerts Apps should migrate to use POST /api/v2/alerting/alerts/query with the queryType set to 'Count' and viewStatus to 'Unread' in the request body.- Returns:
- UnreadMetric
- Throws:
IOException- if the request fails to be processed
-
getAlertingInteractionstatsAlertsUnread
public UnreadMetric getAlertingInteractionstatsAlertsUnread(GetAlertingInteractionstatsAlertsUnreadRequest request) throws IOException, ApiException Deprecated.Gets user unread count of interaction stats alerts Apps should migrate to use POST /api/v2/alerting/alerts/query with the queryType set to 'Count' and viewStatus to 'Unread' in the request body.- Parameters:
request- The request object- Returns:
- UnreadMetric
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getAlertingInteractionstatsAlertsUnread
public ApiResponse<UnreadMetric> getAlertingInteractionstatsAlertsUnread(ApiRequest<Void> request) throws IOException Deprecated.Gets user unread count of interaction stats alerts Apps should migrate to use POST /api/v2/alerting/alerts/query with the queryType set to 'Count' and viewStatus to 'Unread' in the request body.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getAlertingInteractionstatsRule
public InteractionStatsRule getAlertingInteractionstatsRule(String ruleId, List<String> expand) throws IOException, ApiException Deprecated.Get an interaction stats rule Apps should migrate to use GET /api/v2/alerting/rules/{ruleId}.- Parameters:
ruleId- Rule ID (required)expand- Which fields, if any, to expand (optional)- Returns:
- InteractionStatsRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getAlertingInteractionstatsRuleWithHttpInfo
public ApiResponse<InteractionStatsRule> getAlertingInteractionstatsRuleWithHttpInfo(String ruleId, List<String> expand) throws IOException Deprecated.Get an interaction stats rule Apps should migrate to use GET /api/v2/alerting/rules/{ruleId}.- Parameters:
ruleId- Rule ID (required)expand- Which fields, if any, to expand (optional)- Returns:
- InteractionStatsRule
- Throws:
IOException- if the request fails to be processed
-
getAlertingInteractionstatsRule
public InteractionStatsRule getAlertingInteractionstatsRule(GetAlertingInteractionstatsRuleRequest request) throws IOException, ApiException Deprecated.Get an interaction stats rule Apps should migrate to use GET /api/v2/alerting/rules/{ruleId}.- Parameters:
request- The request object- Returns:
- InteractionStatsRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getAlertingInteractionstatsRule
public ApiResponse<InteractionStatsRule> getAlertingInteractionstatsRule(ApiRequest<Void> request) throws IOException Deprecated.Get an interaction stats rule Apps should migrate to use GET /api/v2/alerting/rules/{ruleId}.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getAlertingInteractionstatsRules
public InteractionStatsRuleContainer getAlertingInteractionstatsRules(List<String> expand) throws IOException, ApiException Deprecated.Get an interaction stats rule list Apps should migrate to use POST /api/v2/alerting/rules/query.- Parameters:
expand- Which fields, if any, to expand (optional)- Returns:
- InteractionStatsRuleContainer
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getAlertingInteractionstatsRulesWithHttpInfo
public ApiResponse<InteractionStatsRuleContainer> getAlertingInteractionstatsRulesWithHttpInfo(List<String> expand) throws IOException Deprecated.Get an interaction stats rule list Apps should migrate to use POST /api/v2/alerting/rules/query.- Parameters:
expand- Which fields, if any, to expand (optional)- Returns:
- InteractionStatsRuleContainer
- Throws:
IOException- if the request fails to be processed
-
getAlertingInteractionstatsRules
public InteractionStatsRuleContainer getAlertingInteractionstatsRules(GetAlertingInteractionstatsRulesRequest request) throws IOException, ApiException Deprecated.Get an interaction stats rule list Apps should migrate to use POST /api/v2/alerting/rules/query.- Parameters:
request- The request object- Returns:
- InteractionStatsRuleContainer
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getAlertingInteractionstatsRules
public ApiResponse<InteractionStatsRuleContainer> getAlertingInteractionstatsRules(ApiRequest<Void> request) throws IOException Deprecated.Get an interaction stats rule list Apps should migrate to use POST /api/v2/alerting/rules/query.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getAlertingRule
Get a rule.- Parameters:
ruleId- Rule Id (required)- Returns:
- CommonRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getAlertingRuleWithHttpInfo
Get a rule.- Parameters:
ruleId- Rule Id (required)- Returns:
- CommonRule
- Throws:
IOException- if the request fails to be processed
-
getAlertingRule
Get a rule.- Parameters:
request- The request object- Returns:
- CommonRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getAlertingRule
Get a rule.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
patchAlertingAlert
public CommonAlert patchAlertingAlert(String alertId, AlertRequest body) throws IOException, ApiException Allows an entity to mute/snooze an alert or update the unread status of the alert. Snoozing an alert temporarily stop it from resending notifications to individualsas well as other services within Genesys Cloud for a given period. Muting an alert will only block the notifications to individuals.- Parameters:
alertId- Alert ID (required)body- (optional)- Returns:
- CommonAlert
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchAlertingAlertWithHttpInfo
public ApiResponse<CommonAlert> patchAlertingAlertWithHttpInfo(String alertId, AlertRequest body) throws IOException Allows an entity to mute/snooze an alert or update the unread status of the alert. Snoozing an alert temporarily stop it from resending notifications to individualsas well as other services within Genesys Cloud for a given period. Muting an alert will only block the notifications to individuals.- Parameters:
alertId- Alert ID (required)body- (optional)- Returns:
- CommonAlert
- Throws:
IOException- if the request fails to be processed
-
patchAlertingAlert
public CommonAlert patchAlertingAlert(PatchAlertingAlertRequest request) throws IOException, ApiException Allows an entity to mute/snooze an alert or update the unread status of the alert. Snoozing an alert temporarily stop it from resending notifications to individualsas well as other services within Genesys Cloud for a given period. Muting an alert will only block the notifications to individuals.- Parameters:
request- The request object- Returns:
- CommonAlert
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchAlertingAlert
public ApiResponse<CommonAlert> patchAlertingAlert(ApiRequest<AlertRequest> request) throws IOException Allows an entity to mute/snooze an alert or update the unread status of the alert. Snoozing an alert temporarily stop it from resending notifications to individualsas well as other services within Genesys Cloud for a given period. Muting an alert will only block the notifications to individuals.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
patchAlertingAlertsBulk
public BulkResponse patchAlertingAlertsBulk(CommonAlertBulkUpdateRequest body) throws IOException, ApiException Bulk alert updates- Parameters:
body- (required)- Returns:
- BulkResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchAlertingAlertsBulkWithHttpInfo
public ApiResponse<BulkResponse> patchAlertingAlertsBulkWithHttpInfo(CommonAlertBulkUpdateRequest body) throws IOException Bulk alert updates- Parameters:
body- (required)- Returns:
- BulkResponse
- Throws:
IOException- if the request fails to be processed
-
patchAlertingAlertsBulk
public BulkResponse patchAlertingAlertsBulk(PatchAlertingAlertsBulkRequest request) throws IOException, ApiException Bulk alert updates- Parameters:
request- The request object- Returns:
- BulkResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchAlertingAlertsBulk
public ApiResponse<BulkResponse> patchAlertingAlertsBulk(ApiRequest<CommonAlertBulkUpdateRequest> request) throws IOException Bulk alert updates- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
patchAlertingRulesBulk
public BulkResponse patchAlertingRulesBulk(CommonRuleBulkUpdateNotificationsRequest body) throws IOException, ApiException Bulk update of notification lists- Parameters:
body- (required)- Returns:
- BulkResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchAlertingRulesBulkWithHttpInfo
public ApiResponse<BulkResponse> patchAlertingRulesBulkWithHttpInfo(CommonRuleBulkUpdateNotificationsRequest body) throws IOException Bulk update of notification lists- Parameters:
body- (required)- Returns:
- BulkResponse
- Throws:
IOException- if the request fails to be processed
-
patchAlertingRulesBulk
public BulkResponse patchAlertingRulesBulk(PatchAlertingRulesBulkRequest request) throws IOException, ApiException Bulk update of notification lists- Parameters:
request- The request object- Returns:
- BulkResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchAlertingRulesBulk
public ApiResponse<BulkResponse> patchAlertingRulesBulk(ApiRequest<CommonRuleBulkUpdateNotificationsRequest> request) throws IOException Bulk update of notification lists- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postAlertingAlertsQuery
Gets a paged list of alerts. The max page size is 50- Parameters:
body- (optional)- Returns:
- AlertListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postAlertingAlertsQueryWithHttpInfo
public ApiResponse<AlertListing> postAlertingAlertsQueryWithHttpInfo(GetAlertQuery body) throws IOException Gets a paged list of alerts. The max page size is 50- Parameters:
body- (optional)- Returns:
- AlertListing
- Throws:
IOException- if the request fails to be processed
-
postAlertingAlertsQuery
public AlertListing postAlertingAlertsQuery(PostAlertingAlertsQueryRequest request) throws IOException, ApiException Gets a paged list of alerts. The max page size is 50- Parameters:
request- The request object- Returns:
- AlertListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postAlertingAlertsQuery
public ApiResponse<AlertListing> postAlertingAlertsQuery(ApiRequest<GetAlertQuery> request) throws IOException Gets a paged list of alerts. The max page size is 50- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postAlertingInteractionstatsRules
public InteractionStatsRule postAlertingInteractionstatsRules(InteractionStatsRule body, List<String> expand) throws IOException, ApiException Deprecated.Create an interaction stats rule Apps should migrate to use POST /api/v2/alerting/rules.- Parameters:
body- AlertingRule (required)expand- Which fields, if any, to expand (optional)- Returns:
- InteractionStatsRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postAlertingInteractionstatsRulesWithHttpInfo
public ApiResponse<InteractionStatsRule> postAlertingInteractionstatsRulesWithHttpInfo(InteractionStatsRule body, List<String> expand) throws IOException Deprecated.Create an interaction stats rule Apps should migrate to use POST /api/v2/alerting/rules.- Parameters:
body- AlertingRule (required)expand- Which fields, if any, to expand (optional)- Returns:
- InteractionStatsRule
- Throws:
IOException- if the request fails to be processed
-
postAlertingInteractionstatsRules
public InteractionStatsRule postAlertingInteractionstatsRules(PostAlertingInteractionstatsRulesRequest request) throws IOException, ApiException Deprecated.Create an interaction stats rule Apps should migrate to use POST /api/v2/alerting/rules.- Parameters:
request- The request object- Returns:
- InteractionStatsRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postAlertingInteractionstatsRules
public ApiResponse<InteractionStatsRule> postAlertingInteractionstatsRules(ApiRequest<InteractionStatsRule> request) throws IOException Deprecated.Create an interaction stats rule Apps should migrate to use POST /api/v2/alerting/rules.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postAlertingRules
Create a Rule.- Parameters:
body- rule to be created (required)- Returns:
- CommonRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postAlertingRulesWithHttpInfo
Create a Rule.- Parameters:
body- rule to be created (required)- Returns:
- CommonRule
- Throws:
IOException- if the request fails to be processed
-
postAlertingRules
public CommonRule postAlertingRules(PostAlertingRulesRequest request) throws IOException, ApiException Create a Rule.- Parameters:
request- The request object- Returns:
- CommonRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postAlertingRules
Create a Rule.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postAlertingRulesBulkRemove
public BulkResponse postAlertingRulesBulkRemove(CommonRuleBulkDeleteRequest body) throws IOException, ApiException Bulk remove rules- Parameters:
body- (required)- Returns:
- BulkResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postAlertingRulesBulkRemoveWithHttpInfo
public ApiResponse<BulkResponse> postAlertingRulesBulkRemoveWithHttpInfo(CommonRuleBulkDeleteRequest body) throws IOException Bulk remove rules- Parameters:
body- (required)- Returns:
- BulkResponse
- Throws:
IOException- if the request fails to be processed
-
postAlertingRulesBulkRemove
public BulkResponse postAlertingRulesBulkRemove(PostAlertingRulesBulkRemoveRequest request) throws IOException, ApiException Bulk remove rules- Parameters:
request- The request object- Returns:
- BulkResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postAlertingRulesBulkRemove
public ApiResponse<BulkResponse> postAlertingRulesBulkRemove(ApiRequest<CommonRuleBulkDeleteRequest> request) throws IOException Bulk remove rules- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postAlertingRulesQuery
public CommonRuleContainer postAlertingRulesQuery(GetRulesQuery body) throws IOException, ApiException Get a paged list of rules. The max size of the page is 50 items.- Parameters:
body- (optional)- Returns:
- CommonRuleContainer
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postAlertingRulesQueryWithHttpInfo
public ApiResponse<CommonRuleContainer> postAlertingRulesQueryWithHttpInfo(GetRulesQuery body) throws IOException Get a paged list of rules. The max size of the page is 50 items.- Parameters:
body- (optional)- Returns:
- CommonRuleContainer
- Throws:
IOException- if the request fails to be processed
-
postAlertingRulesQuery
public CommonRuleContainer postAlertingRulesQuery(PostAlertingRulesQueryRequest request) throws IOException, ApiException Get a paged list of rules. The max size of the page is 50 items.- Parameters:
request- The request object- Returns:
- CommonRuleContainer
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postAlertingRulesQuery
public ApiResponse<CommonRuleContainer> postAlertingRulesQuery(ApiRequest<GetRulesQuery> request) throws IOException Get a paged list of rules. The max size of the page is 50 items.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
putAlertingAlert
public UnreadStatus putAlertingAlert(String alertId, AlertingUnreadStatus body) throws IOException, ApiException Update an alert read status- Parameters:
alertId- Alert ID (required)body- (optional)- Returns:
- UnreadStatus
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putAlertingAlertWithHttpInfo
public ApiResponse<UnreadStatus> putAlertingAlertWithHttpInfo(String alertId, AlertingUnreadStatus body) throws IOException Update an alert read status- Parameters:
alertId- Alert ID (required)body- (optional)- Returns:
- UnreadStatus
- Throws:
IOException- if the request fails to be processed
-
putAlertingAlert
public UnreadStatus putAlertingAlert(PutAlertingAlertRequest request) throws IOException, ApiException Update an alert read status- Parameters:
request- The request object- Returns:
- UnreadStatus
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putAlertingAlert
public ApiResponse<UnreadStatus> putAlertingAlert(ApiRequest<AlertingUnreadStatus> request) throws IOException Update an alert read status- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
putAlertingInteractionstatsAlert
public UnreadStatus putAlertingInteractionstatsAlert(String alertId, UnreadStatus body, List<String> expand) throws IOException, ApiException Deprecated.Update an interaction stats alert read status Apps should migrate to use PUT /api/v2/alerting/alerts/{alertId}.- Parameters:
alertId- Alert ID (required)body- InteractionStatsAlert (required)expand- Which fields, if any, to expand (optional)- Returns:
- UnreadStatus
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putAlertingInteractionstatsAlertWithHttpInfo
public ApiResponse<UnreadStatus> putAlertingInteractionstatsAlertWithHttpInfo(String alertId, UnreadStatus body, List<String> expand) throws IOException Deprecated.Update an interaction stats alert read status Apps should migrate to use PUT /api/v2/alerting/alerts/{alertId}.- Parameters:
alertId- Alert ID (required)body- InteractionStatsAlert (required)expand- Which fields, if any, to expand (optional)- Returns:
- UnreadStatus
- Throws:
IOException- if the request fails to be processed
-
putAlertingInteractionstatsAlert
public UnreadStatus putAlertingInteractionstatsAlert(PutAlertingInteractionstatsAlertRequest request) throws IOException, ApiException Deprecated.Update an interaction stats alert read status Apps should migrate to use PUT /api/v2/alerting/alerts/{alertId}.- Parameters:
request- The request object- Returns:
- UnreadStatus
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putAlertingInteractionstatsAlert
public ApiResponse<UnreadStatus> putAlertingInteractionstatsAlert(ApiRequest<UnreadStatus> request) throws IOException Deprecated.Update an interaction stats alert read status Apps should migrate to use PUT /api/v2/alerting/alerts/{alertId}.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
putAlertingInteractionstatsRule
public InteractionStatsRule putAlertingInteractionstatsRule(String ruleId, InteractionStatsRule body, List<String> expand) throws IOException, ApiException Deprecated.Update an interaction stats rule Apps should migrate to use PUT /api/v2/alerting/rules/{ruleId}.- Parameters:
ruleId- Rule ID (required)body- AlertingRule (required)expand- Which fields, if any, to expand (optional)- Returns:
- InteractionStatsRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putAlertingInteractionstatsRuleWithHttpInfo
public ApiResponse<InteractionStatsRule> putAlertingInteractionstatsRuleWithHttpInfo(String ruleId, InteractionStatsRule body, List<String> expand) throws IOException Deprecated.Update an interaction stats rule Apps should migrate to use PUT /api/v2/alerting/rules/{ruleId}.- Parameters:
ruleId- Rule ID (required)body- AlertingRule (required)expand- Which fields, if any, to expand (optional)- Returns:
- InteractionStatsRule
- Throws:
IOException- if the request fails to be processed
-
putAlertingInteractionstatsRule
public InteractionStatsRule putAlertingInteractionstatsRule(PutAlertingInteractionstatsRuleRequest request) throws IOException, ApiException Deprecated.Update an interaction stats rule Apps should migrate to use PUT /api/v2/alerting/rules/{ruleId}.- Parameters:
request- The request object- Returns:
- InteractionStatsRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putAlertingInteractionstatsRule
public ApiResponse<InteractionStatsRule> putAlertingInteractionstatsRule(ApiRequest<InteractionStatsRule> request) throws IOException Deprecated.Update an interaction stats rule Apps should migrate to use PUT /api/v2/alerting/rules/{ruleId}.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
putAlertingRule
public CommonRule putAlertingRule(String ruleId, ModifiableRuleProperties body) throws IOException, ApiException Update a rule- Parameters:
ruleId- Rule Id (required)body- rule to be updated (required)- Returns:
- CommonRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putAlertingRuleWithHttpInfo
public ApiResponse<CommonRule> putAlertingRuleWithHttpInfo(String ruleId, ModifiableRuleProperties body) throws IOException Update a rule- Parameters:
ruleId- Rule Id (required)body- rule to be updated (required)- Returns:
- CommonRule
- Throws:
IOException- if the request fails to be processed
-
putAlertingRule
Update a rule- Parameters:
request- The request object- Returns:
- CommonRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
putAlertingRule
public ApiResponse<CommonRule> putAlertingRule(ApiRequest<ModifiableRuleProperties> request) throws IOException Update a rule- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-