lib/purecloudplatformclientv2/api/users_api.rb in purecloudplatformclientv2-36.1.0 vs lib/purecloudplatformclientv2/api/users_api.rb in purecloudplatformclientv2-37.0.0
- old
+ new
@@ -3598,25 +3598,25 @@
end
# Update profile skills for a user
#
# @param user_id User ID
+ # @param body Skills
# @param [Hash] opts the optional parameters
- # @option opts [Array<String>] :body Skills
# @return [Array<String>]
- def put_user_profileskills(user_id, opts = {})
- data, _status_code, _headers = put_user_profileskills_with_http_info(user_id, opts)
+ def put_user_profileskills(user_id, body, opts = {})
+ data, _status_code, _headers = put_user_profileskills_with_http_info(user_id, body, opts)
return data
end
# Update profile skills for a user
#
# @param user_id User ID
+ # @param body Skills
# @param [Hash] opts the optional parameters
- # @option opts [Array<String>] :body Skills
# @return [Array<(Array<String>, Fixnum, Hash)>] Array<String> data, response status code and response headers
- def put_user_profileskills_with_http_info(user_id, opts = {})
+ def put_user_profileskills_with_http_info(user_id, body, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: UsersApi.put_user_profileskills ..."
end
@@ -3626,10 +3626,12 @@
+ # verify the required parameter 'body' is set
+ fail ArgumentError, "Missing the required parameter 'body' when calling UsersApi.put_user_profileskills" if body.nil?
@@ -3652,10 +3654,10 @@
# form parameters
form_params = {}
# http body (model)
- post_body = @api_client.object_to_http_body(opts[:'body'])
+ post_body = @api_client.object_to_http_body(body)
auth_names = ['PureCloud Auth']
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
:header_params => header_params,
:query_params => query_params,