lib/purecloudplatformclientv2/api/suggest_api.rb in purecloudplatformclientv2-8.0.0 vs lib/purecloudplatformclientv2/api/suggest_api.rb in purecloudplatformclientv2-9.0.0
- old
+ new
@@ -45,12 +45,31 @@
# @return [Array<(JsonNodeSearchResponse, Fixnum, Hash)>] JsonNodeSearchResponse data, response status code and response headers
def get_search_with_http_info(q64, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: SuggestApi.get_search ..."
end
+
+
# verify the required parameter 'q64' is set
fail ArgumentError, "Missing the required parameter 'q64' when calling SuggestApi.get_search" if q64.nil?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/search".sub('{format}','json')
# query parameters
query_params = {}
@@ -72,11 +91,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,
@@ -109,12 +129,31 @@
# @return [Array<(JsonNodeSearchResponse, Fixnum, Hash)>] JsonNodeSearchResponse data, response status code and response headers
def get_search_suggest_with_http_info(q64, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: SuggestApi.get_search_suggest ..."
end
+
+
# verify the required parameter 'q64' is set
fail ArgumentError, "Missing the required parameter 'q64' when calling SuggestApi.get_search_suggest" if q64.nil?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/search/suggest".sub('{format}','json')
# query parameters
query_params = {}
@@ -136,11 +175,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,
@@ -171,12 +211,25 @@
# @return [Array<(JsonNodeSearchResponse, Fixnum, Hash)>] JsonNodeSearchResponse data, response status code and response headers
def post_search_with_http_info(body, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: SuggestApi.post_search ..."
end
+
+
# verify the required parameter 'body' is set
fail ArgumentError, "Missing the required parameter 'body' when calling SuggestApi.post_search" if body.nil?
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/search".sub('{format}','json')
# query parameters
query_params = {}
@@ -196,10 +249,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,
@@ -231,12 +285,25 @@
# @return [Array<(JsonNodeSearchResponse, Fixnum, Hash)>] JsonNodeSearchResponse data, response status code and response headers
def post_search_suggest_with_http_info(body, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: SuggestApi.post_search_suggest ..."
end
+
+
# verify the required parameter 'body' is set
fail ArgumentError, "Missing the required parameter 'body' when calling SuggestApi.post_search_suggest" if body.nil?
+
+
+
+
+
+
+
+
+
+
+
# resource path
local_var_path = "/api/v2/search/suggest".sub('{format}','json')
# query parameters
query_params = {}
@@ -256,9 +323,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(:POST, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,