lib/purecloud/api/routing_api.rb in purecloud-0.57.1 vs lib/purecloud/api/routing_api.rb in purecloud-0.58.1

- old
+ new

@@ -699,20 +699,26 @@ # Get routes # # @param domain_name email domain # @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] :pattern Filter routes by the route&#39;s pattern property # @return [InboundRouteEntityListing] def get_email_domains_domainname_routes(domain_name, opts = {}) data, status_code, headers = get_email_domains_domainname_routes_with_http_info(domain_name, opts) return data end # Get routes # # @param domain_name email domain # @param [Hash] opts the optional parameters + # @option opts [Integer] :page_size Page size + # @option opts [Integer] :page_number Page number + # @option opts [String] :pattern Filter routes by the route&#39;s pattern property # @return [Array<(InboundRouteEntityListing, Fixnum, Hash)>] InboundRouteEntityListing data, response status code and response headers def get_email_domains_domainname_routes_with_http_info(domain_name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: RoutingApi#get_email_domains_domainname_routes ..." end @@ -723,10 +729,13 @@ # resource path local_var_path = "/api/v2/routing/email/domains/{domainName}/routes".sub('{format}','json').sub('{' + 'domainName' + '}', domain_name.to_s) # query parameters query_params = {} + query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size'] + query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number'] + query_params[:'pattern'] = opts[:'pattern'] if opts[:'pattern'] # header parameters header_params = {} # HTTP header 'Accept' (if needed) @@ -1556,10 +1565,11 @@ # Get the list of routing skills. # # @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] :name Filter for results that start with this value # @return [SkillEntityListing] def get_skills(opts = {}) data, status_code, headers = get_skills_with_http_info(opts) return data end @@ -1567,10 +1577,11 @@ # Get the list of routing skills. # # @param [Hash] opts the optional parameters # @option opts [Integer] :page_size Page size # @option opts [Integer] :page_number Page number + # @option opts [String] :name Filter for results that start with this value # @return [Array<(SkillEntityListing, Fixnum, Hash)>] SkillEntityListing data, response status code and response headers def get_skills_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: RoutingApi#get_skills ..." end @@ -1580,9 +1591,10 @@ # query parameters query_params = {} query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size'] query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number'] + query_params[:'name'] = opts[:'name'] if opts[:'name'] # header parameters header_params = {} # HTTP header 'Accept' (if needed)