lib/purecloud/api/search_api.rb in purecloud-0.40.1 vs lib/purecloud/api/search_api.rb in purecloud-0.41.1
- old
+ new
@@ -88,22 +88,22 @@
# Search using q64
#
# @param [Hash] opts the optional parameters
# @option opts [String] :q64
# @option opts [Array<String>] :expand
- # @return [GroupsSearchResponse]
+ # @return [LocationsSearchResponse]
def get_search_0(opts = {})
data, status_code, headers = get_search_0_with_http_info(opts)
return data
end
# Search using q64
#
# @param [Hash] opts the optional parameters
# @option opts [String] :q64
# @option opts [Array<String>] :expand
- # @return [Array<(GroupsSearchResponse, Fixnum, Hash)>] GroupsSearchResponse data, response status code and response headers
+ # @return [Array<(LocationsSearchResponse, Fixnum, Hash)>] LocationsSearchResponse data, response status code and response headers
def get_search_0_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: SearchApi#get_search_0 ..."
end
@@ -137,11 +137,11 @@
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
- :return_type => 'GroupsSearchResponse')
+ :return_type => 'LocationsSearchResponse')
if @api_client.config.debugging
@api_client.config.logger.debug "API called: SearchApi#get_search_0\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
@@ -333,21 +333,21 @@
end
# Search
#
# @param [Hash] opts the optional parameters
- # @option opts [SearchRequest] :body Search request options
+ # @option opts [GroupSearchRequest] :body Search request options
# @return [GroupsSearchResponse]
def post_search(opts = {})
data, status_code, headers = post_search_with_http_info(opts)
return data
end
# Search
#
# @param [Hash] opts the optional parameters
- # @option opts [SearchRequest] :body Search request options
+ # @option opts [GroupSearchRequest] :body Search request options
# @return [Array<(GroupsSearchResponse, Fixnum, Hash)>] GroupsSearchResponse data, response status code and response headers
def post_search_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: SearchApi#post_search ..."
end
@@ -390,22 +390,22 @@
end
# Search
#
# @param [Hash] opts the optional parameters
- # @option opts [SearchRequest] :body Search request options
- # @return [GroupsSearchResponse]
+ # @option opts [LocationSearchRequest] :body Search request options
+ # @return [LocationsSearchResponse]
def post_search_0(opts = {})
data, status_code, headers = post_search_0_with_http_info(opts)
return data
end
# Search
#
# @param [Hash] opts the optional parameters
- # @option opts [SearchRequest] :body Search request options
- # @return [Array<(GroupsSearchResponse, Fixnum, Hash)>] GroupsSearchResponse data, response status code and response headers
+ # @option opts [LocationSearchRequest] :body Search request options
+ # @return [Array<(LocationsSearchResponse, Fixnum, Hash)>] LocationsSearchResponse data, response status code and response headers
def post_search_0_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: SearchApi#post_search_0 ..."
end
@@ -437,11 +437,11 @@
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
- :return_type => 'GroupsSearchResponse')
+ :return_type => 'LocationsSearchResponse')
if @api_client.config.debugging
@api_client.config.logger.debug "API called: SearchApi#post_search_0\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
@@ -507,21 +507,21 @@
end
# Search
#
# @param [Hash] opts the optional parameters
- # @option opts [SearchRequest] :body Search request options
+ # @option opts [UserSearchRequest] :body Search request options
# @return [UsersSearchResponse]
def post_search_2(opts = {})
data, status_code, headers = post_search_2_with_http_info(opts)
return data
end
# Search
#
# @param [Hash] opts the optional parameters
- # @option opts [SearchRequest] :body Search request options
+ # @option opts [UserSearchRequest] :body Search request options
# @return [Array<(UsersSearchResponse, Fixnum, Hash)>] UsersSearchResponse data, response status code and response headers
def post_search_2_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: SearchApi#post_search_2 ..."
end
@@ -564,21 +564,21 @@
end
# Suggest
#
# @param [Hash] opts the optional parameters
- # @option opts [SearchRequest] :body Search request options
+ # @option opts [SuggestSearchRequest] :body Search request options
# @option opts [BOOLEAN] :profile (default to true)
# @return [JsonNodeSearchResponse]
def post_suggest(opts = {})
data, status_code, headers = post_suggest_with_http_info(opts)
return data
end
# Suggest
#
# @param [Hash] opts the optional parameters
- # @option opts [SearchRequest] :body Search request options
+ # @option opts [SuggestSearchRequest] :body Search request options
# @option opts [BOOLEAN] :profile
# @return [Array<(JsonNodeSearchResponse, Fixnum, Hash)>] JsonNodeSearchResponse data, response status code and response headers
def post_suggest_with_http_info(opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: SearchApi#post_suggest ..."