lib/ionoscloud/api/ip_blocks_api.rb in ionoscloud-6.0.0.beta.2 vs lib/ionoscloud/api/ip_blocks_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 ipblock_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 ipblocks_delete(ipblock_id, opts = {})
- data, _status_code, _headers = ipblocks_delete_with_http_info(ipblock_id, opts)
- data
+ ipblocks_delete_with_http_info(ipblock_id, opts)
+ nil
end
# Delete IP Block
# Removes the specific IP Block.
# @param ipblock_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 ipblocks_delete_with_http_info(ipblock_id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: IPBlocksApi.ipblocks_delete ...'
end
# verify the required parameter 'ipblock_id' is set
@@ -75,10 +75,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(