lib/purecloudplatformclientv2/api/routing_api.rb in purecloudplatformclientv2-3.1.7 vs lib/purecloudplatformclientv2/api/routing_api.rb in purecloudplatformclientv2-4.0.0
- old
+ new
@@ -26,21 +26,21 @@
# Delete a domain
#
# @param domain_id domain ID
# @param [Hash] opts the optional parameters
- # @return [String]
+ # @return [nil]
def delete_routing_email_domain(domain_id, opts = {})
- data, _status_code, _headers = delete_routing_email_domain_with_http_info(domain_id, opts)
- return data
+ delete_routing_email_domain_with_http_info(domain_id, opts)
+ return nil
end
# Delete a domain
#
# @param domain_id domain ID
# @param [Hash] opts the optional parameters
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
def delete_routing_email_domain_with_http_info(domain_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: RoutingApi.delete_routing_email_domain ..."
end
# verify the required parameter 'domain_id' is set
@@ -71,12 +71,11 @@
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,
- :auth_names => auth_names,
- :return_type => 'String')
+ :auth_names => auth_names)
if @api_client.config.debugging
@api_client.config.logger.debug "API called: RoutingApi#delete_routing_email_domain\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
@@ -84,22 +83,22 @@
# Delete a route
#
# @param domain_name email domain
# @param route_id route ID
# @param [Hash] opts the optional parameters
- # @return [String]
+ # @return [nil]
def delete_routing_email_domain_route(domain_name, route_id, opts = {})
- data, _status_code, _headers = delete_routing_email_domain_route_with_http_info(domain_name, route_id, opts)
- return data
+ delete_routing_email_domain_route_with_http_info(domain_name, route_id, opts)
+ return nil
end
# Delete a route
#
# @param domain_name email domain
# @param route_id route ID
# @param [Hash] opts the optional parameters
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
def delete_routing_email_domain_route_with_http_info(domain_name, route_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: RoutingApi.delete_routing_email_domain_route ..."
end
# verify the required parameter 'domain_name' is set
@@ -132,12 +131,11 @@
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,
- :auth_names => auth_names,
- :return_type => 'String')
+ :auth_names => auth_names)
if @api_client.config.debugging
@api_client.config.logger.debug "API called: RoutingApi#delete_routing_email_domain_route\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
@@ -145,22 +143,22 @@
# Delete a queue
#
# @param queue_id Queue ID
# @param [Hash] opts the optional parameters
# @option opts [BOOLEAN] :force_delete forceDelete
- # @return [String]
+ # @return [nil]
def delete_routing_queue(queue_id, opts = {})
- data, _status_code, _headers = delete_routing_queue_with_http_info(queue_id, opts)
- return data
+ delete_routing_queue_with_http_info(queue_id, opts)
+ return nil
end
# Delete a queue
#
# @param queue_id Queue ID
# @param [Hash] opts the optional parameters
# @option opts [BOOLEAN] :force_delete forceDelete
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
def delete_routing_queue_with_http_info(queue_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: RoutingApi.delete_routing_queue ..."
end
# verify the required parameter 'queue_id' is set
@@ -192,12 +190,11 @@
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,
- :auth_names => auth_names,
- :return_type => 'String')
+ :auth_names => auth_names)
if @api_client.config.debugging
@api_client.config.logger.debug "API called: RoutingApi#delete_routing_queue\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
@@ -205,22 +202,22 @@
# Delete queue member
#
# @param queue_id Queue ID
# @param member_id Member ID
# @param [Hash] opts the optional parameters
- # @return [String]
+ # @return [nil]
def delete_routing_queue_user(queue_id, member_id, opts = {})
- data, _status_code, _headers = delete_routing_queue_user_with_http_info(queue_id, member_id, opts)
- return data
+ delete_routing_queue_user_with_http_info(queue_id, member_id, opts)
+ return nil
end
# Delete queue member
#
# @param queue_id Queue ID
# @param member_id Member ID
# @param [Hash] opts the optional parameters
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
def delete_routing_queue_user_with_http_info(queue_id, member_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: RoutingApi.delete_routing_queue_user ..."
end
# verify the required parameter 'queue_id' is set
@@ -253,12 +250,11 @@
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,
- :auth_names => auth_names,
- :return_type => 'String')
+ :auth_names => auth_names)
if @api_client.config.debugging
@api_client.config.logger.debug "API called: RoutingApi#delete_routing_queue_user\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
@@ -266,22 +262,22 @@
# Delete a wrap-up code from a queue
#
# @param queue_id Queue ID
# @param code_id Code ID
# @param [Hash] opts the optional parameters
- # @return [String]
+ # @return [nil]
def delete_routing_queue_wrapupcode(queue_id, code_id, opts = {})
- data, _status_code, _headers = delete_routing_queue_wrapupcode_with_http_info(queue_id, code_id, opts)
- return data
+ delete_routing_queue_wrapupcode_with_http_info(queue_id, code_id, opts)
+ return nil
end
# Delete a wrap-up code from a queue
#
# @param queue_id Queue ID
# @param code_id Code ID
# @param [Hash] opts the optional parameters
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
def delete_routing_queue_wrapupcode_with_http_info(queue_id, code_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: RoutingApi.delete_routing_queue_wrapupcode ..."
end
# verify the required parameter 'queue_id' is set
@@ -314,33 +310,32 @@
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,
- :auth_names => auth_names,
- :return_type => 'String')
+ :auth_names => auth_names)
if @api_client.config.debugging
@api_client.config.logger.debug "API called: RoutingApi#delete_routing_queue_wrapupcode\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Delete Routing Skill
#
# @param skill_id Skill ID
# @param [Hash] opts the optional parameters
- # @return [String]
+ # @return [nil]
def delete_routing_skill(skill_id, opts = {})
- data, _status_code, _headers = delete_routing_skill_with_http_info(skill_id, opts)
- return data
+ delete_routing_skill_with_http_info(skill_id, opts)
+ return nil
end
# Delete Routing Skill
#
# @param skill_id Skill ID
# @param [Hash] opts the optional parameters
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
def delete_routing_skill_with_http_info(skill_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: RoutingApi.delete_routing_skill ..."
end
# verify the required parameter 'skill_id' is set
@@ -371,31 +366,30 @@
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,
- :auth_names => auth_names,
- :return_type => 'String')
+ :auth_names => auth_names)
if @api_client.config.debugging
@api_client.config.logger.debug "API called: RoutingApi#delete_routing_skill\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Delete utilization settings and revert to system defaults.
#
# @param [Hash] opts the optional parameters
- # @return [String]
+ # @return [nil]
def delete_routing_utilization(opts = {})
- data, _status_code, _headers = delete_routing_utilization_with_http_info(opts)
- return data
+ delete_routing_utilization_with_http_info(opts)
+ return nil
end
# Delete utilization settings and revert to system defaults.
#
# @param [Hash] opts the optional parameters
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
def delete_routing_utilization_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: RoutingApi.delete_routing_utilization ..."
end
# resource path
@@ -424,33 +418,32 @@
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,
- :auth_names => auth_names,
- :return_type => 'String')
+ :auth_names => auth_names)
if @api_client.config.debugging
@api_client.config.logger.debug "API called: RoutingApi#delete_routing_utilization\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Delete wrap-up code
#
# @param code_id Wrapup Code ID
# @param [Hash] opts the optional parameters
- # @return [String]
+ # @return [nil]
def delete_routing_wrapupcode(code_id, opts = {})
- data, _status_code, _headers = delete_routing_wrapupcode_with_http_info(code_id, opts)
- return data
+ delete_routing_wrapupcode_with_http_info(code_id, opts)
+ return nil
end
# Delete wrap-up code
#
# @param code_id Wrapup Code ID
# @param [Hash] opts the optional parameters
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
def delete_routing_wrapupcode_with_http_info(code_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: RoutingApi.delete_routing_wrapupcode ..."
end
# verify the required parameter 'code_id' is set
@@ -481,12 +474,11 @@
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,
- :auth_names => auth_names,
- :return_type => 'String')
+ :auth_names => auth_names)
if @api_client.config.debugging
@api_client.config.logger.debug "API called: RoutingApi#delete_routing_wrapupcode\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
@@ -494,22 +486,22 @@
# Remove routing skill from user
#
# @param user_id User ID
# @param skill_id skillId
# @param [Hash] opts the optional parameters
- # @return [String]
+ # @return [nil]
def delete_user_routingskill(user_id, skill_id, opts = {})
- data, _status_code, _headers = delete_user_routingskill_with_http_info(user_id, skill_id, opts)
- return data
+ delete_user_routingskill_with_http_info(user_id, skill_id, opts)
+ return nil
end
# Remove routing skill from user
#
# @param user_id User ID
# @param skill_id skillId
# @param [Hash] opts the optional parameters
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
def delete_user_routingskill_with_http_info(user_id, skill_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: RoutingApi.delete_user_routingskill ..."
end
# verify the required parameter 'user_id' is set
@@ -542,11 +534,10 @@
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,
- :auth_names => auth_names,
- :return_type => 'String')
+ :auth_names => auth_names)
if @api_client.config.debugging
@api_client.config.logger.debug "API called: RoutingApi#delete_user_routingskill\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end