ionoscloud-dbaas-postgres 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/docs/CHANGELOG.md +21 -0
- data/docs/models/ClusterBackup.md +5 -1
- data/docs/models/DBUser.md +1 -1
- data/docs/models/ErrorResponse.md +1 -1
- data/docs/models/MaintenanceWindow.md +1 -1
- data/ionoscloud-dbaas-postgres.gemspec +1 -1
- data/lib/ionoscloud-dbaas-postgres/api/backups_api.rb +1 -1
- data/lib/ionoscloud-dbaas-postgres/api/clusters_api.rb +1 -1
- data/lib/ionoscloud-dbaas-postgres/api/logs_api.rb +1 -1
- data/lib/ionoscloud-dbaas-postgres/api/metadata_api.rb +1 -1
- data/lib/ionoscloud-dbaas-postgres/api/restores_api.rb +1 -1
- data/lib/ionoscloud-dbaas-postgres/api_client.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres/api_error.rb +1 -1
- data/lib/ionoscloud-dbaas-postgres/configuration.rb +1 -1
- data/lib/ionoscloud-dbaas-postgres/models/api_version.rb +19 -3
- data/lib/ionoscloud-dbaas-postgres/models/backup_metadata.rb +19 -3
- data/lib/ionoscloud-dbaas-postgres/models/backup_response.rb +38 -6
- data/lib/ionoscloud-dbaas-postgres/models/cluster_backup.rb +86 -10
- data/lib/ionoscloud-dbaas-postgres/models/cluster_backup_list.rb +56 -8
- data/lib/ionoscloud-dbaas-postgres/models/cluster_backup_list_all_of.rb +28 -4
- data/lib/ionoscloud-dbaas-postgres/models/cluster_list.rb +56 -8
- data/lib/ionoscloud-dbaas-postgres/models/cluster_list_all_of.rb +28 -4
- data/lib/ionoscloud-dbaas-postgres/models/cluster_logs.rb +10 -2
- data/lib/ionoscloud-dbaas-postgres/models/cluster_logs_instances.rb +19 -3
- data/lib/ionoscloud-dbaas-postgres/models/cluster_logs_messages.rb +19 -3
- data/lib/ionoscloud-dbaas-postgres/models/cluster_properties.rb +110 -14
- data/lib/ionoscloud-dbaas-postgres/models/cluster_response.rb +38 -6
- data/lib/ionoscloud-dbaas-postgres/models/connection.rb +28 -4
- data/lib/ionoscloud-dbaas-postgres/models/create_cluster_properties.rb +127 -15
- data/lib/ionoscloud-dbaas-postgres/models/create_cluster_request.rb +19 -3
- data/lib/ionoscloud-dbaas-postgres/models/create_restore_request.rb +19 -3
- data/lib/ionoscloud-dbaas-postgres/models/day_of_the_week.rb +1 -1
- data/lib/ionoscloud-dbaas-postgres/models/db_user.rb +20 -4
- data/lib/ionoscloud-dbaas-postgres/models/error_message.rb +19 -3
- data/lib/ionoscloud-dbaas-postgres/models/error_response.rb +20 -4
- data/lib/ionoscloud-dbaas-postgres/models/maintenance_window.rb +21 -4
- data/lib/ionoscloud-dbaas-postgres/models/metadata.rb +65 -9
- data/lib/ionoscloud-dbaas-postgres/models/pagination.rb +28 -4
- data/lib/ionoscloud-dbaas-postgres/models/pagination_links.rb +28 -4
- data/lib/ionoscloud-dbaas-postgres/models/patch_cluster_properties.rb +74 -10
- data/lib/ionoscloud-dbaas-postgres/models/patch_cluster_request.rb +20 -4
- data/lib/ionoscloud-dbaas-postgres/models/postgres_version_list.rb +11 -3
- data/lib/ionoscloud-dbaas-postgres/models/postgres_version_list_data.rb +10 -2
- data/lib/ionoscloud-dbaas-postgres/models/resource_type.rb +1 -1
- data/lib/ionoscloud-dbaas-postgres/models/state.rb +1 -1
- data/lib/ionoscloud-dbaas-postgres/models/storage_type.rb +1 -1
- data/lib/ionoscloud-dbaas-postgres/models/synchronization_mode.rb +1 -1
- data/lib/ionoscloud-dbaas-postgres/version.rb +2 -2
- data/lib/ionoscloud-dbaas-postgres.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +3 -2
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#An enterprise-grade Database is provided as a Service (DBaaS) 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 create additional database clusters or modify existing ones. 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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
@@ -16,20 +16,26 @@ require 'time'
|
|
16
16
|
module IonoscloudDbaasPostgres
|
17
17
|
# URLs to navigate the different pages. As of now we always only return a single page.
|
18
18
|
class PaginationLinks
|
19
|
+
|
19
20
|
# URL (with offset and limit parameters) of the previous page; only present if offset is greater than 0.
|
20
21
|
attr_accessor :prev
|
21
22
|
|
23
|
+
|
22
24
|
# URL (with offset and limit parameters) of the current page.
|
23
25
|
attr_accessor :_self
|
24
26
|
|
27
|
+
|
25
28
|
# URL (with offset and limit parameters) of the next page; only present if offset + limit is less than the total number of elements.
|
26
29
|
attr_accessor :_next
|
27
30
|
|
28
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
32
|
def self.attribute_map
|
30
33
|
{
|
34
|
+
|
31
35
|
:'prev' => :'prev',
|
36
|
+
|
32
37
|
:'_self' => :'self',
|
38
|
+
|
33
39
|
:'_next' => :'next'
|
34
40
|
}
|
35
41
|
end
|
@@ -42,8 +48,11 @@ module IonoscloudDbaasPostgres
|
|
42
48
|
# Attribute type mapping.
|
43
49
|
def self.openapi_types
|
44
50
|
{
|
51
|
+
|
45
52
|
:'prev' => :'String',
|
53
|
+
|
46
54
|
:'_self' => :'String',
|
55
|
+
|
47
56
|
:'_next' => :'String'
|
48
57
|
}
|
49
58
|
end
|
@@ -51,6 +60,9 @@ module IonoscloudDbaasPostgres
|
|
51
60
|
# List of attributes with nullable: true
|
52
61
|
def self.openapi_nullable
|
53
62
|
Set.new([
|
63
|
+
|
64
|
+
|
65
|
+
|
54
66
|
])
|
55
67
|
end
|
56
68
|
|
@@ -68,15 +80,18 @@ module IonoscloudDbaasPostgres
|
|
68
80
|
end
|
69
81
|
h[k.to_sym] = v
|
70
82
|
}
|
83
|
+
|
71
84
|
|
72
85
|
if attributes.key?(:'prev')
|
73
86
|
self.prev = attributes[:'prev']
|
74
87
|
end
|
75
88
|
|
89
|
+
|
76
90
|
if attributes.key?(:'_self')
|
77
91
|
self._self = attributes[:'_self']
|
78
92
|
end
|
79
93
|
|
94
|
+
|
80
95
|
if attributes.key?(:'_next')
|
81
96
|
self._next = attributes[:'_next']
|
82
97
|
end
|
@@ -86,23 +101,32 @@ module IonoscloudDbaasPostgres
|
|
86
101
|
# @return Array for valid properties with the reasons
|
87
102
|
def list_invalid_properties
|
88
103
|
invalid_properties = Array.new
|
104
|
+
|
105
|
+
|
106
|
+
|
89
107
|
invalid_properties
|
90
108
|
end
|
91
109
|
|
92
110
|
# Check to see if the all the properties in the model are valid
|
93
111
|
# @return true if the model is valid
|
94
112
|
def valid?
|
113
|
+
|
114
|
+
|
115
|
+
|
95
116
|
true
|
96
117
|
end
|
97
118
|
|
119
|
+
|
120
|
+
|
121
|
+
|
98
122
|
# Checks equality by comparing each attribute.
|
99
123
|
# @param [Object] Object to be compared
|
100
124
|
def ==(o)
|
101
125
|
return true if self.equal?(o)
|
102
126
|
self.class == o.class &&
|
103
|
-
|
104
|
-
|
105
|
-
|
127
|
+
prev == o.prev &&
|
128
|
+
_self == o._self &&
|
129
|
+
_next == o._next
|
106
130
|
end
|
107
131
|
|
108
132
|
# @see the `==` method
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#An enterprise-grade Database is provided as a Service (DBaaS) 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 create additional database clusters or modify existing ones. 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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
@@ -14,40 +14,56 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module IonoscloudDbaasPostgres
|
17
|
-
# Properties of the payload to change a cluster
|
17
|
+
# Properties of the payload to change a cluster.
|
18
18
|
class PatchClusterProperties
|
19
|
+
|
19
20
|
# The number of CPU cores per instance.
|
20
21
|
attr_accessor :cores
|
21
22
|
|
23
|
+
|
22
24
|
# The amount of memory per instance in megabytes. Has to be a multiple of 1024.
|
23
25
|
attr_accessor :ram
|
24
26
|
|
27
|
+
|
25
28
|
# The amount of storage per instance in megabytes.
|
26
29
|
attr_accessor :storage_size
|
27
30
|
|
31
|
+
|
28
32
|
attr_accessor :connections
|
29
33
|
|
34
|
+
|
30
35
|
# The friendly name of your cluster.
|
31
36
|
attr_accessor :display_name
|
32
37
|
|
38
|
+
|
33
39
|
attr_accessor :maintenance_window
|
34
40
|
|
41
|
+
|
35
42
|
# The PostgreSQL version of your cluster.
|
36
43
|
attr_accessor :postgres_version
|
37
44
|
|
45
|
+
|
38
46
|
# The total number of instances in the cluster (one master and n-1 standbys).
|
39
47
|
attr_accessor :instances
|
40
48
|
|
41
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
50
|
def self.attribute_map
|
43
51
|
{
|
52
|
+
|
44
53
|
:'cores' => :'cores',
|
54
|
+
|
45
55
|
:'ram' => :'ram',
|
56
|
+
|
46
57
|
:'storage_size' => :'storageSize',
|
58
|
+
|
47
59
|
:'connections' => :'connections',
|
60
|
+
|
48
61
|
:'display_name' => :'displayName',
|
62
|
+
|
49
63
|
:'maintenance_window' => :'maintenanceWindow',
|
64
|
+
|
50
65
|
:'postgres_version' => :'postgresVersion',
|
66
|
+
|
51
67
|
:'instances' => :'instances'
|
52
68
|
}
|
53
69
|
end
|
@@ -60,13 +76,21 @@ module IonoscloudDbaasPostgres
|
|
60
76
|
# Attribute type mapping.
|
61
77
|
def self.openapi_types
|
62
78
|
{
|
79
|
+
|
63
80
|
:'cores' => :'Integer',
|
81
|
+
|
64
82
|
:'ram' => :'Integer',
|
83
|
+
|
65
84
|
:'storage_size' => :'Integer',
|
85
|
+
|
66
86
|
:'connections' => :'Array<Connection>',
|
87
|
+
|
67
88
|
:'display_name' => :'String',
|
89
|
+
|
68
90
|
:'maintenance_window' => :'MaintenanceWindow',
|
91
|
+
|
69
92
|
:'postgres_version' => :'String',
|
93
|
+
|
70
94
|
:'instances' => :'Integer'
|
71
95
|
}
|
72
96
|
end
|
@@ -74,6 +98,14 @@ module IonoscloudDbaasPostgres
|
|
74
98
|
# List of attributes with nullable: true
|
75
99
|
def self.openapi_nullable
|
76
100
|
Set.new([
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
77
109
|
])
|
78
110
|
end
|
79
111
|
|
@@ -91,35 +123,43 @@ module IonoscloudDbaasPostgres
|
|
91
123
|
end
|
92
124
|
h[k.to_sym] = v
|
93
125
|
}
|
126
|
+
|
94
127
|
|
95
128
|
if attributes.key?(:'cores')
|
96
129
|
self.cores = attributes[:'cores']
|
97
130
|
end
|
98
131
|
|
132
|
+
|
99
133
|
if attributes.key?(:'ram')
|
100
134
|
self.ram = attributes[:'ram']
|
101
135
|
end
|
102
136
|
|
137
|
+
|
103
138
|
if attributes.key?(:'storage_size')
|
104
139
|
self.storage_size = attributes[:'storage_size']
|
105
140
|
end
|
106
141
|
|
142
|
+
|
107
143
|
if attributes.key?(:'connections') && (value = attributes[:'connections']).is_a?(Array)
|
108
144
|
self.connections = value
|
109
145
|
end
|
110
146
|
|
147
|
+
|
111
148
|
if attributes.key?(:'display_name')
|
112
149
|
self.display_name = attributes[:'display_name']
|
113
150
|
end
|
114
151
|
|
152
|
+
|
115
153
|
if attributes.key?(:'maintenance_window')
|
116
154
|
self.maintenance_window = attributes[:'maintenance_window']
|
117
155
|
end
|
118
156
|
|
157
|
+
|
119
158
|
if attributes.key?(:'postgres_version')
|
120
159
|
self.postgres_version = attributes[:'postgres_version']
|
121
160
|
end
|
122
161
|
|
162
|
+
|
123
163
|
if attributes.key?(:'instances')
|
124
164
|
self.instances = attributes[:'instances']
|
125
165
|
end
|
@@ -129,14 +169,17 @@ module IonoscloudDbaasPostgres
|
|
129
169
|
# @return Array for valid properties with the reasons
|
130
170
|
def list_invalid_properties
|
131
171
|
invalid_properties = Array.new
|
172
|
+
|
132
173
|
if !@cores.nil? && @cores < 1
|
133
174
|
invalid_properties.push('invalid value for "cores", must be greater than or equal to 1.')
|
134
175
|
end
|
135
176
|
|
177
|
+
|
136
178
|
if !@ram.nil? && @ram < 2048
|
137
179
|
invalid_properties.push('invalid value for "ram", must be greater than or equal to 2048.')
|
138
180
|
end
|
139
181
|
|
182
|
+
|
140
183
|
if !@storage_size.nil? && @storage_size > 2097152
|
141
184
|
invalid_properties.push('invalid value for "storage_size", must be smaller than or equal to 2097152.')
|
142
185
|
end
|
@@ -145,6 +188,7 @@ module IonoscloudDbaasPostgres
|
|
145
188
|
invalid_properties.push('invalid value for "storage_size", must be greater than or equal to 2048.')
|
146
189
|
end
|
147
190
|
|
191
|
+
|
148
192
|
if !@connections.nil? && @connections.length > 1
|
149
193
|
invalid_properties.push('invalid value for "connections", number of items must be less than or equal to 1.')
|
150
194
|
end
|
@@ -153,6 +197,10 @@ module IonoscloudDbaasPostgres
|
|
153
197
|
invalid_properties.push('invalid value for "connections", number of items must be greater than or equal to 0.')
|
154
198
|
end
|
155
199
|
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
156
204
|
if !@instances.nil? && @instances > 5
|
157
205
|
invalid_properties.push('invalid value for "instances", must be smaller than or equal to 5.')
|
158
206
|
end
|
@@ -167,17 +215,26 @@ module IonoscloudDbaasPostgres
|
|
167
215
|
# Check to see if the all the properties in the model are valid
|
168
216
|
# @return true if the model is valid
|
169
217
|
def valid?
|
218
|
+
|
170
219
|
return false if !@cores.nil? && @cores < 1
|
220
|
+
|
171
221
|
return false if !@ram.nil? && @ram < 2048
|
222
|
+
|
172
223
|
return false if !@storage_size.nil? && @storage_size > 2097152
|
173
224
|
return false if !@storage_size.nil? && @storage_size < 2048
|
225
|
+
|
174
226
|
return false if !@connections.nil? && @connections.length > 1
|
175
227
|
return false if !@connections.nil? && @connections.length < 0
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
|
176
232
|
return false if !@instances.nil? && @instances > 5
|
177
233
|
return false if !@instances.nil? && @instances < 1
|
178
234
|
true
|
179
235
|
end
|
180
236
|
|
237
|
+
|
181
238
|
# Custom attribute writer method with validation
|
182
239
|
# @param [Object] cores Value to be assigned
|
183
240
|
def cores=(cores)
|
@@ -188,6 +245,7 @@ module IonoscloudDbaasPostgres
|
|
188
245
|
@cores = cores
|
189
246
|
end
|
190
247
|
|
248
|
+
|
191
249
|
# Custom attribute writer method with validation
|
192
250
|
# @param [Object] ram Value to be assigned
|
193
251
|
def ram=(ram)
|
@@ -198,6 +256,7 @@ module IonoscloudDbaasPostgres
|
|
198
256
|
@ram = ram
|
199
257
|
end
|
200
258
|
|
259
|
+
|
201
260
|
# Custom attribute writer method with validation
|
202
261
|
# @param [Object] storage_size Value to be assigned
|
203
262
|
def storage_size=(storage_size)
|
@@ -212,6 +271,7 @@ module IonoscloudDbaasPostgres
|
|
212
271
|
@storage_size = storage_size
|
213
272
|
end
|
214
273
|
|
274
|
+
|
215
275
|
# Custom attribute writer method with validation
|
216
276
|
# @param [Object] connections Value to be assigned
|
217
277
|
def connections=(connections)
|
@@ -226,6 +286,10 @@ module IonoscloudDbaasPostgres
|
|
226
286
|
@connections = connections
|
227
287
|
end
|
228
288
|
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
|
229
293
|
# Custom attribute writer method with validation
|
230
294
|
# @param [Object] instances Value to be assigned
|
231
295
|
def instances=(instances)
|
@@ -245,14 +309,14 @@ module IonoscloudDbaasPostgres
|
|
245
309
|
def ==(o)
|
246
310
|
return true if self.equal?(o)
|
247
311
|
self.class == o.class &&
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
312
|
+
cores == o.cores &&
|
313
|
+
ram == o.ram &&
|
314
|
+
storage_size == o.storage_size &&
|
315
|
+
connections == o.connections &&
|
316
|
+
display_name == o.display_name &&
|
317
|
+
maintenance_window == o.maintenance_window &&
|
318
|
+
postgres_version == o.postgres_version &&
|
319
|
+
instances == o.instances
|
256
320
|
end
|
257
321
|
|
258
322
|
# @see the `==` method
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#An enterprise-grade Database is provided as a Service (DBaaS) 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 create additional database clusters or modify existing ones. 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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
@@ -14,16 +14,20 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module IonoscloudDbaasPostgres
|
17
|
-
# Request payload to change a cluster
|
17
|
+
# Request payload to change a cluster.
|
18
18
|
class PatchClusterRequest
|
19
|
+
|
19
20
|
attr_accessor :metadata
|
20
21
|
|
22
|
+
|
21
23
|
attr_accessor :properties
|
22
24
|
|
23
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
26
|
def self.attribute_map
|
25
27
|
{
|
28
|
+
|
26
29
|
:'metadata' => :'metadata',
|
30
|
+
|
27
31
|
:'properties' => :'properties'
|
28
32
|
}
|
29
33
|
end
|
@@ -36,7 +40,9 @@ module IonoscloudDbaasPostgres
|
|
36
40
|
# Attribute type mapping.
|
37
41
|
def self.openapi_types
|
38
42
|
{
|
43
|
+
|
39
44
|
:'metadata' => :'Metadata',
|
45
|
+
|
40
46
|
:'properties' => :'PatchClusterProperties'
|
41
47
|
}
|
42
48
|
end
|
@@ -44,6 +50,8 @@ module IonoscloudDbaasPostgres
|
|
44
50
|
# List of attributes with nullable: true
|
45
51
|
def self.openapi_nullable
|
46
52
|
Set.new([
|
53
|
+
|
54
|
+
|
47
55
|
])
|
48
56
|
end
|
49
57
|
|
@@ -61,11 +69,13 @@ module IonoscloudDbaasPostgres
|
|
61
69
|
end
|
62
70
|
h[k.to_sym] = v
|
63
71
|
}
|
72
|
+
|
64
73
|
|
65
74
|
if attributes.key?(:'metadata')
|
66
75
|
self.metadata = attributes[:'metadata']
|
67
76
|
end
|
68
77
|
|
78
|
+
|
69
79
|
if attributes.key?(:'properties')
|
70
80
|
self.properties = attributes[:'properties']
|
71
81
|
end
|
@@ -75,22 +85,28 @@ module IonoscloudDbaasPostgres
|
|
75
85
|
# @return Array for valid properties with the reasons
|
76
86
|
def list_invalid_properties
|
77
87
|
invalid_properties = Array.new
|
88
|
+
|
89
|
+
|
78
90
|
invalid_properties
|
79
91
|
end
|
80
92
|
|
81
93
|
# Check to see if the all the properties in the model are valid
|
82
94
|
# @return true if the model is valid
|
83
95
|
def valid?
|
96
|
+
|
97
|
+
|
84
98
|
true
|
85
99
|
end
|
86
100
|
|
101
|
+
|
102
|
+
|
87
103
|
# Checks equality by comparing each attribute.
|
88
104
|
# @param [Object] Object to be compared
|
89
105
|
def ==(o)
|
90
106
|
return true if self.equal?(o)
|
91
107
|
self.class == o.class &&
|
92
|
-
|
93
|
-
|
108
|
+
metadata == o.metadata &&
|
109
|
+
properties == o.properties
|
94
110
|
end
|
95
111
|
|
96
112
|
# @see the `==` method
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#An enterprise-grade Database is provided as a Service (DBaaS) 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 create additional database clusters or modify existing ones. 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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
@@ -14,13 +14,15 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module IonoscloudDbaasPostgres
|
17
|
-
#
|
17
|
+
# List of PostgreSQL versions.
|
18
18
|
class PostgresVersionList
|
19
|
+
|
19
20
|
attr_accessor :data
|
20
21
|
|
21
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
22
23
|
def self.attribute_map
|
23
24
|
{
|
25
|
+
|
24
26
|
:'data' => :'data'
|
25
27
|
}
|
26
28
|
end
|
@@ -33,6 +35,7 @@ module IonoscloudDbaasPostgres
|
|
33
35
|
# Attribute type mapping.
|
34
36
|
def self.openapi_types
|
35
37
|
{
|
38
|
+
|
36
39
|
:'data' => :'Array<PostgresVersionListData>'
|
37
40
|
}
|
38
41
|
end
|
@@ -40,6 +43,7 @@ module IonoscloudDbaasPostgres
|
|
40
43
|
# List of attributes with nullable: true
|
41
44
|
def self.openapi_nullable
|
42
45
|
Set.new([
|
46
|
+
|
43
47
|
])
|
44
48
|
end
|
45
49
|
|
@@ -57,6 +61,7 @@ module IonoscloudDbaasPostgres
|
|
57
61
|
end
|
58
62
|
h[k.to_sym] = v
|
59
63
|
}
|
64
|
+
|
60
65
|
|
61
66
|
if attributes.key?(:'data') && (value = attributes[:'data']).is_a?(Array)
|
62
67
|
self.data = value
|
@@ -67,21 +72,24 @@ module IonoscloudDbaasPostgres
|
|
67
72
|
# @return Array for valid properties with the reasons
|
68
73
|
def list_invalid_properties
|
69
74
|
invalid_properties = Array.new
|
75
|
+
|
70
76
|
invalid_properties
|
71
77
|
end
|
72
78
|
|
73
79
|
# Check to see if the all the properties in the model are valid
|
74
80
|
# @return true if the model is valid
|
75
81
|
def valid?
|
82
|
+
|
76
83
|
true
|
77
84
|
end
|
78
85
|
|
86
|
+
|
79
87
|
# Checks equality by comparing each attribute.
|
80
88
|
# @param [Object] Object to be compared
|
81
89
|
def ==(o)
|
82
90
|
return true if self.equal?(o)
|
83
91
|
self.class == o.class &&
|
84
|
-
|
92
|
+
data == o.data
|
85
93
|
end
|
86
94
|
|
87
95
|
# @see the `==` method
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#An enterprise-grade Database is provided as a Service (DBaaS) 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 create additional database clusters or modify existing ones. 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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
@@ -15,11 +15,13 @@ require 'time'
|
|
15
15
|
|
16
16
|
module IonoscloudDbaasPostgres
|
17
17
|
class PostgresVersionListData
|
18
|
+
|
18
19
|
attr_accessor :name
|
19
20
|
|
20
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
21
22
|
def self.attribute_map
|
22
23
|
{
|
24
|
+
|
23
25
|
:'name' => :'name'
|
24
26
|
}
|
25
27
|
end
|
@@ -32,6 +34,7 @@ module IonoscloudDbaasPostgres
|
|
32
34
|
# Attribute type mapping.
|
33
35
|
def self.openapi_types
|
34
36
|
{
|
37
|
+
|
35
38
|
:'name' => :'String'
|
36
39
|
}
|
37
40
|
end
|
@@ -39,6 +42,7 @@ module IonoscloudDbaasPostgres
|
|
39
42
|
# List of attributes with nullable: true
|
40
43
|
def self.openapi_nullable
|
41
44
|
Set.new([
|
45
|
+
|
42
46
|
])
|
43
47
|
end
|
44
48
|
|
@@ -56,6 +60,7 @@ module IonoscloudDbaasPostgres
|
|
56
60
|
end
|
57
61
|
h[k.to_sym] = v
|
58
62
|
}
|
63
|
+
|
59
64
|
|
60
65
|
if attributes.key?(:'name')
|
61
66
|
self.name = attributes[:'name']
|
@@ -66,21 +71,24 @@ module IonoscloudDbaasPostgres
|
|
66
71
|
# @return Array for valid properties with the reasons
|
67
72
|
def list_invalid_properties
|
68
73
|
invalid_properties = Array.new
|
74
|
+
|
69
75
|
invalid_properties
|
70
76
|
end
|
71
77
|
|
72
78
|
# Check to see if the all the properties in the model are valid
|
73
79
|
# @return true if the model is valid
|
74
80
|
def valid?
|
81
|
+
|
75
82
|
true
|
76
83
|
end
|
77
84
|
|
85
|
+
|
78
86
|
# Checks equality by comparing each attribute.
|
79
87
|
# @param [Object] Object to be compared
|
80
88
|
def ==(o)
|
81
89
|
return true if self.equal?(o)
|
82
90
|
self.class == o.class &&
|
83
|
-
|
91
|
+
name == o.name
|
84
92
|
end
|
85
93
|
|
86
94
|
# @see the `==` method
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#An enterprise-grade Database is provided as a Service (DBaaS) 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 create additional database clusters or modify existing ones. 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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#An enterprise-grade Database is provided as a Service (DBaaS) 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 create additional database clusters or modify existing ones. 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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#An enterprise-grade Database is provided as a Service (DBaaS) 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 create additional database clusters or modify existing ones. 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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#An enterprise-grade Database is provided as a Service (DBaaS) 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 create additional database clusters or modify existing ones. 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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#An enterprise-grade Database is provided as a Service (DBaaS) 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 create additional database clusters or modify existing ones. 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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.2.1-SNAPSHOT
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module IonoscloudDbaasPostgres
|
14
|
-
VERSION = '1.0.
|
14
|
+
VERSION = '1.0.3'
|
15
15
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#An enterprise-grade Database is provided as a Service (DBaaS) 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 create additional database clusters or modify existing ones. 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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|
data/spec/api_client_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#An enterprise-grade Database is provided as a Service (DBaaS) 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 create additional database clusters or modify existing ones. 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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.2.1-SNAPSHOT
|