lib/ionoscloud/configuration.rb in ionoscloud-5.1.2 vs lib/ionoscloud/configuration.rb in ionoscloud-6.0.0.beta.1
- 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.
-The version of the OpenAPI document: 5.0
+The version of the OpenAPI document: 6.0
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 5.2.1-SNAPSHOT
+OpenAPI Generator version: 5.0.1-SNAPSHOT
=end
module Ionoscloud
class Configuration
@@ -144,11 +144,11 @@
attr_accessor :max_wait_time
def initialize
@scheme = 'https'
@host = 'api.ionos.com'
- @base_path = '/cloudapi/v5'
+ @base_path = '/cloudapi/v6'
@server_index = 0
@server_operation_index = {}
@server_variables = {}
@server_operation_variables = {}
@api_key = {}
@@ -163,12 +163,12 @@
@debugging = false
@inject_format = false
@force_ending_format = false
@logger = defined?(Rails) ? Rails.logger : Logger.new(STDOUT)
@max_retries = 3
- @wait_time = 0.1
- @max_wait_time = 2
+ @wait_time = 100
+ @max_wait_time = 2000
yield(self) if block_given?
end
# The default Configuration object.
@@ -241,10 +241,10 @@
# Returns an array of Server setting
def server_settings
[
{
- url: "https://api.ionos.com/cloudapi/v5",
+ url: "https://api.ionos.com/cloudapi/v6",
description: "No description provided",
}
]
end