lib/ionoscloud/api/firewall_rules_api.rb in ionoscloud-6.0.0.beta.3 vs lib/ionoscloud/api/firewall_rules_api.rb in ionoscloud-6.0.0.beta.4

- old
+ new

@@ -1,14 +1,14 @@ =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. +#IONOS Enterprise-grade Infrastructure as a Service (IaaS) solutions can be managed through the Cloud API, in addition or as an alternative to the \"Data Center Designer\" (DCD) browser-based tool. Both methods employ consistent concepts and features, deliver similar power and flexibility, and can be used to perform a multitude of management tasks, including adding servers, volumes, configuring networks, and so on. -The version of the OpenAPI document: 6.0-SDK.1 +The version of the OpenAPI document: 6.0-SDK.3 Generated by: https://openapi-generator.tech -OpenAPI Generator version: 5.0.1-SNAPSHOT +OpenAPI Generator version: 5.2.1-SNAPSHOT =end require 'cgi' @@ -19,34 +19,34 @@ def initialize(api_client = ApiClient.default) @api_client = api_client end # Delete a Firewall Rule # Removes the specified firewall rule. - # @param datacenter_id [String] The unique ID of the datacenter + # @param datacenter_id [String] The unique ID of the data center. # @param server_id [String] The unique ID of the Server # @param nic_id [String] The unique ID of the NIC # @param firewallrule_id [String] The unique ID of the Firewall Rule # @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&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... 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 + # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true) + # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on (default to 0) + # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [nil] def datacenters_servers_nics_firewallrules_delete(datacenter_id, server_id, nic_id, firewallrule_id, opts = {}) datacenters_servers_nics_firewallrules_delete_with_http_info(datacenter_id, server_id, nic_id, firewallrule_id, opts) nil end # Delete a Firewall Rule # Removes the specified firewall rule. - # @param datacenter_id [String] The unique ID of the datacenter + # @param datacenter_id [String] The unique ID of the data center. # @param server_id [String] The unique ID of the Server # @param nic_id [String] The unique ID of the NIC # @param firewallrule_id [String] The unique ID of the Firewall Rule # @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&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... 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 + # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). + # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on + # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers def datacenters_servers_nics_firewallrules_delete_with_http_info(datacenter_id, server_id, nic_id, firewallrule_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: FirewallRulesApi.datacenters_servers_nics_firewallrules_delete ...' end @@ -117,34 +117,34 @@ return data, status_code, headers end # Retrieve a Firewall Rule # Retrieves the attributes of a given firewall rule. - # @param datacenter_id [String] The unique ID of the datacenter + # @param datacenter_id [String] The unique ID of the data center. # @param server_id [String] The unique ID of the Server # @param nic_id [String] The unique ID of the NIC # @param firewallrule_id [String] The unique ID of the Firewall Rule # @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&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... 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 + # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true) + # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on (default to 0) + # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [FirewallRule] def datacenters_servers_nics_firewallrules_find_by_id(datacenter_id, server_id, nic_id, firewallrule_id, opts = {}) data, _status_code, _headers = datacenters_servers_nics_firewallrules_find_by_id_with_http_info(datacenter_id, server_id, nic_id, firewallrule_id, opts) data end # Retrieve a Firewall Rule # Retrieves the attributes of a given firewall rule. - # @param datacenter_id [String] The unique ID of the datacenter + # @param datacenter_id [String] The unique ID of the data center. # @param server_id [String] The unique ID of the Server # @param nic_id [String] The unique ID of the NIC # @param firewallrule_id [String] The unique ID of the Firewall Rule # @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&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... 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 + # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). + # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on + # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [Array<(FirewallRule, Integer, Hash)>] FirewallRule data, response status code and response headers def datacenters_servers_nics_firewallrules_find_by_id_with_http_info(datacenter_id, server_id, nic_id, firewallrule_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: FirewallRulesApi.datacenters_servers_nics_firewallrules_find_by_id ...' end @@ -215,36 +215,36 @@ return data, status_code, headers end # List Firewall Rules # Retrieves a list of firewall rules associated with a particular network interface. - # @param datacenter_id [String] The unique ID of the datacenter + # @param datacenter_id [String] The unique ID of the data center. # @param server_id [String] The unique ID of the Server # @param nic_id [String] The unique ID of the NIC # @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&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... 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 - # @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with limit for pagination) (default to 0) - # @option opts [Integer] :limit the maximum number of elements to return (use together with offset for pagination) (default to 1000) + # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true) + # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on (default to 0) + # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. + # @option opts [Integer] :offset The first element (from the complete list of the elements) to include in the response (use together with limit for pagination). (default to 0) + # @option opts [Integer] :limit The maximum number of elements to return (use together with offset for pagination). (default to 1000) # @return [FirewallRules] def datacenters_servers_nics_firewallrules_get(datacenter_id, server_id, nic_id, opts = {}) data, _status_code, _headers = datacenters_servers_nics_firewallrules_get_with_http_info(datacenter_id, server_id, nic_id, opts) data end # List Firewall Rules # Retrieves a list of firewall rules associated with a particular network interface. - # @param datacenter_id [String] The unique ID of the datacenter + # @param datacenter_id [String] The unique ID of the data center. # @param server_id [String] The unique ID of the Server # @param nic_id [String] The unique ID of the NIC # @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&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... 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 - # @option opts [Integer] :offset the first element (of the total list of elements) to include in the response (use together with limit for pagination) - # @option opts [Integer] :limit the maximum number of elements to return (use together with offset for pagination) + # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). + # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on + # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. + # @option opts [Integer] :offset The first element (from the complete list of the elements) to include in the response (use together with limit for pagination). + # @option opts [Integer] :limit The maximum number of elements to return (use together with offset for pagination). # @return [Array<(FirewallRules, Integer, Hash)>] FirewallRules data, response status code and response headers def datacenters_servers_nics_firewallrules_get_with_http_info(datacenter_id, server_id, nic_id, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: FirewallRulesApi.datacenters_servers_nics_firewallrules_get ...' end @@ -325,36 +325,36 @@ return data, status_code, headers end # Partially Modify a Firewall Rule # You can use update attributes of a resource. - # @param datacenter_id [String] The unique ID of the datacenter + # @param datacenter_id [String] The unique ID of the data center. # @param server_id [String] The unique ID of the Server # @param nic_id [String] The unique ID of the NIC # @param firewallrule_id [String] The unique ID of the Firewall Rule # @param firewallrule [FirewallruleProperties] Modified Firewall Rule # @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&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... 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 + # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true) + # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on (default to 0) + # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [FirewallRule] def datacenters_servers_nics_firewallrules_patch(datacenter_id, server_id, nic_id, firewallrule_id, firewallrule, opts = {}) data, _status_code, _headers = datacenters_servers_nics_firewallrules_patch_with_http_info(datacenter_id, server_id, nic_id, firewallrule_id, firewallrule, opts) data end # Partially Modify a Firewall Rule # You can use update attributes of a resource. - # @param datacenter_id [String] The unique ID of the datacenter + # @param datacenter_id [String] The unique ID of the data center. # @param server_id [String] The unique ID of the Server # @param nic_id [String] The unique ID of the NIC # @param firewallrule_id [String] The unique ID of the Firewall Rule # @param firewallrule [FirewallruleProperties] Modified Firewall Rule # @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&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... 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 + # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). + # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on + # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [Array<(FirewallRule, Integer, Hash)>] FirewallRule data, response status code and response headers def datacenters_servers_nics_firewallrules_patch_with_http_info(datacenter_id, server_id, nic_id, firewallrule_id, firewallrule, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: FirewallRulesApi.datacenters_servers_nics_firewallrules_patch ...' end @@ -431,34 +431,34 @@ return data, status_code, headers end # Create a Firewall Rule # This will add a Firewall Rule to the network interface. - # @param datacenter_id [String] The unique ID of the datacenter + # @param datacenter_id [String] The unique ID of the data center. # @param server_id [String] The unique ID of the server # @param nic_id [String] The unique ID of the NIC # @param firewallrule [FirewallRule] Firewall Rule 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&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... 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 + # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true) + # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on (default to 0) + # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [FirewallRule] def datacenters_servers_nics_firewallrules_post(datacenter_id, server_id, nic_id, firewallrule, opts = {}) data, _status_code, _headers = datacenters_servers_nics_firewallrules_post_with_http_info(datacenter_id, server_id, nic_id, firewallrule, opts) data end # Create a Firewall Rule # This will add a Firewall Rule to the network interface. - # @param datacenter_id [String] The unique ID of the datacenter + # @param datacenter_id [String] The unique ID of the data center. # @param server_id [String] The unique ID of the server # @param nic_id [String] The unique ID of the NIC # @param firewallrule [FirewallRule] Firewall Rule 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&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... 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 + # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). + # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on + # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [Array<(FirewallRule, Integer, Hash)>] FirewallRule data, response status code and response headers def datacenters_servers_nics_firewallrules_post_with_http_info(datacenter_id, server_id, nic_id, firewallrule, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: FirewallRulesApi.datacenters_servers_nics_firewallrules_post ...' end @@ -531,35 +531,35 @@ return data, status_code, headers end # Modify a Firewall Rule # You can use update attributes of a resource. - # @param datacenter_id [String] The unique ID of the datacenter + # @param datacenter_id [String] The unique ID of the data center. # @param server_id [String] The unique ID of the Server # @param nic_id [String] The unique ID of the NIC # @param firewallrule_id [String] The unique ID of the Firewall Rule # @param firewallrule [FirewallRule] Modified Firewall Rule # @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&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... 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 + # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). (default to true) + # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on (default to 0) + # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [FirewallRule] def datacenters_servers_nics_firewallrules_put(datacenter_id, server_id, nic_id, firewallrule_id, firewallrule, opts = {}) data, _status_code, _headers = datacenters_servers_nics_firewallrules_put_with_http_info(datacenter_id, server_id, nic_id, firewallrule_id, firewallrule, opts) data end # Modify a Firewall Rule # You can use update attributes of a resource. - # @param datacenter_id [String] The unique ID of the datacenter + # @param datacenter_id [String] The unique ID of the data center. # @param server_id [String] The unique ID of the Server # @param nic_id [String] The unique ID of the NIC # @param firewallrule_id [String] The unique ID of the Firewall Rule # @param firewallrule [FirewallRule] Modified Firewall Rule # @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&#x3D;0: only direct properties are included. Children (servers etc.) are not included - depth&#x3D;1: direct properties and children references are included - depth&#x3D;2: direct properties and children properties are included - depth&#x3D;3: direct properties and children properties and children&#39;s children are included - depth&#x3D;... 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 + # @option opts [Boolean] :pretty Controls whether the response is pretty-printed (with indentations and new lines). + # @option opts [Integer] :depth Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on + # @option opts [Integer] :x_contract_number Users with multiple contracts must provide the contract number, against which all API requests are to be executed. # @return [Array<(FirewallRule, Integer, Hash)>] FirewallRule data, response status code and response headers def datacenters_servers_nics_firewallrules_put_with_http_info(datacenter_id, server_id, nic_id, firewallrule_id, firewallrule, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: FirewallRulesApi.datacenters_servers_nics_firewallrules_put ...' end