lib/purecloudplatformclientv2/api/alerting_api.rb in purecloudplatformclientv2-8.0.0 vs lib/purecloudplatformclientv2/api/alerting_api.rb in purecloudplatformclientv2-9.0.0

- old
+ new

@@ -41,12 +41,19 @@ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def delete_alerting_heartbeat_alert_with_http_info(alert_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.delete_alerting_heartbeat_alert ..." end + + # verify the required parameter 'alert_id' is set fail ArgumentError, "Missing the required parameter 'alert_id' when calling AlertingApi.delete_alerting_heartbeat_alert" if alert_id.nil? + + + + + # resource path local_var_path = "/api/v2/alerting/heartbeat/alerts/{alertId}".sub('{format}','json').sub('{' + 'alertId' + '}', alert_id.to_s) # query parameters query_params = {} @@ -65,11 +72,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -97,12 +105,19 @@ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def delete_alerting_heartbeat_rule_with_http_info(rule_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.delete_alerting_heartbeat_rule ..." end + + # verify the required parameter 'rule_id' is set fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.delete_alerting_heartbeat_rule" if rule_id.nil? + + + + + # resource path local_var_path = "/api/v2/alerting/heartbeat/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s) # query parameters query_params = {} @@ -121,11 +136,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -153,12 +169,19 @@ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def delete_alerting_interactionstats_alert_with_http_info(alert_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.delete_alerting_interactionstats_alert ..." end + + # verify the required parameter 'alert_id' is set fail ArgumentError, "Missing the required parameter 'alert_id' when calling AlertingApi.delete_alerting_interactionstats_alert" if alert_id.nil? + + + + + # resource path local_var_path = "/api/v2/alerting/interactionstats/alerts/{alertId}".sub('{format}','json').sub('{' + 'alertId' + '}', alert_id.to_s) # query parameters query_params = {} @@ -177,11 +200,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -209,12 +233,19 @@ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def delete_alerting_interactionstats_rule_with_http_info(rule_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.delete_alerting_interactionstats_rule ..." end + + # verify the required parameter 'rule_id' is set fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.delete_alerting_interactionstats_rule" if rule_id.nil? + + + + + # resource path local_var_path = "/api/v2/alerting/interactionstats/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s) # query parameters query_params = {} @@ -233,11 +264,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -265,12 +297,19 @@ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def delete_alerting_routingstatus_alert_with_http_info(alert_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.delete_alerting_routingstatus_alert ..." end + + # verify the required parameter 'alert_id' is set fail ArgumentError, "Missing the required parameter 'alert_id' when calling AlertingApi.delete_alerting_routingstatus_alert" if alert_id.nil? + + + + + # resource path local_var_path = "/api/v2/alerting/routingstatus/alerts/{alertId}".sub('{format}','json').sub('{' + 'alertId' + '}', alert_id.to_s) # query parameters query_params = {} @@ -289,11 +328,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -321,12 +361,19 @@ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def delete_alerting_routingstatus_rule_with_http_info(rule_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.delete_alerting_routingstatus_rule ..." end + + # verify the required parameter 'rule_id' is set fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.delete_alerting_routingstatus_rule" if rule_id.nil? + + + + + # resource path local_var_path = "/api/v2/alerting/routingstatus/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s) # query parameters query_params = {} @@ -345,11 +392,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -377,12 +425,19 @@ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def delete_alerting_userpresence_alert_with_http_info(alert_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.delete_alerting_userpresence_alert ..." end + + # verify the required parameter 'alert_id' is set fail ArgumentError, "Missing the required parameter 'alert_id' when calling AlertingApi.delete_alerting_userpresence_alert" if alert_id.nil? + + + + + # resource path local_var_path = "/api/v2/alerting/userpresence/alerts/{alertId}".sub('{format}','json').sub('{' + 'alertId' + '}', alert_id.to_s) # query parameters query_params = {} @@ -401,11 +456,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -433,12 +489,19 @@ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers def delete_alerting_userpresence_rule_with_http_info(rule_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.delete_alerting_userpresence_rule ..." end + + # verify the required parameter 'rule_id' is set fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.delete_alerting_userpresence_rule" if rule_id.nil? + + + + + # resource path local_var_path = "/api/v2/alerting/userpresence/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s) # query parameters query_params = {} @@ -457,11 +520,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -491,12 +555,25 @@ # @return [Array<(HeartBeatAlert, Fixnum, Hash)>] HeartBeatAlert data, response status code and response headers def get_alerting_heartbeat_alert_with_http_info(alert_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_heartbeat_alert ..." end + + # verify the required parameter 'alert_id' is set fail ArgumentError, "Missing the required parameter 'alert_id' when calling AlertingApi.get_alerting_heartbeat_alert" if alert_id.nil? + + + + + + + + + + + # resource path local_var_path = "/api/v2/alerting/heartbeat/alerts/{alertId}".sub('{format}','json').sub('{' + 'alertId' + '}', alert_id.to_s) # query parameters query_params = {} @@ -516,11 +593,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -549,10 +627,17 @@ # @return [Array<(HeartBeatAlertContainer, Fixnum, Hash)>] HeartBeatAlertContainer data, response status code and response headers def get_alerting_heartbeat_alerts_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_heartbeat_alerts ..." end + + + + + + + # resource path local_var_path = "/api/v2/alerting/heartbeat/alerts".sub('{format}','json') # query parameters query_params = {} @@ -572,11 +657,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -607,12 +693,25 @@ # @return [Array<(HeartBeatRule, Fixnum, Hash)>] HeartBeatRule data, response status code and response headers def get_alerting_heartbeat_rule_with_http_info(rule_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_heartbeat_rule ..." end + + # verify the required parameter 'rule_id' is set fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.get_alerting_heartbeat_rule" if rule_id.nil? + + + + + + + + + + + # resource path local_var_path = "/api/v2/alerting/heartbeat/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s) # query parameters query_params = {} @@ -632,11 +731,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -665,10 +765,17 @@ # @return [Array<(HeartBeatRuleContainer, Fixnum, Hash)>] HeartBeatRuleContainer data, response status code and response headers def get_alerting_heartbeat_rules_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_heartbeat_rules ..." end + + + + + + + # resource path local_var_path = "/api/v2/alerting/heartbeat/rules".sub('{format}','json') # query parameters query_params = {} @@ -688,11 +795,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -723,12 +831,25 @@ # @return [Array<(InteractionStatsAlert, Fixnum, Hash)>] InteractionStatsAlert data, response status code and response headers def get_alerting_interactionstats_alert_with_http_info(alert_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_interactionstats_alert ..." end + + # verify the required parameter 'alert_id' is set fail ArgumentError, "Missing the required parameter 'alert_id' when calling AlertingApi.get_alerting_interactionstats_alert" if alert_id.nil? + + + + + + + + + + + # resource path local_var_path = "/api/v2/alerting/interactionstats/alerts/{alertId}".sub('{format}','json').sub('{' + 'alertId' + '}', alert_id.to_s) # query parameters query_params = {} @@ -748,11 +869,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -781,10 +903,17 @@ # @return [Array<(InteractionStatsAlertContainer, Fixnum, Hash)>] InteractionStatsAlertContainer data, response status code and response headers def get_alerting_interactionstats_alerts_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_interactionstats_alerts ..." end + + + + + + + # resource path local_var_path = "/api/v2/alerting/interactionstats/alerts".sub('{format}','json') # query parameters query_params = {} @@ -804,11 +933,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -835,10 +965,11 @@ # @return [Array<(UnreadMetric, Fixnum, Hash)>] UnreadMetric data, response status code and response headers def get_alerting_interactionstats_alerts_unread_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_interactionstats_alerts_unread ..." end + # resource path local_var_path = "/api/v2/alerting/interactionstats/alerts/unread".sub('{format}','json') # query parameters query_params = {} @@ -857,11 +988,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -892,12 +1024,25 @@ # @return [Array<(InteractionStatsRule, Fixnum, Hash)>] InteractionStatsRule data, response status code and response headers def get_alerting_interactionstats_rule_with_http_info(rule_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_interactionstats_rule ..." end + + # verify the required parameter 'rule_id' is set fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.get_alerting_interactionstats_rule" if rule_id.nil? + + + + + + + + + + + # resource path local_var_path = "/api/v2/alerting/interactionstats/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s) # query parameters query_params = {} @@ -917,11 +1062,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -950,10 +1096,17 @@ # @return [Array<(InteractionStatsRuleContainer, Fixnum, Hash)>] InteractionStatsRuleContainer data, response status code and response headers def get_alerting_interactionstats_rules_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_interactionstats_rules ..." end + + + + + + + # resource path local_var_path = "/api/v2/alerting/interactionstats/rules".sub('{format}','json') # query parameters query_params = {} @@ -973,11 +1126,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1008,12 +1162,25 @@ # @return [Array<(RoutingStatusAlert, Fixnum, Hash)>] RoutingStatusAlert data, response status code and response headers def get_alerting_routingstatus_alert_with_http_info(alert_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_routingstatus_alert ..." end + + # verify the required parameter 'alert_id' is set fail ArgumentError, "Missing the required parameter 'alert_id' when calling AlertingApi.get_alerting_routingstatus_alert" if alert_id.nil? + + + + + + + + + + + # resource path local_var_path = "/api/v2/alerting/routingstatus/alerts/{alertId}".sub('{format}','json').sub('{' + 'alertId' + '}', alert_id.to_s) # query parameters query_params = {} @@ -1033,11 +1200,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1066,10 +1234,17 @@ # @return [Array<(RoutingStatusAlertContainer, Fixnum, Hash)>] RoutingStatusAlertContainer data, response status code and response headers def get_alerting_routingstatus_alerts_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_routingstatus_alerts ..." end + + + + + + + # resource path local_var_path = "/api/v2/alerting/routingstatus/alerts".sub('{format}','json') # query parameters query_params = {} @@ -1089,11 +1264,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1124,12 +1300,25 @@ # @return [Array<(RoutingStatusRule, Fixnum, Hash)>] RoutingStatusRule data, response status code and response headers def get_alerting_routingstatus_rule_with_http_info(rule_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_routingstatus_rule ..." end + + # verify the required parameter 'rule_id' is set fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.get_alerting_routingstatus_rule" if rule_id.nil? + + + + + + + + + + + # resource path local_var_path = "/api/v2/alerting/routingstatus/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s) # query parameters query_params = {} @@ -1149,11 +1338,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1182,10 +1372,17 @@ # @return [Array<(RoutingStatusRuleContainer, Fixnum, Hash)>] RoutingStatusRuleContainer data, response status code and response headers def get_alerting_routingstatus_rules_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_routingstatus_rules ..." end + + + + + + + # resource path local_var_path = "/api/v2/alerting/routingstatus/rules".sub('{format}','json') # query parameters query_params = {} @@ -1205,11 +1402,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1240,12 +1438,25 @@ # @return [Array<(UserPresenceAlert, Fixnum, Hash)>] UserPresenceAlert data, response status code and response headers def get_alerting_userpresence_alert_with_http_info(alert_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_userpresence_alert ..." end + + # verify the required parameter 'alert_id' is set fail ArgumentError, "Missing the required parameter 'alert_id' when calling AlertingApi.get_alerting_userpresence_alert" if alert_id.nil? + + + + + + + + + + + # resource path local_var_path = "/api/v2/alerting/userpresence/alerts/{alertId}".sub('{format}','json').sub('{' + 'alertId' + '}', alert_id.to_s) # query parameters query_params = {} @@ -1265,11 +1476,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1298,10 +1510,17 @@ # @return [Array<(UserPresenceAlertContainer, Fixnum, Hash)>] UserPresenceAlertContainer data, response status code and response headers def get_alerting_userpresence_alerts_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_userpresence_alerts ..." end + + + + + + + # resource path local_var_path = "/api/v2/alerting/userpresence/alerts".sub('{format}','json') # query parameters query_params = {} @@ -1321,11 +1540,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1356,12 +1576,25 @@ # @return [Array<(UserPresenceRule, Fixnum, Hash)>] UserPresenceRule data, response status code and response headers def get_alerting_userpresence_rule_with_http_info(rule_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_userpresence_rule ..." end + + # verify the required parameter 'rule_id' is set fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.get_alerting_userpresence_rule" if rule_id.nil? + + + + + + + + + + + # resource path local_var_path = "/api/v2/alerting/userpresence/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s) # query parameters query_params = {} @@ -1381,11 +1614,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1414,10 +1648,17 @@ # @return [Array<(UserPresenceRuleContainer, Fixnum, Hash)>] UserPresenceRuleContainer data, response status code and response headers def get_alerting_userpresence_rules_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_userpresence_rules ..." end + + + + + + + # resource path local_var_path = "/api/v2/alerting/userpresence/rules".sub('{format}','json') # query parameters query_params = {} @@ -1437,11 +1678,12 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['PureCloud Auth'] + + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1472,12 +1714,25 @@ # @return [Array<(HeartBeatRule, Fixnum, Hash)>] HeartBeatRule data, response status code and response headers def post_alerting_heartbeat_rules_with_http_info(body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.post_alerting_heartbeat_rules ..." end + + # verify the required parameter 'body' is set fail ArgumentError, "Missing the required parameter 'body' when calling AlertingApi.post_alerting_heartbeat_rules" if body.nil? + + + + + + + + + + + # resource path local_var_path = "/api/v2/alerting/heartbeat/rules".sub('{format}','json') # query parameters query_params = {} @@ -1497,10 +1752,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -1532,12 +1788,25 @@ # @return [Array<(InteractionStatsRule, Fixnum, Hash)>] InteractionStatsRule data, response status code and response headers def post_alerting_interactionstats_rules_with_http_info(body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.post_alerting_interactionstats_rules ..." end + + # verify the required parameter 'body' is set fail ArgumentError, "Missing the required parameter 'body' when calling AlertingApi.post_alerting_interactionstats_rules" if body.nil? + + + + + + + + + + + # resource path local_var_path = "/api/v2/alerting/interactionstats/rules".sub('{format}','json') # query parameters query_params = {} @@ -1557,10 +1826,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -1592,12 +1862,25 @@ # @return [Array<(RoutingStatusRule, Fixnum, Hash)>] RoutingStatusRule data, response status code and response headers def post_alerting_routingstatus_rules_with_http_info(body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.post_alerting_routingstatus_rules ..." end + + # verify the required parameter 'body' is set fail ArgumentError, "Missing the required parameter 'body' when calling AlertingApi.post_alerting_routingstatus_rules" if body.nil? + + + + + + + + + + + # resource path local_var_path = "/api/v2/alerting/routingstatus/rules".sub('{format}','json') # query parameters query_params = {} @@ -1617,10 +1900,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -1652,12 +1936,25 @@ # @return [Array<(UserPresenceRule, Fixnum, Hash)>] UserPresenceRule data, response status code and response headers def post_alerting_userpresence_rules_with_http_info(body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.post_alerting_userpresence_rules ..." end + + # verify the required parameter 'body' is set fail ArgumentError, "Missing the required parameter 'body' when calling AlertingApi.post_alerting_userpresence_rules" if body.nil? + + + + + + + + + + + # resource path local_var_path = "/api/v2/alerting/userpresence/rules".sub('{format}','json') # query parameters query_params = {} @@ -1677,10 +1974,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -1714,14 +2012,33 @@ # @return [Array<(HeartBeatRule, Fixnum, Hash)>] HeartBeatRule data, response status code and response headers def put_alerting_heartbeat_rule_with_http_info(rule_id, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.put_alerting_heartbeat_rule ..." end + + # verify the required parameter 'rule_id' is set fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.put_alerting_heartbeat_rule" if rule_id.nil? + + + + + + # verify the required parameter 'body' is set fail ArgumentError, "Missing the required parameter 'body' when calling AlertingApi.put_alerting_heartbeat_rule" if body.nil? + + + + + + + + + + + # resource path local_var_path = "/api/v2/alerting/heartbeat/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s) # query parameters query_params = {} @@ -1741,10 +2058,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -1778,14 +2096,33 @@ # @return [Array<(UnreadStatus, Fixnum, Hash)>] UnreadStatus data, response status code and response headers def put_alerting_interactionstats_alert_with_http_info(alert_id, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.put_alerting_interactionstats_alert ..." end + + # verify the required parameter 'alert_id' is set fail ArgumentError, "Missing the required parameter 'alert_id' when calling AlertingApi.put_alerting_interactionstats_alert" if alert_id.nil? + + + + + + # verify the required parameter 'body' is set fail ArgumentError, "Missing the required parameter 'body' when calling AlertingApi.put_alerting_interactionstats_alert" if body.nil? + + + + + + + + + + + # resource path local_var_path = "/api/v2/alerting/interactionstats/alerts/{alertId}".sub('{format}','json').sub('{' + 'alertId' + '}', alert_id.to_s) # query parameters query_params = {} @@ -1805,10 +2142,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -1842,14 +2180,33 @@ # @return [Array<(InteractionStatsRule, Fixnum, Hash)>] InteractionStatsRule data, response status code and response headers def put_alerting_interactionstats_rule_with_http_info(rule_id, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.put_alerting_interactionstats_rule ..." end + + # verify the required parameter 'rule_id' is set fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.put_alerting_interactionstats_rule" if rule_id.nil? + + + + + + # verify the required parameter 'body' is set fail ArgumentError, "Missing the required parameter 'body' when calling AlertingApi.put_alerting_interactionstats_rule" if body.nil? + + + + + + + + + + + # resource path local_var_path = "/api/v2/alerting/interactionstats/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s) # query parameters query_params = {} @@ -1869,10 +2226,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -1906,14 +2264,33 @@ # @return [Array<(RoutingStatusRule, Fixnum, Hash)>] RoutingStatusRule data, response status code and response headers def put_alerting_routingstatus_rule_with_http_info(rule_id, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.put_alerting_routingstatus_rule ..." end + + # verify the required parameter 'rule_id' is set fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.put_alerting_routingstatus_rule" if rule_id.nil? + + + + + + # verify the required parameter 'body' is set fail ArgumentError, "Missing the required parameter 'body' when calling AlertingApi.put_alerting_routingstatus_rule" if body.nil? + + + + + + + + + + + # resource path local_var_path = "/api/v2/alerting/routingstatus/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s) # query parameters query_params = {} @@ -1933,10 +2310,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -1970,14 +2348,33 @@ # @return [Array<(UserPresenceRule, Fixnum, Hash)>] UserPresenceRule data, response status code and response headers def put_alerting_userpresence_rule_with_http_info(rule_id, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AlertingApi.put_alerting_userpresence_rule ..." end + + # verify the required parameter 'rule_id' is set fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.put_alerting_userpresence_rule" if rule_id.nil? + + + + + + # verify the required parameter 'body' is set fail ArgumentError, "Missing the required parameter 'body' when calling AlertingApi.put_alerting_userpresence_rule" if body.nil? + + + + + + + + + + + # resource path local_var_path = "/api/v2/alerting/userpresence/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s) # query parameters query_params = {} @@ -1997,9 +2394,10 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) + auth_names = ['PureCloud Auth'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params,