ionoscloud-dbaas-postgres 1.0.0 → 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 +3 -3
- data/docs/CHANGELOG.md +21 -0
- data/docs/api/LogsApi.md +8 -6
- data/docs/models/ClusterBackup.md +5 -1
- data/docs/models/ClusterProperties.md +4 -4
- data/docs/models/Connection.md +1 -1
- data/docs/models/CreateClusterProperties.md +4 -2
- data/docs/models/DBUser.md +1 -1
- data/docs/models/ErrorResponse.md +1 -1
- data/docs/models/MaintenanceWindow.md +1 -1
- data/git_push.sh +1 -3
- 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 +15 -8
- 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 +12 -27
- 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 +123 -16
- 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 +148 -16
- 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 +83 -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 +3 -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 -3
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +3 -7
- data/docs/models/BackupLocation.md +0 -15
- data/docs/models/Location.md +0 -15
- data/lib/ionoscloud-dbaas-postgres/models/backup_location.rb +0 -36
- data/lib/ionoscloud-dbaas-postgres/models/location.rb +0 -41
- data/lib/test_driver.rb +0 -119
@@ -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: 0.0
|
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,23 +14,31 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module IonoscloudDbaasPostgres
|
17
|
-
# A database backup
|
17
|
+
# A database backup.
|
18
18
|
class BackupResponse
|
19
|
+
|
19
20
|
attr_accessor :type
|
20
21
|
|
22
|
+
|
21
23
|
# The unique ID of the resource.
|
22
24
|
attr_accessor :id
|
23
25
|
|
26
|
+
|
24
27
|
attr_accessor :metadata
|
25
28
|
|
29
|
+
|
26
30
|
attr_accessor :properties
|
27
31
|
|
28
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
33
|
def self.attribute_map
|
30
34
|
{
|
35
|
+
|
31
36
|
:'type' => :'type',
|
37
|
+
|
32
38
|
:'id' => :'id',
|
39
|
+
|
33
40
|
:'metadata' => :'metadata',
|
41
|
+
|
34
42
|
:'properties' => :'properties'
|
35
43
|
}
|
36
44
|
end
|
@@ -43,9 +51,13 @@ module IonoscloudDbaasPostgres
|
|
43
51
|
# Attribute type mapping.
|
44
52
|
def self.openapi_types
|
45
53
|
{
|
54
|
+
|
46
55
|
:'type' => :'ResourceType',
|
56
|
+
|
47
57
|
:'id' => :'String',
|
58
|
+
|
48
59
|
:'metadata' => :'BackupMetadata',
|
60
|
+
|
49
61
|
:'properties' => :'ClusterBackup'
|
50
62
|
}
|
51
63
|
end
|
@@ -53,6 +65,10 @@ module IonoscloudDbaasPostgres
|
|
53
65
|
# List of attributes with nullable: true
|
54
66
|
def self.openapi_nullable
|
55
67
|
Set.new([
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
56
72
|
])
|
57
73
|
end
|
58
74
|
|
@@ -70,19 +86,23 @@ module IonoscloudDbaasPostgres
|
|
70
86
|
end
|
71
87
|
h[k.to_sym] = v
|
72
88
|
}
|
89
|
+
|
73
90
|
|
74
91
|
if attributes.key?(:'type')
|
75
92
|
self.type = attributes[:'type']
|
76
93
|
end
|
77
94
|
|
95
|
+
|
78
96
|
if attributes.key?(:'id')
|
79
97
|
self.id = attributes[:'id']
|
80
98
|
end
|
81
99
|
|
100
|
+
|
82
101
|
if attributes.key?(:'metadata')
|
83
102
|
self.metadata = attributes[:'metadata']
|
84
103
|
end
|
85
104
|
|
105
|
+
|
86
106
|
if attributes.key?(:'properties')
|
87
107
|
self.properties = attributes[:'properties']
|
88
108
|
end
|
@@ -92,24 +112,36 @@ module IonoscloudDbaasPostgres
|
|
92
112
|
# @return Array for valid properties with the reasons
|
93
113
|
def list_invalid_properties
|
94
114
|
invalid_properties = Array.new
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
95
119
|
invalid_properties
|
96
120
|
end
|
97
121
|
|
98
122
|
# Check to see if the all the properties in the model are valid
|
99
123
|
# @return true if the model is valid
|
100
124
|
def valid?
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
101
129
|
true
|
102
130
|
end
|
103
131
|
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
104
136
|
# Checks equality by comparing each attribute.
|
105
137
|
# @param [Object] Object to be compared
|
106
138
|
def ==(o)
|
107
139
|
return true if self.equal?(o)
|
108
140
|
self.class == o.class &&
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
141
|
+
type == o.type &&
|
142
|
+
id == o.id &&
|
143
|
+
metadata == o.metadata &&
|
144
|
+
properties == o.properties
|
113
145
|
end
|
114
146
|
|
115
147
|
# @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: 0.0
|
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,31 +14,53 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module IonoscloudDbaasPostgres
|
17
|
-
#
|
17
|
+
# A backup object.
|
18
18
|
class ClusterBackup
|
19
|
+
|
19
20
|
# The unique ID of the resource.
|
20
21
|
attr_accessor :id
|
21
22
|
|
23
|
+
|
22
24
|
# The unique ID of the cluster.
|
23
25
|
attr_accessor :cluster_id
|
24
26
|
|
27
|
+
|
25
28
|
# The PostgreSQL version this backup was created from.
|
26
29
|
attr_accessor :version
|
27
30
|
|
31
|
+
|
28
32
|
# Whether a cluster currently backs up data to this backup.
|
29
33
|
attr_accessor :is_active
|
30
34
|
|
35
|
+
|
31
36
|
# The oldest available timestamp to which you can restore.
|
32
37
|
attr_accessor :earliest_recovery_target_time
|
33
38
|
|
39
|
+
|
40
|
+
# Size of all base backups including the wal size in MB.
|
41
|
+
attr_accessor :size
|
42
|
+
|
43
|
+
|
44
|
+
# The S3 location where the backups will be stored.
|
45
|
+
attr_accessor :location
|
46
|
+
|
34
47
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
48
|
def self.attribute_map
|
36
49
|
{
|
50
|
+
|
37
51
|
:'id' => :'id',
|
52
|
+
|
38
53
|
:'cluster_id' => :'clusterId',
|
54
|
+
|
39
55
|
:'version' => :'version',
|
56
|
+
|
40
57
|
:'is_active' => :'isActive',
|
41
|
-
|
58
|
+
|
59
|
+
:'earliest_recovery_target_time' => :'earliestRecoveryTargetTime',
|
60
|
+
|
61
|
+
:'size' => :'size',
|
62
|
+
|
63
|
+
:'location' => :'location'
|
42
64
|
}
|
43
65
|
end
|
44
66
|
|
@@ -50,17 +72,33 @@ module IonoscloudDbaasPostgres
|
|
50
72
|
# Attribute type mapping.
|
51
73
|
def self.openapi_types
|
52
74
|
{
|
75
|
+
|
53
76
|
:'id' => :'String',
|
77
|
+
|
54
78
|
:'cluster_id' => :'String',
|
79
|
+
|
55
80
|
:'version' => :'String',
|
81
|
+
|
56
82
|
:'is_active' => :'Boolean',
|
57
|
-
|
83
|
+
|
84
|
+
:'earliest_recovery_target_time' => :'Time',
|
85
|
+
|
86
|
+
:'size' => :'Integer',
|
87
|
+
|
88
|
+
:'location' => :'String'
|
58
89
|
}
|
59
90
|
end
|
60
91
|
|
61
92
|
# List of attributes with nullable: true
|
62
93
|
def self.openapi_nullable
|
63
94
|
Set.new([
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
64
102
|
])
|
65
103
|
end
|
66
104
|
|
@@ -78,51 +116,89 @@ module IonoscloudDbaasPostgres
|
|
78
116
|
end
|
79
117
|
h[k.to_sym] = v
|
80
118
|
}
|
119
|
+
|
81
120
|
|
82
121
|
if attributes.key?(:'id')
|
83
122
|
self.id = attributes[:'id']
|
84
123
|
end
|
85
124
|
|
125
|
+
|
86
126
|
if attributes.key?(:'cluster_id')
|
87
127
|
self.cluster_id = attributes[:'cluster_id']
|
88
128
|
end
|
89
129
|
|
130
|
+
|
90
131
|
if attributes.key?(:'version')
|
91
132
|
self.version = attributes[:'version']
|
92
133
|
end
|
93
134
|
|
135
|
+
|
94
136
|
if attributes.key?(:'is_active')
|
95
137
|
self.is_active = attributes[:'is_active']
|
96
138
|
end
|
97
139
|
|
140
|
+
|
98
141
|
if attributes.key?(:'earliest_recovery_target_time')
|
99
142
|
self.earliest_recovery_target_time = attributes[:'earliest_recovery_target_time']
|
100
143
|
end
|
144
|
+
|
145
|
+
|
146
|
+
if attributes.key?(:'size')
|
147
|
+
self.size = attributes[:'size']
|
148
|
+
end
|
149
|
+
|
150
|
+
|
151
|
+
if attributes.key?(:'location')
|
152
|
+
self.location = attributes[:'location']
|
153
|
+
end
|
101
154
|
end
|
102
155
|
|
103
156
|
# Show invalid properties with the reasons. Usually used together with valid?
|
104
157
|
# @return Array for valid properties with the reasons
|
105
158
|
def list_invalid_properties
|
106
159
|
invalid_properties = Array.new
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
107
167
|
invalid_properties
|
108
168
|
end
|
109
169
|
|
110
170
|
# Check to see if the all the properties in the model are valid
|
111
171
|
# @return true if the model is valid
|
112
172
|
def valid?
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
113
180
|
true
|
114
181
|
end
|
115
182
|
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
116
190
|
# Checks equality by comparing each attribute.
|
117
191
|
# @param [Object] Object to be compared
|
118
192
|
def ==(o)
|
119
193
|
return true if self.equal?(o)
|
120
194
|
self.class == o.class &&
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
195
|
+
id == o.id &&
|
196
|
+
cluster_id == o.cluster_id &&
|
197
|
+
version == o.version &&
|
198
|
+
is_active == o.is_active &&
|
199
|
+
earliest_recovery_target_time == o.earliest_recovery_target_time &&
|
200
|
+
size == o.size &&
|
201
|
+
location == o.location
|
126
202
|
end
|
127
203
|
|
128
204
|
# @see the `==` method
|
@@ -134,7 +210,7 @@ module IonoscloudDbaasPostgres
|
|
134
210
|
# Calculates hash code according to all attributes.
|
135
211
|
# @return [Integer] Hash code
|
136
212
|
def hash
|
137
|
-
[id, cluster_id, version, is_active, earliest_recovery_target_time].hash
|
213
|
+
[id, cluster_id, version, is_active, earliest_recovery_target_time, size, location].hash
|
138
214
|
end
|
139
215
|
|
140
216
|
# Builds the object from hash
|
@@ -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: 0.0
|
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,31 +14,43 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module IonoscloudDbaasPostgres
|
17
|
-
# List of backups
|
17
|
+
# List of backups.
|
18
18
|
class ClusterBackupList
|
19
|
+
|
19
20
|
attr_accessor :type
|
20
21
|
|
22
|
+
|
21
23
|
# The unique ID of the resource.
|
22
24
|
attr_accessor :id
|
23
25
|
|
26
|
+
|
24
27
|
attr_accessor :items
|
25
28
|
|
29
|
+
|
26
30
|
# The offset specified in the request (if none was specified, the default offset is 0) (not implemented yet).
|
27
31
|
attr_accessor :offset
|
28
32
|
|
33
|
+
|
29
34
|
# The limit specified in the request (if none was specified, use the endpoint's default pagination limit) (not implemented yet, always return number of items).
|
30
35
|
attr_accessor :limit
|
31
36
|
|
37
|
+
|
32
38
|
attr_accessor :_links
|
33
39
|
|
34
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
41
|
def self.attribute_map
|
36
42
|
{
|
43
|
+
|
37
44
|
:'type' => :'type',
|
45
|
+
|
38
46
|
:'id' => :'id',
|
47
|
+
|
39
48
|
:'items' => :'items',
|
49
|
+
|
40
50
|
:'offset' => :'offset',
|
51
|
+
|
41
52
|
:'limit' => :'limit',
|
53
|
+
|
42
54
|
:'_links' => :'_links'
|
43
55
|
}
|
44
56
|
end
|
@@ -51,11 +63,17 @@ module IonoscloudDbaasPostgres
|
|
51
63
|
# Attribute type mapping.
|
52
64
|
def self.openapi_types
|
53
65
|
{
|
66
|
+
|
54
67
|
:'type' => :'ResourceType',
|
68
|
+
|
55
69
|
:'id' => :'String',
|
70
|
+
|
56
71
|
:'items' => :'Array<BackupResponse>',
|
72
|
+
|
57
73
|
:'offset' => :'Integer',
|
74
|
+
|
58
75
|
:'limit' => :'Integer',
|
76
|
+
|
59
77
|
:'_links' => :'PaginationLinks'
|
60
78
|
}
|
61
79
|
end
|
@@ -63,6 +81,12 @@ module IonoscloudDbaasPostgres
|
|
63
81
|
# List of attributes with nullable: true
|
64
82
|
def self.openapi_nullable
|
65
83
|
Set.new([
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
66
90
|
])
|
67
91
|
end
|
68
92
|
|
@@ -88,27 +112,33 @@ module IonoscloudDbaasPostgres
|
|
88
112
|
end
|
89
113
|
h[k.to_sym] = v
|
90
114
|
}
|
115
|
+
|
91
116
|
|
92
117
|
if attributes.key?(:'type')
|
93
118
|
self.type = attributes[:'type']
|
94
119
|
end
|
95
120
|
|
121
|
+
|
96
122
|
if attributes.key?(:'id')
|
97
123
|
self.id = attributes[:'id']
|
98
124
|
end
|
99
125
|
|
126
|
+
|
100
127
|
if attributes.key?(:'items') && (value = attributes[:'items']).is_a?(Array)
|
101
128
|
self.items = value
|
102
129
|
end
|
103
130
|
|
131
|
+
|
104
132
|
if attributes.key?(:'offset')
|
105
133
|
self.offset = attributes[:'offset']
|
106
134
|
end
|
107
135
|
|
136
|
+
|
108
137
|
if attributes.key?(:'limit')
|
109
138
|
self.limit = attributes[:'limit']
|
110
139
|
end
|
111
140
|
|
141
|
+
|
112
142
|
if attributes.key?(:'_links')
|
113
143
|
self._links = attributes[:'_links']
|
114
144
|
end
|
@@ -118,25 +148,41 @@ module IonoscloudDbaasPostgres
|
|
118
148
|
# @return Array for valid properties with the reasons
|
119
149
|
def list_invalid_properties
|
120
150
|
invalid_properties = Array.new
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
121
155
|
if !@offset.nil? && @offset < 0
|
122
156
|
invalid_properties.push('invalid value for "offset", must be greater than or equal to 0.')
|
123
157
|
end
|
124
158
|
|
159
|
+
|
125
160
|
if !@limit.nil? && @limit < 0
|
126
161
|
invalid_properties.push('invalid value for "limit", must be greater than or equal to 0.')
|
127
162
|
end
|
128
163
|
|
164
|
+
|
129
165
|
invalid_properties
|
130
166
|
end
|
131
167
|
|
132
168
|
# Check to see if the all the properties in the model are valid
|
133
169
|
# @return true if the model is valid
|
134
170
|
def valid?
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
135
175
|
return false if !@offset.nil? && @offset < 0
|
176
|
+
|
136
177
|
return false if !@limit.nil? && @limit < 0
|
178
|
+
|
137
179
|
true
|
138
180
|
end
|
139
181
|
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
|
140
186
|
# Custom attribute writer method with validation
|
141
187
|
# @param [Object] offset Value to be assigned
|
142
188
|
def offset=(offset)
|
@@ -147,6 +193,7 @@ module IonoscloudDbaasPostgres
|
|
147
193
|
@offset = offset
|
148
194
|
end
|
149
195
|
|
196
|
+
|
150
197
|
# Custom attribute writer method with validation
|
151
198
|
# @param [Object] limit Value to be assigned
|
152
199
|
def limit=(limit)
|
@@ -157,17 +204,18 @@ module IonoscloudDbaasPostgres
|
|
157
204
|
@limit = limit
|
158
205
|
end
|
159
206
|
|
207
|
+
|
160
208
|
# Checks equality by comparing each attribute.
|
161
209
|
# @param [Object] Object to be compared
|
162
210
|
def ==(o)
|
163
211
|
return true if self.equal?(o)
|
164
212
|
self.class == o.class &&
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
213
|
+
type == o.type &&
|
214
|
+
id == o.id &&
|
215
|
+
items == o.items &&
|
216
|
+
offset == o.offset &&
|
217
|
+
limit == o.limit &&
|
218
|
+
_links == o._links
|
171
219
|
end
|
172
220
|
|
173
221
|
# @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: 0.0
|
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,18 +15,24 @@ require 'time'
|
|
15
15
|
|
16
16
|
module IonoscloudDbaasPostgres
|
17
17
|
class ClusterBackupListAllOf
|
18
|
+
|
18
19
|
attr_accessor :type
|
19
20
|
|
21
|
+
|
20
22
|
# The unique ID of the resource.
|
21
23
|
attr_accessor :id
|
22
24
|
|
25
|
+
|
23
26
|
attr_accessor :items
|
24
27
|
|
25
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
29
|
def self.attribute_map
|
27
30
|
{
|
31
|
+
|
28
32
|
:'type' => :'type',
|
33
|
+
|
29
34
|
:'id' => :'id',
|
35
|
+
|
30
36
|
:'items' => :'items'
|
31
37
|
}
|
32
38
|
end
|
@@ -39,8 +45,11 @@ module IonoscloudDbaasPostgres
|
|
39
45
|
# Attribute type mapping.
|
40
46
|
def self.openapi_types
|
41
47
|
{
|
48
|
+
|
42
49
|
:'type' => :'ResourceType',
|
50
|
+
|
43
51
|
:'id' => :'String',
|
52
|
+
|
44
53
|
:'items' => :'Array<BackupResponse>'
|
45
54
|
}
|
46
55
|
end
|
@@ -48,6 +57,9 @@ module IonoscloudDbaasPostgres
|
|
48
57
|
# List of attributes with nullable: true
|
49
58
|
def self.openapi_nullable
|
50
59
|
Set.new([
|
60
|
+
|
61
|
+
|
62
|
+
|
51
63
|
])
|
52
64
|
end
|
53
65
|
|
@@ -65,15 +77,18 @@ module IonoscloudDbaasPostgres
|
|
65
77
|
end
|
66
78
|
h[k.to_sym] = v
|
67
79
|
}
|
80
|
+
|
68
81
|
|
69
82
|
if attributes.key?(:'type')
|
70
83
|
self.type = attributes[:'type']
|
71
84
|
end
|
72
85
|
|
86
|
+
|
73
87
|
if attributes.key?(:'id')
|
74
88
|
self.id = attributes[:'id']
|
75
89
|
end
|
76
90
|
|
91
|
+
|
77
92
|
if attributes.key?(:'items') && (value = attributes[:'items']).is_a?(Array)
|
78
93
|
self.items = value
|
79
94
|
end
|
@@ -83,23 +98,32 @@ module IonoscloudDbaasPostgres
|
|
83
98
|
# @return Array for valid properties with the reasons
|
84
99
|
def list_invalid_properties
|
85
100
|
invalid_properties = Array.new
|
101
|
+
|
102
|
+
|
103
|
+
|
86
104
|
invalid_properties
|
87
105
|
end
|
88
106
|
|
89
107
|
# Check to see if the all the properties in the model are valid
|
90
108
|
# @return true if the model is valid
|
91
109
|
def valid?
|
110
|
+
|
111
|
+
|
112
|
+
|
92
113
|
true
|
93
114
|
end
|
94
115
|
|
116
|
+
|
117
|
+
|
118
|
+
|
95
119
|
# Checks equality by comparing each attribute.
|
96
120
|
# @param [Object] Object to be compared
|
97
121
|
def ==(o)
|
98
122
|
return true if self.equal?(o)
|
99
123
|
self.class == o.class &&
|
100
|
-
|
101
|
-
|
102
|
-
|
124
|
+
type == o.type &&
|
125
|
+
id == o.id &&
|
126
|
+
items == o.items
|
103
127
|
end
|
104
128
|
|
105
129
|
# @see the `==` method
|