lib/purecloudplatformclientv2/api/outbound_api.rb in purecloudplatformclientv2-28.0.1 vs lib/purecloudplatformclientv2/api/outbound_api.rb in purecloudplatformclientv2-29.0.0
- old
+ new
@@ -2129,10 +2129,11 @@
# @param [Hash] opts the optional parameters
# @option opts [Integer] :page_size Page size (default to 25)
# @option opts [Integer] :page_number Page number (default to 1)
# @option opts [String] :filter_type Filter type (default to Prefix)
# @option opts [String] :name Name
+ # @option opts [Array<String>] :id id
# @option opts [String] :contact_list_id Contact List ID
# @option opts [String] :dnc_list_id DNC list ID
# @option opts [String] :distribution_queue_id Distribution queue ID
# @option opts [String] :edge_group_id Edge group ID
# @option opts [String] :call_analysis_response_set_id Call analysis response set ID
@@ -2149,10 +2150,11 @@
# @param [Hash] opts the optional parameters
# @option opts [Integer] :page_size Page size
# @option opts [Integer] :page_number Page number
# @option opts [String] :filter_type Filter type
# @option opts [String] :name Name
+ # @option opts [Array<String>] :id id
# @option opts [String] :contact_list_id Contact List ID
# @option opts [String] :dnc_list_id DNC list ID
# @option opts [String] :distribution_queue_id Distribution queue ID
# @option opts [String] :edge_group_id Edge group ID
# @option opts [String] :call_analysis_response_set_id Call analysis response set ID
@@ -2229,10 +2231,16 @@
+
+
+
+
+
+
if opts[:'sort_order'] && !['ascending', 'descending'].include?(opts[:'sort_order'])
fail ArgumentError, 'invalid value for "sort_order", must be one of ascending, descending'
end
@@ -2245,10 +2253,11 @@
query_params = {}
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
query_params[:'filterType'] = opts[:'filter_type'] if opts[:'filter_type']
query_params[:'name'] = opts[:'name'] if opts[:'name']
+ query_params[:'id'] = @api_client.build_collection_param(opts[:'id'], :multi) if opts[:'id']
query_params[:'contactListId'] = opts[:'contact_list_id'] if opts[:'contact_list_id']
query_params[:'dncListId'] = opts[:'dnc_list_id'] if opts[:'dnc_list_id']
query_params[:'distributionQueueId'] = opts[:'distribution_queue_id'] if opts[:'distribution_queue_id']
query_params[:'edgeGroupId'] = opts[:'edge_group_id'] if opts[:'edge_group_id']
query_params[:'callAnalysisResponseSetId'] = opts[:'call_analysis_response_set_id'] if opts[:'call_analysis_response_set_id']
@@ -2781,10 +2790,11 @@
# @option opts [BOOLEAN] :include_size Include size (default to false)
# @option opts [Integer] :page_size Page size (default to 25)
# @option opts [Integer] :page_number Page number (default to 1)
# @option opts [String] :filter_type Filter type (default to Prefix)
# @option opts [String] :name Name
+ # @option opts [Array<String>] :id id
# @option opts [String] :sort_by Sort by
# @option opts [String] :sort_order Sort order (default to a)
# @return [ContactListEntityListing]
def get_outbound_contactlists(opts = {})
data, _status_code, _headers = get_outbound_contactlists_with_http_info(opts)
@@ -2798,10 +2808,11 @@
# @option opts [BOOLEAN] :include_size Include size
# @option opts [Integer] :page_size Page size
# @option opts [Integer] :page_number Page number
# @option opts [String] :filter_type Filter type
# @option opts [String] :name Name
+ # @option opts [Array<String>] :id id
# @option opts [String] :sort_by Sort by
# @option opts [String] :sort_order Sort order
# @return [Array<(ContactListEntityListing, Fixnum, Hash)>] ContactListEntityListing data, response status code and response headers
def get_outbound_contactlists_with_http_info(opts = {})
if @api_client.config.debugging
@@ -2855,10 +2866,16 @@
+
+
+
+
+
+
if opts[:'sort_order'] && !['ascending', 'descending'].include?(opts[:'sort_order'])
fail ArgumentError, 'invalid value for "sort_order", must be one of ascending, descending'
end
@@ -2873,9 +2890,10 @@
query_params[:'includeSize'] = opts[:'include_size'] if opts[:'include_size']
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
query_params[:'filterType'] = opts[:'filter_type'] if opts[:'filter_type']
query_params[:'name'] = opts[:'name'] if opts[:'name']
+ query_params[:'id'] = @api_client.build_collection_param(opts[:'id'], :multi) if opts[:'id']
query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
# header parameters
header_params = {}