ionoscloud-dbaas-mongo 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/docs/api/UsersApi.md +20 -26
  4. data/docs/models/Health.md +15 -0
  5. data/docs/models/Metadata.md +3 -1
  6. data/ionoscloud-dbaas-mongo.gemspec +1 -1
  7. data/lib/ionoscloud-dbaas-mongo/api/clusters_api.rb +1 -1
  8. data/lib/ionoscloud-dbaas-mongo/api/logs_api.rb +1 -1
  9. data/lib/ionoscloud-dbaas-mongo/api/metadata_api.rb +1 -1
  10. data/lib/ionoscloud-dbaas-mongo/api/restores_api.rb +1 -1
  11. data/lib/ionoscloud-dbaas-mongo/api/snapshots_api.rb +1 -1
  12. data/lib/ionoscloud-dbaas-mongo/api/templates_api.rb +1 -1
  13. data/lib/ionoscloud-dbaas-mongo/api/users_api.rb +17 -35
  14. data/lib/ionoscloud-dbaas-mongo/api_client.rb +2 -2
  15. data/lib/ionoscloud-dbaas-mongo/api_error.rb +1 -1
  16. data/lib/ionoscloud-dbaas-mongo/configuration.rb +1 -1
  17. data/lib/ionoscloud-dbaas-mongo/models/api_version.rb +1 -1
  18. data/lib/ionoscloud-dbaas-mongo/models/cluster_list.rb +1 -1
  19. data/lib/ionoscloud-dbaas-mongo/models/cluster_list_all_of.rb +1 -1
  20. data/lib/ionoscloud-dbaas-mongo/models/cluster_logs.rb +1 -1
  21. data/lib/ionoscloud-dbaas-mongo/models/cluster_logs_instances.rb +1 -1
  22. data/lib/ionoscloud-dbaas-mongo/models/cluster_logs_messages.rb +1 -1
  23. data/lib/ionoscloud-dbaas-mongo/models/cluster_properties.rb +1 -1
  24. data/lib/ionoscloud-dbaas-mongo/models/cluster_response.rb +1 -1
  25. data/lib/ionoscloud-dbaas-mongo/models/connection.rb +1 -1
  26. data/lib/ionoscloud-dbaas-mongo/models/create_cluster_properties.rb +1 -1
  27. data/lib/ionoscloud-dbaas-mongo/models/create_cluster_request.rb +1 -1
  28. data/lib/ionoscloud-dbaas-mongo/models/create_restore_request.rb +1 -1
  29. data/lib/ionoscloud-dbaas-mongo/models/day_of_the_week.rb +1 -1
  30. data/lib/ionoscloud-dbaas-mongo/models/error_message.rb +1 -1
  31. data/lib/ionoscloud-dbaas-mongo/models/error_response.rb +1 -1
  32. data/lib/ionoscloud-dbaas-mongo/models/health.rb +39 -0
  33. data/lib/ionoscloud-dbaas-mongo/models/maintenance_window.rb +1 -1
  34. data/lib/ionoscloud-dbaas-mongo/models/metadata.rb +22 -5
  35. data/lib/ionoscloud-dbaas-mongo/models/pagination.rb +1 -1
  36. data/lib/ionoscloud-dbaas-mongo/models/pagination_links.rb +1 -1
  37. data/lib/ionoscloud-dbaas-mongo/models/patch_cluster_properties.rb +1 -1
  38. data/lib/ionoscloud-dbaas-mongo/models/patch_cluster_request.rb +1 -1
  39. data/lib/ionoscloud-dbaas-mongo/models/patch_user_properties.rb +1 -1
  40. data/lib/ionoscloud-dbaas-mongo/models/patch_user_request.rb +1 -1
  41. data/lib/ionoscloud-dbaas-mongo/models/resource_type.rb +1 -1
  42. data/lib/ionoscloud-dbaas-mongo/models/snapshot_list.rb +1 -1
  43. data/lib/ionoscloud-dbaas-mongo/models/snapshot_list_all_of.rb +1 -1
  44. data/lib/ionoscloud-dbaas-mongo/models/snapshot_properties.rb +1 -1
  45. data/lib/ionoscloud-dbaas-mongo/models/snapshot_response.rb +2 -2
  46. data/lib/ionoscloud-dbaas-mongo/models/state.rb +1 -1
  47. data/lib/ionoscloud-dbaas-mongo/models/template_list.rb +1 -1
  48. data/lib/ionoscloud-dbaas-mongo/models/template_list_all_of.rb +1 -1
  49. data/lib/ionoscloud-dbaas-mongo/models/template_response.rb +1 -1
  50. data/lib/ionoscloud-dbaas-mongo/models/user.rb +1 -1
  51. data/lib/ionoscloud-dbaas-mongo/models/user_metadata.rb +1 -1
  52. data/lib/ionoscloud-dbaas-mongo/models/user_properties.rb +1 -1
  53. data/lib/ionoscloud-dbaas-mongo/models/user_roles.rb +3 -3
  54. data/lib/ionoscloud-dbaas-mongo/models/users_list.rb +1 -1
  55. data/lib/ionoscloud-dbaas-mongo/version.rb +2 -2
  56. data/lib/ionoscloud-dbaas-mongo.rb +2 -1
  57. data/spec/api_client_spec.rb +1 -1
  58. data/spec/configuration_spec.rb +1 -1
  59. data/spec/spec_helper.rb +1 -1
  60. metadata +4 -2
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -0,0 +1,39 @@
1
+ =begin
2
+ #IONOS DBaaS MongoDB REST API
3
+
4
+ #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.1-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module IonoscloudDbaasMongo
17
+ class Health
18
+ HEALTHY = "HEALTHY".freeze
19
+ UNHEALTHY = "UNHEALTHY".freeze
20
+ DEGRADED = "DEGRADED".freeze
21
+ UNKNOWN = "UNKNOWN".freeze
22
+
23
+ # Builds the enum from string
24
+ # @param [String] The enum value in the form of the string
25
+ # @return [String] The enum value
26
+ def self.build_from_hash(value)
27
+ new.build_from_hash(value)
28
+ end
29
+
30
+ # Builds the enum from string
31
+ # @param [String] The enum value in the form of the string
32
+ # @return [String] The enum value
33
+ def build_from_hash(value)
34
+ constantValues = Health.constants.select { |c| Health::const_get(c) == value }
35
+ raise "Invalid ENUM value #{value} for class #Health" if constantValues.empty?
36
+ value
37
+ end
38
+ end
39
+ end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -43,6 +43,9 @@ module IonoscloudDbaasMongo
43
43
 
44
44
  attr_accessor :state
45
45
 
46
+
47
+ attr_accessor :health
48
+
46
49
  # Attribute mapping from ruby-style variable name to JSON key.
47
50
  def self.attribute_map
48
51
  {
@@ -59,7 +62,9 @@ module IonoscloudDbaasMongo
59
62
 
60
63
  :'last_modified_by_user_id' => :'lastModifiedByUserId',
61
64
 
62
- :'state' => :'state'
65
+ :'state' => :'state',
66
+
67
+ :'health' => :'health'
63
68
  }
64
69
  end
65
70
 
@@ -84,7 +89,9 @@ module IonoscloudDbaasMongo
84
89
 
85
90
  :'last_modified_by_user_id' => :'String',
86
91
 
87
- :'state' => :'State'
92
+ :'state' => :'State',
93
+
94
+ :'health' => :'Health'
88
95
  }
89
96
  end
90
97
 
@@ -98,6 +105,7 @@ module IonoscloudDbaasMongo
98
105
 
99
106
 
100
107
 
108
+
101
109
  ])
102
110
  end
103
111
 
@@ -150,6 +158,11 @@ module IonoscloudDbaasMongo
150
158
  if attributes.key?(:'state')
151
159
  self.state = attributes[:'state']
152
160
  end
161
+
162
+
163
+ if attributes.key?(:'health')
164
+ self.health = attributes[:'health']
165
+ end
153
166
  end
154
167
 
155
168
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -163,6 +176,7 @@ module IonoscloudDbaasMongo
163
176
 
164
177
 
165
178
 
179
+
166
180
  invalid_properties
167
181
  end
168
182
 
@@ -176,6 +190,7 @@ module IonoscloudDbaasMongo
176
190
 
177
191
 
178
192
 
193
+
179
194
  true
180
195
  end
181
196
 
@@ -186,6 +201,7 @@ module IonoscloudDbaasMongo
186
201
 
187
202
 
188
203
 
204
+
189
205
  # Checks equality by comparing each attribute.
190
206
  # @param [Object] Object to be compared
191
207
  def ==(o)
@@ -197,7 +213,8 @@ module IonoscloudDbaasMongo
197
213
  last_modified_date == o.last_modified_date &&
198
214
  last_modified_by == o.last_modified_by &&
199
215
  last_modified_by_user_id == o.last_modified_by_user_id &&
200
- state == o.state
216
+ state == o.state &&
217
+ health == o.health
201
218
  end
202
219
 
203
220
  # @see the `==` method
@@ -209,7 +226,7 @@ module IonoscloudDbaasMongo
209
226
  # Calculates hash code according to all attributes.
210
227
  # @return [Integer] Hash code
211
228
  def hash
212
- [created_date, created_by, created_by_user_id, last_modified_date, last_modified_by, last_modified_by_user_id, state].hash
229
+ [created_date, created_by, created_by_user_id, last_modified_date, last_modified_by, last_modified_by_user_id, state, health].hash
213
230
  end
214
231
 
215
232
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module IonoscloudDbaasMongo
17
- # A database snapshost.
17
+ # A database snapshot.
18
18
  class SnapshotResponse
19
19
 
20
20
  attr_accessor :type
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -116,7 +116,7 @@ module IonoscloudDbaasMongo
116
116
  # @return true if the model is valid
117
117
  def valid?
118
118
 
119
- role_validator = EnumAttributeValidator.new('String', ["read", "readWrite", "readAnyDatabase"])
119
+ role_validator = EnumAttributeValidator.new('String', ["read", "readWrite", "dbAdmin", "clusterMonitor", "readAnyDatabase", "readWriteAnyDatabase", "dbAdminAnyDatabase"])
120
120
  return false unless role_validator.valid?(@role)
121
121
 
122
122
  true
@@ -126,7 +126,7 @@ module IonoscloudDbaasMongo
126
126
  # Custom attribute writer method checking allowed values (enum).
127
127
  # @param [Object] role Object to be assigned
128
128
  def role=(role)
129
- validator = EnumAttributeValidator.new('String', ["read", "readWrite", "readAnyDatabase"])
129
+ validator = EnumAttributeValidator.new('String', ["read", "readWrite", "dbAdmin", "clusterMonitor", "readAnyDatabase", "readWriteAnyDatabase", "dbAdminAnyDatabase"])
130
130
  unless validator.valid?(role)
131
131
  fail ArgumentError, "invalid value for \"role\", must be one of #{validator.allowable_values}."
132
132
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.2.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module IonoscloudDbaasMongo
14
- VERSION = '1.1.0'
14
+ VERSION = '1.2.0'
15
15
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -32,6 +32,7 @@ require 'ionoscloud-dbaas-mongo/models/create_restore_request'
32
32
  require 'ionoscloud-dbaas-mongo/models/day_of_the_week'
33
33
  require 'ionoscloud-dbaas-mongo/models/error_message'
34
34
  require 'ionoscloud-dbaas-mongo/models/error_response'
35
+ require 'ionoscloud-dbaas-mongo/models/health'
35
36
  require 'ionoscloud-dbaas-mongo/models/maintenance_window'
36
37
  require 'ionoscloud-dbaas-mongo/models/metadata'
37
38
  require 'ionoscloud-dbaas-mongo/models/pagination'
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
data/spec/spec_helper.rb CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  #With IONOS Cloud Database as a Service, you have the ability to quickly set up and manage a MongoDB database. You can also delete clusters, manage backups and users via the API. MongoDB is an open source, cross-platform, document-oriented database program. Classified as a NoSQL database program, it uses JSON-like documents with optional schemas. The MongoDB API allows you to create additional database clusters or modify existing ones. Both tools, the Data Center Designer (DCD) and the API use the same concepts consistently and are well suited for smooth and intuitive use.
5
5
 
6
- The version of the OpenAPI document: 0.1.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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ionoscloud-dbaas-mongo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-18 00:00:00.000000000 Z
11
+ date: 2022-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -92,6 +92,7 @@ files:
92
92
  - docs/models/DayOfTheWeek.md
93
93
  - docs/models/ErrorMessage.md
94
94
  - docs/models/ErrorResponse.md
95
+ - docs/models/Health.md
95
96
  - docs/models/MaintenanceWindow.md
96
97
  - docs/models/Metadata.md
97
98
  - docs/models/Pagination.md
@@ -143,6 +144,7 @@ files:
143
144
  - lib/ionoscloud-dbaas-mongo/models/day_of_the_week.rb
144
145
  - lib/ionoscloud-dbaas-mongo/models/error_message.rb
145
146
  - lib/ionoscloud-dbaas-mongo/models/error_response.rb
147
+ - lib/ionoscloud-dbaas-mongo/models/health.rb
146
148
  - lib/ionoscloud-dbaas-mongo/models/maintenance_window.rb
147
149
  - lib/ionoscloud-dbaas-mongo/models/metadata.rb
148
150
  - lib/ionoscloud-dbaas-mongo/models/pagination.rb