Class AlertingApi

java.lang.Object
com.mypurecloud.sdk.v2.api.AlertingApi

public class AlertingApi extends Object
  • Constructor Details

    • AlertingApi

      public AlertingApi()
    • AlertingApi

      public AlertingApi(ApiClient apiClient)
  • Method Details

    • deleteAlertingAlert

      public void deleteAlertingAlert(String alertId) throws IOException, ApiException
      Delete an alert
      Parameters:
      alertId - Alert ID (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteAlertingAlertWithHttpInfo

      public ApiResponse<Void> deleteAlertingAlertWithHttpInfo(String alertId) throws IOException
      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 server
      IOException - if the request fails to be processed
    • deleteAlertingAlert

      public ApiResponse<Void> deleteAlertingAlert(ApiRequest<Void> request) throws IOException
      Delete an alert
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • deleteAlertingInteractionstatsAlert

      public void deleteAlertingInteractionstatsAlert(String alertId) throws IOException, ApiException
      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 server
      IOException - 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 server
      IOException - 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

      public void deleteAlertingInteractionstatsRule(String ruleId) throws IOException, ApiException
      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 server
      IOException - 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 server
      IOException - 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

      public void deleteAlertingRule(String ruleId) throws IOException, ApiException
      Delete a rule.
      Parameters:
      ruleId - Rule Id (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteAlertingRuleWithHttpInfo

      public ApiResponse<Void> deleteAlertingRuleWithHttpInfo(String ruleId) throws IOException
      Delete a rule.
      Parameters:
      ruleId - Rule Id (required)
      Throws:
      IOException - if the request fails to be processed
    • deleteAlertingRule

      public void deleteAlertingRule(DeleteAlertingRuleRequest request) throws IOException, ApiException
      Delete a rule.
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteAlertingRule

      public ApiResponse<Void> deleteAlertingRule(ApiRequest<Void> request) throws IOException
      Delete a rule.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getAlertingAlert

      public CommonAlert getAlertingAlert(String alertId) throws IOException, ApiException
      Get an alert
      Parameters:
      alertId - Alert ID (required)
      Returns:
      CommonAlert
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getAlertingAlertWithHttpInfo

      public ApiResponse<CommonAlert> getAlertingAlertWithHttpInfo(String alertId) throws IOException
      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 server
      IOException - if the request fails to be processed
    • getAlertingAlert

      public ApiResponse<CommonAlert> getAlertingAlert(ApiRequest<Void> request) throws IOException
      Get an alert
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getAlertingAlertsActive

      public ActiveAlertCount getAlertingAlertsActive() 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.
      Returns:
      ActiveAlertCount
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getAlertingAlertsActiveWithHttpInfo

      public ApiResponse<ActiveAlertCount> getAlertingAlertsActiveWithHttpInfo() 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.
      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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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

      public UnreadMetric getAlertingInteractionstatsAlertsUnread() 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.
      Returns:
      UnreadMetric
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getAlertingInteractionstatsAlertsUnreadWithHttpInfo

      public ApiResponse<UnreadMetric> getAlertingInteractionstatsAlertsUnreadWithHttpInfo() 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.
      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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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

      public CommonRule getAlertingRule(String ruleId) throws IOException, ApiException
      Get a rule.
      Parameters:
      ruleId - Rule Id (required)
      Returns:
      CommonRule
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getAlertingRuleWithHttpInfo

      public ApiResponse<CommonRule> getAlertingRuleWithHttpInfo(String ruleId) throws IOException
      Get a rule.
      Parameters:
      ruleId - Rule Id (required)
      Returns:
      CommonRule
      Throws:
      IOException - if the request fails to be processed
    • getAlertingRule

      public CommonRule getAlertingRule(GetAlertingRuleRequest request) throws IOException, ApiException
      Get a rule.
      Parameters:
      request - The request object
      Returns:
      CommonRule
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getAlertingRule

      public ApiResponse<CommonRule> getAlertingRule(ApiRequest<Void> request) throws IOException
      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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - if the request fails to be processed
    • patchAlertingRulesBulk

      Bulk update of notification lists
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postAlertingAlertsQuery

      public AlertListing postAlertingAlertsQuery(GetAlertQuery body) throws IOException, ApiException
      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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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

      public CommonRule postAlertingRules(CommonRule body) throws IOException, ApiException
      Create a Rule.
      Parameters:
      body - rule to be created (required)
      Returns:
      CommonRule
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postAlertingRulesWithHttpInfo

      public ApiResponse<CommonRule> postAlertingRulesWithHttpInfo(CommonRule body) throws IOException
      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 server
      IOException - if the request fails to be processed
    • postAlertingRules

      public ApiResponse<CommonRule> postAlertingRules(ApiRequest<CommonRule> request) throws IOException
      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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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 server
      IOException - 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

      public CommonRule putAlertingRule(PutAlertingRuleRequest request) throws IOException, ApiException
      Update a rule
      Parameters:
      request - The request object
      Returns:
      CommonRule
      Throws:
      ApiException - if the request fails on the server
      IOException - 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