lib/ionoscloud/api/user_management_api.rb in ionoscloud-6.0.0.beta.1 vs lib/ionoscloud/api/user_management_api.rb in ionoscloud-6.0.0.beta.2
- old
+ new
@@ -1832,11 +1832,11 @@
# @param user [UserPost] User to be created
# @param [Hash] opts the optional parameters
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines) (default to true)
# @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on (default to 0)
# @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
- # @return [UserPost]
+ # @return [User]
def um_users_post(user, opts = {})
data, _status_code, _headers = um_users_post_with_http_info(user, opts)
data
end
@@ -1845,11 +1845,11 @@
# @param user [UserPost] User to be created
# @param [Hash] opts the optional parameters
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
# @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
# @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
- # @return [Array<(UserPost, Integer, Hash)>] UserPost data, response status code and response headers
+ # @return [Array<(User, Integer, Hash)>] User data, response status code and response headers
def um_users_post_with_http_info(user, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: UserManagementApi.um_users_post ...'
end
# verify the required parameter 'user' is set
@@ -1885,11 +1885,11 @@
# http body (model)
post_body = opts[:debug_body] || @api_client.object_to_http_body(user)
# return_type
- return_type = opts[:debug_return_type] || 'UserPost'
+ return_type = opts[:debug_return_type] || 'User'
# auth_names
auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
new_options = opts.merge(
@@ -1915,11 +1915,11 @@
# @param user [UserPut] Modified user
# @param [Hash] opts the optional parameters
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines) (default to true)
# @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on (default to 0)
# @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
- # @return [UserPut]
+ # @return [User]
def um_users_put(user_id, user, opts = {})
data, _status_code, _headers = um_users_put_with_http_info(user_id, user, opts)
data
end
@@ -1929,11 +1929,11 @@
# @param user [UserPut] Modified user
# @param [Hash] opts the optional parameters
# @option opts [Boolean] :pretty Controls whether response is pretty-printed (with indentation and new lines)
# @option opts [Integer] :depth Controls the details depth of response objects. Eg. GET /datacenters/[ID] - depth=0: only direct properties are included. Children (servers etc.) are not included - depth=1: direct properties and children references are included - depth=2: direct properties and children properties are included - depth=3: direct properties and children properties and children's children are included - depth=... and so on
# @option opts [Integer] :x_contract_number Users having more than 1 contract need to provide contract number, against which all API requests should be executed
- # @return [Array<(UserPut, Integer, Hash)>] UserPut data, response status code and response headers
+ # @return [Array<(User, Integer, Hash)>] User data, response status code and response headers
def um_users_put_with_http_info(user_id, user, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: UserManagementApi.um_users_put ...'
end
# verify the required parameter 'user_id' is set
@@ -1973,10 +1973,10 @@
# http body (model)
post_body = opts[:debug_body] || @api_client.object_to_http_body(user)
# return_type
- return_type = opts[:debug_return_type] || 'UserPut'
+ return_type = opts[:debug_return_type] || 'User'
# auth_names
auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
new_options = opts.merge(