lib/ionoscloud/api/user_management_api.rb in ionoscloud-6.0.0.beta.2 vs lib/ionoscloud/api/user_management_api.rb in ionoscloud-6.0.0.beta.3
- old
+ new
@@ -1,11 +1,11 @@
=begin
#CLOUD API
#An enterprise-grade Infrastructure is provided as a Service (IaaS) solution that can be managed through a browser-based \"Data Center Designer\" (DCD) tool or via an easy to use API. The API allows you to perform a variety of management tasks such as spinning up additional servers, adding volumes, adjusting networking, and so forth. It is designed to allow users to leverage the same power and flexibility found within the DCD visual tool. Both tools are consistent with their concepts and lend well to making the experience smooth and intuitive.
-The version of the OpenAPI document: 6.0
+The version of the OpenAPI document: 6.0-SDK.1
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 5.0.1-SNAPSHOT
=end
@@ -24,24 +24,24 @@
# @param group_id [String] The unique ID of the group
# @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 [Object]
+ # @return [nil]
def um_groups_delete(group_id, opts = {})
- data, _status_code, _headers = um_groups_delete_with_http_info(group_id, opts)
- data
+ um_groups_delete_with_http_info(group_id, opts)
+ nil
end
# Delete a Group
# Delete a group
# @param group_id [String] The unique ID of the group
# @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<(Object, Integer, Hash)>] Object data, response status code and response headers
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def um_groups_delete_with_http_info(group_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: UserManagementApi.um_groups_delete ...'
end
# verify the required parameter 'group_id' is set
@@ -75,11 +75,11 @@
# http body (model)
post_body = opts[:debug_body]
# return_type
- return_type = opts[:debug_return_type] || 'Object'
+ return_type = opts[:debug_return_type]
# auth_names
auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
new_options = opts.merge(
@@ -507,25 +507,25 @@
# @param resource_id [String]
# @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 [Object]
+ # @return [nil]
def um_groups_shares_delete(group_id, resource_id, opts = {})
- data, _status_code, _headers = um_groups_shares_delete_with_http_info(group_id, resource_id, opts)
- data
+ um_groups_shares_delete_with_http_info(group_id, resource_id, opts)
+ nil
end
# Remove a resource from a group
# This will remove a resource from a group
# @param group_id [String]
# @param resource_id [String]
# @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<(Object, Integer, Hash)>] Object data, response status code and response headers
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def um_groups_shares_delete_with_http_info(group_id, resource_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: UserManagementApi.um_groups_shares_delete ...'
end
# verify the required parameter 'group_id' is set
@@ -563,11 +563,11 @@
# http body (model)
post_body = opts[:debug_body]
# return_type
- return_type = opts[:debug_return_type] || 'Object'
+ return_type = opts[:debug_return_type]
# auth_names
auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
new_options = opts.merge(
@@ -945,25 +945,25 @@
# @param user_id [String]
# @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 [Object]
+ # @return [nil]
def um_groups_users_delete(group_id, user_id, opts = {})
- data, _status_code, _headers = um_groups_users_delete_with_http_info(group_id, user_id, opts)
- data
+ um_groups_users_delete_with_http_info(group_id, user_id, opts)
+ nil
end
# Remove a user from a group
# This will remove a user from a group.
# @param group_id [String]
# @param user_id [String]
# @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<(Object, Integer, Hash)>] Object data, response status code and response headers
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def um_groups_users_delete_with_http_info(group_id, user_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: UserManagementApi.um_groups_users_delete ...'
end
# verify the required parameter 'group_id' is set
@@ -1001,11 +1001,11 @@
# http body (model)
post_body = opts[:debug_body]
# return_type
- return_type = opts[:debug_return_type] || 'Object'
+ return_type = opts[:debug_return_type]
# auth_names
auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
new_options = opts.merge(
@@ -1438,24 +1438,24 @@
# @param user_id [String] The unique ID of the 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 [Object]
+ # @return [nil]
def um_users_delete(user_id, opts = {})
- data, _status_code, _headers = um_users_delete_with_http_info(user_id, opts)
- data
+ um_users_delete_with_http_info(user_id, opts)
+ nil
end
# Delete a User
# Delete a user
# @param user_id [String] The unique ID of the 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<(Object, Integer, Hash)>] Object data, response status code and response headers
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def um_users_delete_with_http_info(user_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: UserManagementApi.um_users_delete ...'
end
# verify the required parameter 'user_id' is set
@@ -1489,10 +1489,10 @@
# http body (model)
post_body = opts[:debug_body]
# return_type
- return_type = opts[:debug_return_type] || 'Object'
+ return_type = opts[:debug_return_type]
# auth_names
auth_names = opts[:debug_auth_names] || ['Basic Authentication', 'Token Authentication']
new_options = opts.merge(