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.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/docs/CHANGELOG.md +21 -0
  4. data/docs/models/ClusterBackup.md +5 -1
  5. data/docs/models/DBUser.md +1 -1
  6. data/docs/models/ErrorResponse.md +1 -1
  7. data/docs/models/MaintenanceWindow.md +1 -1
  8. data/ionoscloud-dbaas-postgres.gemspec +1 -1
  9. data/lib/ionoscloud-dbaas-postgres/api/backups_api.rb +1 -1
  10. data/lib/ionoscloud-dbaas-postgres/api/clusters_api.rb +1 -1
  11. data/lib/ionoscloud-dbaas-postgres/api/logs_api.rb +1 -1
  12. data/lib/ionoscloud-dbaas-postgres/api/metadata_api.rb +1 -1
  13. data/lib/ionoscloud-dbaas-postgres/api/restores_api.rb +1 -1
  14. data/lib/ionoscloud-dbaas-postgres/api_client.rb +2 -2
  15. data/lib/ionoscloud-dbaas-postgres/api_error.rb +1 -1
  16. data/lib/ionoscloud-dbaas-postgres/configuration.rb +1 -1
  17. data/lib/ionoscloud-dbaas-postgres/models/api_version.rb +19 -3
  18. data/lib/ionoscloud-dbaas-postgres/models/backup_metadata.rb +19 -3
  19. data/lib/ionoscloud-dbaas-postgres/models/backup_response.rb +38 -6
  20. data/lib/ionoscloud-dbaas-postgres/models/cluster_backup.rb +86 -10
  21. data/lib/ionoscloud-dbaas-postgres/models/cluster_backup_list.rb +56 -8
  22. data/lib/ionoscloud-dbaas-postgres/models/cluster_backup_list_all_of.rb +28 -4
  23. data/lib/ionoscloud-dbaas-postgres/models/cluster_list.rb +56 -8
  24. data/lib/ionoscloud-dbaas-postgres/models/cluster_list_all_of.rb +28 -4
  25. data/lib/ionoscloud-dbaas-postgres/models/cluster_logs.rb +10 -2
  26. data/lib/ionoscloud-dbaas-postgres/models/cluster_logs_instances.rb +19 -3
  27. data/lib/ionoscloud-dbaas-postgres/models/cluster_logs_messages.rb +19 -3
  28. data/lib/ionoscloud-dbaas-postgres/models/cluster_properties.rb +110 -14
  29. data/lib/ionoscloud-dbaas-postgres/models/cluster_response.rb +38 -6
  30. data/lib/ionoscloud-dbaas-postgres/models/connection.rb +28 -4
  31. data/lib/ionoscloud-dbaas-postgres/models/create_cluster_properties.rb +127 -15
  32. data/lib/ionoscloud-dbaas-postgres/models/create_cluster_request.rb +19 -3
  33. data/lib/ionoscloud-dbaas-postgres/models/create_restore_request.rb +19 -3
  34. data/lib/ionoscloud-dbaas-postgres/models/day_of_the_week.rb +1 -1
  35. data/lib/ionoscloud-dbaas-postgres/models/db_user.rb +20 -4
  36. data/lib/ionoscloud-dbaas-postgres/models/error_message.rb +19 -3
  37. data/lib/ionoscloud-dbaas-postgres/models/error_response.rb +20 -4
  38. data/lib/ionoscloud-dbaas-postgres/models/maintenance_window.rb +21 -4
  39. data/lib/ionoscloud-dbaas-postgres/models/metadata.rb +65 -9
  40. data/lib/ionoscloud-dbaas-postgres/models/pagination.rb +28 -4
  41. data/lib/ionoscloud-dbaas-postgres/models/pagination_links.rb +28 -4
  42. data/lib/ionoscloud-dbaas-postgres/models/patch_cluster_properties.rb +74 -10
  43. data/lib/ionoscloud-dbaas-postgres/models/patch_cluster_request.rb +20 -4
  44. data/lib/ionoscloud-dbaas-postgres/models/postgres_version_list.rb +11 -3
  45. data/lib/ionoscloud-dbaas-postgres/models/postgres_version_list_data.rb +10 -2
  46. data/lib/ionoscloud-dbaas-postgres/models/resource_type.rb +1 -1
  47. data/lib/ionoscloud-dbaas-postgres/models/state.rb +1 -1
  48. data/lib/ionoscloud-dbaas-postgres/models/storage_type.rb +1 -1
  49. data/lib/ionoscloud-dbaas-postgres/models/synchronization_mode.rb +1 -1
  50. data/lib/ionoscloud-dbaas-postgres/version.rb +2 -2
  51. data/lib/ionoscloud-dbaas-postgres.rb +1 -1
  52. data/spec/api_client_spec.rb +1 -1
  53. data/spec/configuration_spec.rb +1 -1
  54. data/spec/spec_helper.rb +1 -1
  55. 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: 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
@@ -15,18 +15,24 @@ require 'time'
15
15
 
16
16
  module IonoscloudDbaasPostgres
17
17
  class ClusterListAllOf
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<ClusterResponse>'
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
- type == o.type &&
101
- id == o.id &&
102
- items == o.items
124
+ type == o.type &&
125
+ id == o.id &&
126
+ items == o.items
103
127
  end
104
128
 
105
129
  # @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.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
@@ -16,11 +16,13 @@ require 'time'
16
16
  module IonoscloudDbaasPostgres
17
17
  # The logs of the PostgreSQL cluster.
18
18
  class ClusterLogs
19
+
19
20
  attr_accessor :instances
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
  :'instances' => :'instances'
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
  :'instances' => :'Array<ClusterLogsInstances>'
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?(:'instances') && (value = attributes[:'instances']).is_a?(Array)
62
67
  self.instances = 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
- instances == o.instances
92
+ instances == o.instances
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: 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
@@ -15,15 +15,19 @@ require 'time'
15
15
 
16
16
  module IonoscloudDbaasPostgres
17
17
  class ClusterLogsInstances
18
+
18
19
  # The name of the PostgreSQL instance.
19
20
  attr_accessor :name
20
21
 
22
+
21
23
  attr_accessor :messages
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
  :'name' => :'name',
30
+
27
31
  :'messages' => :'messages'
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
  :'name' => :'String',
45
+
40
46
  :'messages' => :'Array<ClusterLogsMessages>'
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?(:'name')
66
75
  self.name = attributes[:'name']
67
76
  end
68
77
 
78
+
69
79
  if attributes.key?(:'messages') && (value = attributes[:'messages']).is_a?(Array)
70
80
  self.messages = value
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
- name == o.name &&
93
- messages == o.messages
108
+ name == o.name &&
109
+ messages == o.messages
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: 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
@@ -15,14 +15,18 @@ require 'time'
15
15
 
16
16
  module IonoscloudDbaasPostgres
17
17
  class ClusterLogsMessages
18
+
18
19
  attr_accessor :time
19
20
 
21
+
20
22
  attr_accessor :message
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
  :'time' => :'time',
29
+
26
30
  :'message' => :'message'
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
  :'time' => :'Time',
44
+
39
45
  :'message' => :'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?(:'time')
65
74
  self.time = attributes[:'time']
66
75
  end
67
76
 
77
+
68
78
  if attributes.key?(:'message')
69
79
  self.message = attributes[:'message']
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
- time == o.time &&
92
- message == o.message
107
+ time == o.time &&
108
+ message == o.message
93
109
  end
94
110
 
95
111
  # @see the `==` method