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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20e1b3de34dcb423084b1e635c220cde3858e29676f21e1304e2ade4b15c19df
|
4
|
+
data.tar.gz: 9f6b287adb518e0d887390fd7dee79a636bf2c1042b1975416b272099444dab4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27430843c4abe7066074ae15ac3fefa3b287719813da59a84b4b0caf53fc5c84d09895b743c719c738dfe4bb87fd5f5b31d1fa79088f758c33bb648dadc314ec
|
7
|
+
data.tar.gz: cd4b165404f5c4978dd4bd809980c9f2c4fa922efb79fbba12b970b826f67d86f65251fe99275d665b74ef6d504d7bdc620636d52baefee1f616febd64797681
|
data/Gemfile.lock
CHANGED
data/docs/CHANGELOG.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# CHANGELOG
|
2
|
+
|
3
|
+
## 1.0.2 \(May 12th, 2022\)
|
4
|
+
|
5
|
+
### Enhancements:
|
6
|
+
|
7
|
+
* added Storage Types 'SSD_STANDARD' and 'SSD_PREMIUM'
|
8
|
+
* backup_location and location are now strings, descriptions updated
|
9
|
+
|
10
|
+
|
11
|
+
## 1.0.1 \(March 28th, 2022\)
|
12
|
+
|
13
|
+
### Enhancements:
|
14
|
+
|
15
|
+
* added **new property** `backup_location` on `CreateClusterProperties` structure
|
16
|
+
* added **new query parameter** `direction` for `cluster_logs_get` method
|
17
|
+
|
18
|
+
|
19
|
+
## 1.0.0 \(January 12th, 2022\)
|
20
|
+
|
21
|
+
* First stable release
|
@@ -9,6 +9,8 @@
|
|
9
9
|
| **version** | **String** | The PostgreSQL version this backup was created from. | [optional] |
|
10
10
|
| **is_active** | **Boolean** | Whether a cluster currently backs up data to this backup. | [optional] |
|
11
11
|
| **earliest_recovery_target_time** | **Time** | The oldest available timestamp to which you can restore. | [optional] |
|
12
|
+
| **size** | **Integer** | Size of all base backups including the wal size in MB. | [optional] |
|
13
|
+
| **location** | **String** | The S3 location where the backups will be stored. | [optional] |
|
12
14
|
|
13
15
|
## Example
|
14
16
|
|
@@ -20,7 +22,9 @@ instance = IonoscloudDbaasPostgres::ClusterBackup.new(
|
|
20
22
|
cluster_id: 498ae72f-411f-11eb-9d07-046c59cc737e,
|
21
23
|
version: 12,
|
22
24
|
is_active: true,
|
23
|
-
earliest_recovery_target_time: 2021-10-23T01:21:10Z
|
25
|
+
earliest_recovery_target_time: 2021-10-23T01:21:10Z,
|
26
|
+
size: 2052,
|
27
|
+
location: de
|
24
28
|
)
|
25
29
|
```
|
26
30
|
|
data/docs/models/DBUser.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **username** | **String** | The username for the initial
|
7
|
+
| **username** | **String** | The username for the initial PostgreSQL user. Some system usernames are restricted (e.g. \"postgres\", \"admin\", \"standby\"). | |
|
8
8
|
| **password** | **String** | | |
|
9
9
|
|
10
10
|
## Example
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **http_status** | **Integer** | HTTP status code of the operation | [optional] |
|
7
|
+
| **http_status** | **Integer** | The HTTP status code of the operation. | [optional] |
|
8
8
|
| **messages** | [**Array<ErrorMessage>**](ErrorMessage.md) | | [optional] |
|
9
9
|
|
10
10
|
## Example
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **time** | **String** |
|
7
|
+
| **time** | **String** | Start of the maintenance window in UTC time. | |
|
8
8
|
| **day_of_the_week** | [**DayOfTheWeek**](DayOfTheWeek.md) | | |
|
9
9
|
|
10
10
|
## Example
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
#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.
|
7
7
|
|
8
|
-
The version of the OpenAPI document:
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
9
|
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
11
|
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
|
@@ -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
|
@@ -38,7 +38,7 @@ module IonoscloudDbaasPostgres
|
|
38
38
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
39
39
|
def initialize(config = Configuration.default)
|
40
40
|
@config = config
|
41
|
-
@user_agent = "sdk-ruby-dbaas-postgres/v1.0.
|
41
|
+
@user_agent = "sdk-ruby-dbaas-postgres/v1.0.3"
|
42
42
|
@default_headers = {
|
43
43
|
'Content-Type' => 'application/json',
|
44
44
|
'User-Agent' => @user_agent
|
@@ -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
|
@@ -15,14 +15,18 @@ require 'time'
|
|
15
15
|
|
16
16
|
module IonoscloudDbaasPostgres
|
17
17
|
class APIVersion
|
18
|
+
|
18
19
|
attr_accessor :name
|
19
20
|
|
21
|
+
|
20
22
|
attr_accessor :swagger_url
|
21
23
|
|
22
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
25
|
def self.attribute_map
|
24
26
|
{
|
27
|
+
|
25
28
|
:'name' => :'name',
|
29
|
+
|
26
30
|
:'swagger_url' => :'swaggerUrl'
|
27
31
|
}
|
28
32
|
end
|
@@ -35,7 +39,9 @@ module IonoscloudDbaasPostgres
|
|
35
39
|
# Attribute type mapping.
|
36
40
|
def self.openapi_types
|
37
41
|
{
|
42
|
+
|
38
43
|
:'name' => :'String',
|
44
|
+
|
39
45
|
:'swagger_url' => :'String'
|
40
46
|
}
|
41
47
|
end
|
@@ -43,6 +49,8 @@ module IonoscloudDbaasPostgres
|
|
43
49
|
# List of attributes with nullable: true
|
44
50
|
def self.openapi_nullable
|
45
51
|
Set.new([
|
52
|
+
|
53
|
+
|
46
54
|
])
|
47
55
|
end
|
48
56
|
|
@@ -60,11 +68,13 @@ module IonoscloudDbaasPostgres
|
|
60
68
|
end
|
61
69
|
h[k.to_sym] = v
|
62
70
|
}
|
71
|
+
|
63
72
|
|
64
73
|
if attributes.key?(:'name')
|
65
74
|
self.name = attributes[:'name']
|
66
75
|
end
|
67
76
|
|
77
|
+
|
68
78
|
if attributes.key?(:'swagger_url')
|
69
79
|
self.swagger_url = attributes[:'swagger_url']
|
70
80
|
end
|
@@ -74,22 +84,28 @@ module IonoscloudDbaasPostgres
|
|
74
84
|
# @return Array for valid properties with the reasons
|
75
85
|
def list_invalid_properties
|
76
86
|
invalid_properties = Array.new
|
87
|
+
|
88
|
+
|
77
89
|
invalid_properties
|
78
90
|
end
|
79
91
|
|
80
92
|
# Check to see if the all the properties in the model are valid
|
81
93
|
# @return true if the model is valid
|
82
94
|
def valid?
|
95
|
+
|
96
|
+
|
83
97
|
true
|
84
98
|
end
|
85
99
|
|
100
|
+
|
101
|
+
|
86
102
|
# Checks equality by comparing each attribute.
|
87
103
|
# @param [Object] Object to be compared
|
88
104
|
def ==(o)
|
89
105
|
return true if self.equal?(o)
|
90
106
|
self.class == o.class &&
|
91
|
-
|
92
|
-
|
107
|
+
name == o.name &&
|
108
|
+
swagger_url == o.swagger_url
|
93
109
|
end
|
94
110
|
|
95
111
|
# @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
|
@@ -16,15 +16,19 @@ require 'time'
|
|
16
16
|
module IonoscloudDbaasPostgres
|
17
17
|
# Metadata of the backup resource.
|
18
18
|
class BackupMetadata
|
19
|
+
|
19
20
|
# The ISO 8601 creation timestamp.
|
20
21
|
attr_accessor :created_date
|
21
22
|
|
23
|
+
|
22
24
|
attr_accessor :state
|
23
25
|
|
24
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
25
27
|
def self.attribute_map
|
26
28
|
{
|
29
|
+
|
27
30
|
:'created_date' => :'createdDate',
|
31
|
+
|
28
32
|
:'state' => :'state'
|
29
33
|
}
|
30
34
|
end
|
@@ -37,7 +41,9 @@ module IonoscloudDbaasPostgres
|
|
37
41
|
# Attribute type mapping.
|
38
42
|
def self.openapi_types
|
39
43
|
{
|
44
|
+
|
40
45
|
:'created_date' => :'Time',
|
46
|
+
|
41
47
|
:'state' => :'State'
|
42
48
|
}
|
43
49
|
end
|
@@ -45,6 +51,8 @@ module IonoscloudDbaasPostgres
|
|
45
51
|
# List of attributes with nullable: true
|
46
52
|
def self.openapi_nullable
|
47
53
|
Set.new([
|
54
|
+
|
55
|
+
|
48
56
|
])
|
49
57
|
end
|
50
58
|
|
@@ -62,11 +70,13 @@ module IonoscloudDbaasPostgres
|
|
62
70
|
end
|
63
71
|
h[k.to_sym] = v
|
64
72
|
}
|
73
|
+
|
65
74
|
|
66
75
|
if attributes.key?(:'created_date')
|
67
76
|
self.created_date = attributes[:'created_date']
|
68
77
|
end
|
69
78
|
|
79
|
+
|
70
80
|
if attributes.key?(:'state')
|
71
81
|
self.state = attributes[:'state']
|
72
82
|
end
|
@@ -76,22 +86,28 @@ module IonoscloudDbaasPostgres
|
|
76
86
|
# @return Array for valid properties with the reasons
|
77
87
|
def list_invalid_properties
|
78
88
|
invalid_properties = Array.new
|
89
|
+
|
90
|
+
|
79
91
|
invalid_properties
|
80
92
|
end
|
81
93
|
|
82
94
|
# Check to see if the all the properties in the model are valid
|
83
95
|
# @return true if the model is valid
|
84
96
|
def valid?
|
97
|
+
|
98
|
+
|
85
99
|
true
|
86
100
|
end
|
87
101
|
|
102
|
+
|
103
|
+
|
88
104
|
# Checks equality by comparing each attribute.
|
89
105
|
# @param [Object] Object to be compared
|
90
106
|
def ==(o)
|
91
107
|
return true if self.equal?(o)
|
92
108
|
self.class == o.class &&
|
93
|
-
|
94
|
-
|
109
|
+
created_date == o.created_date &&
|
110
|
+
state == o.state
|
95
111
|
end
|
96
112
|
|
97
113
|
# @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,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
|