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.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/docs/CHANGELOG.md +21 -0
  4. data/docs/api/LogsApi.md +8 -6
  5. data/docs/models/ClusterBackup.md +5 -1
  6. data/docs/models/ClusterProperties.md +4 -4
  7. data/docs/models/Connection.md +1 -1
  8. data/docs/models/CreateClusterProperties.md +4 -2
  9. data/docs/models/DBUser.md +1 -1
  10. data/docs/models/ErrorResponse.md +1 -1
  11. data/docs/models/MaintenanceWindow.md +1 -1
  12. data/git_push.sh +1 -3
  13. data/ionoscloud-dbaas-postgres.gemspec +1 -1
  14. data/lib/ionoscloud-dbaas-postgres/api/backups_api.rb +1 -1
  15. data/lib/ionoscloud-dbaas-postgres/api/clusters_api.rb +1 -1
  16. data/lib/ionoscloud-dbaas-postgres/api/logs_api.rb +15 -8
  17. data/lib/ionoscloud-dbaas-postgres/api/metadata_api.rb +1 -1
  18. data/lib/ionoscloud-dbaas-postgres/api/restores_api.rb +1 -1
  19. data/lib/ionoscloud-dbaas-postgres/api_client.rb +2 -2
  20. data/lib/ionoscloud-dbaas-postgres/api_error.rb +1 -1
  21. data/lib/ionoscloud-dbaas-postgres/configuration.rb +12 -27
  22. data/lib/ionoscloud-dbaas-postgres/models/api_version.rb +19 -3
  23. data/lib/ionoscloud-dbaas-postgres/models/backup_metadata.rb +19 -3
  24. data/lib/ionoscloud-dbaas-postgres/models/backup_response.rb +38 -6
  25. data/lib/ionoscloud-dbaas-postgres/models/cluster_backup.rb +86 -10
  26. data/lib/ionoscloud-dbaas-postgres/models/cluster_backup_list.rb +56 -8
  27. data/lib/ionoscloud-dbaas-postgres/models/cluster_backup_list_all_of.rb +28 -4
  28. data/lib/ionoscloud-dbaas-postgres/models/cluster_list.rb +56 -8
  29. data/lib/ionoscloud-dbaas-postgres/models/cluster_list_all_of.rb +28 -4
  30. data/lib/ionoscloud-dbaas-postgres/models/cluster_logs.rb +10 -2
  31. data/lib/ionoscloud-dbaas-postgres/models/cluster_logs_instances.rb +19 -3
  32. data/lib/ionoscloud-dbaas-postgres/models/cluster_logs_messages.rb +19 -3
  33. data/lib/ionoscloud-dbaas-postgres/models/cluster_properties.rb +123 -16
  34. data/lib/ionoscloud-dbaas-postgres/models/cluster_response.rb +38 -6
  35. data/lib/ionoscloud-dbaas-postgres/models/connection.rb +28 -4
  36. data/lib/ionoscloud-dbaas-postgres/models/create_cluster_properties.rb +148 -16
  37. data/lib/ionoscloud-dbaas-postgres/models/create_cluster_request.rb +19 -3
  38. data/lib/ionoscloud-dbaas-postgres/models/create_restore_request.rb +19 -3
  39. data/lib/ionoscloud-dbaas-postgres/models/day_of_the_week.rb +1 -1
  40. data/lib/ionoscloud-dbaas-postgres/models/db_user.rb +20 -4
  41. data/lib/ionoscloud-dbaas-postgres/models/error_message.rb +19 -3
  42. data/lib/ionoscloud-dbaas-postgres/models/error_response.rb +20 -4
  43. data/lib/ionoscloud-dbaas-postgres/models/maintenance_window.rb +21 -4
  44. data/lib/ionoscloud-dbaas-postgres/models/metadata.rb +65 -9
  45. data/lib/ionoscloud-dbaas-postgres/models/pagination.rb +28 -4
  46. data/lib/ionoscloud-dbaas-postgres/models/pagination_links.rb +28 -4
  47. data/lib/ionoscloud-dbaas-postgres/models/patch_cluster_properties.rb +83 -10
  48. data/lib/ionoscloud-dbaas-postgres/models/patch_cluster_request.rb +20 -4
  49. data/lib/ionoscloud-dbaas-postgres/models/postgres_version_list.rb +11 -3
  50. data/lib/ionoscloud-dbaas-postgres/models/postgres_version_list_data.rb +10 -2
  51. data/lib/ionoscloud-dbaas-postgres/models/resource_type.rb +1 -1
  52. data/lib/ionoscloud-dbaas-postgres/models/state.rb +1 -1
  53. data/lib/ionoscloud-dbaas-postgres/models/storage_type.rb +3 -1
  54. data/lib/ionoscloud-dbaas-postgres/models/synchronization_mode.rb +1 -1
  55. data/lib/ionoscloud-dbaas-postgres/version.rb +2 -2
  56. data/lib/ionoscloud-dbaas-postgres.rb +1 -3
  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 +3 -7
  61. data/docs/models/BackupLocation.md +0 -15
  62. data/docs/models/Location.md +0 -15
  63. data/lib/ionoscloud-dbaas-postgres/models/backup_location.rb +0 -36
  64. data/lib/ionoscloud-dbaas-postgres/models/location.rb +0 -41
  65. 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.1
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
  # Credentials for the database user to be created.
18
18
  class DBUser
19
- # The username for the initial postgres user. some system usernames are restricted (e.g. \"postgres\", \"admin\", \"standby\").
19
+
20
+ # The username for the initial PostgreSQL user. Some system usernames are restricted (e.g. \"postgres\", \"admin\", \"standby\").
20
21
  attr_accessor :username
21
22
 
23
+
22
24
  attr_accessor :password
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
  :'username' => :'username',
31
+
28
32
  :'password' => :'password'
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
  :'username' => :'String',
46
+
41
47
  :'password' => :'String'
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?(:'username')
67
76
  self.username = attributes[:'username']
68
77
  end
69
78
 
79
+
70
80
  if attributes.key?(:'password')
71
81
  self.password = attributes[:'password']
72
82
  end
@@ -76,10 +86,12 @@ 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
+
79
90
  if @username.nil?
80
91
  invalid_properties.push('invalid value for "username", username cannot be nil.')
81
92
  end
82
93
 
94
+
83
95
  if @password.nil?
84
96
  invalid_properties.push('invalid value for "password", password cannot be nil.')
85
97
  end
@@ -90,18 +102,22 @@ module IonoscloudDbaasPostgres
90
102
  # Check to see if the all the properties in the model are valid
91
103
  # @return true if the model is valid
92
104
  def valid?
105
+
93
106
  return false if @username.nil?
107
+
94
108
  return false if @password.nil?
95
109
  true
96
110
  end
97
111
 
112
+
113
+
98
114
  # Checks equality by comparing each attribute.
99
115
  # @param [Object] Object to be compared
100
116
  def ==(o)
101
117
  return true if self.equal?(o)
102
118
  self.class == o.class &&
103
- username == o.username &&
104
- password == o.password
119
+ username == o.username &&
120
+ password == o.password
105
121
  end
106
122
 
107
123
  # @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.1
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,16 +15,20 @@ require 'time'
15
15
 
16
16
  module IonoscloudDbaasPostgres
17
17
  class ErrorMessage
18
+
18
19
  # Application internal error code
19
20
  attr_accessor :error_code
20
21
 
22
+
21
23
  # A human readable explanation specific to this occurrence of the problem.
22
24
  attr_accessor :message
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
  :'error_code' => :'errorCode',
31
+
28
32
  :'message' => :'message'
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
  :'error_code' => :'String',
46
+
41
47
  :'message' => :'String'
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?(:'error_code')
67
76
  self.error_code = attributes[:'error_code']
68
77
  end
69
78
 
79
+
70
80
  if attributes.key?(:'message')
71
81
  self.message = attributes[:'message']
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
- error_code == o.error_code &&
94
- message == o.message
109
+ error_code == o.error_code &&
110
+ message == o.message
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: 0.0.1
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 ErrorResponse
18
- # HTTP status code of the operation
18
+
19
+ # The HTTP status code of the operation.
19
20
  attr_accessor :http_status
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
  :'http_status' => :'httpStatus',
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
  :'http_status' => :'Integer',
45
+
40
46
  :'messages' => :'Array<ErrorMessage>'
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?(:'http_status')
66
75
  self.http_status = attributes[:'http_status']
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
- http_status == o.http_status &&
93
- messages == o.messages
108
+ http_status == o.http_status &&
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.0.1
6
+ The version of the OpenAPI document: 1.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.2.1-SNAPSHOT
@@ -14,16 +14,21 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module IonoscloudDbaasPostgres
17
- # A weekly 4 hour-long window, during which maintenance might occur
17
+ # A weekly 4 hour-long window, during which maintenance might occur.
18
18
  class MaintenanceWindow
19
+
20
+ # Start of the maintenance window in UTC time.
19
21
  attr_accessor :time
20
22
 
23
+
21
24
  attr_accessor :day_of_the_week
22
25
 
23
26
  # Attribute mapping from ruby-style variable name to JSON key.
24
27
  def self.attribute_map
25
28
  {
29
+
26
30
  :'time' => :'time',
31
+
27
32
  :'day_of_the_week' => :'dayOfTheWeek'
28
33
  }
29
34
  end
@@ -36,7 +41,9 @@ module IonoscloudDbaasPostgres
36
41
  # Attribute type mapping.
37
42
  def self.openapi_types
38
43
  {
44
+
39
45
  :'time' => :'String',
46
+
40
47
  :'day_of_the_week' => :'DayOfTheWeek'
41
48
  }
42
49
  end
@@ -44,6 +51,8 @@ module IonoscloudDbaasPostgres
44
51
  # List of attributes with nullable: true
45
52
  def self.openapi_nullable
46
53
  Set.new([
54
+
55
+
47
56
  ])
48
57
  end
49
58
 
@@ -61,11 +70,13 @@ module IonoscloudDbaasPostgres
61
70
  end
62
71
  h[k.to_sym] = v
63
72
  }
73
+
64
74
 
65
75
  if attributes.key?(:'time')
66
76
  self.time = attributes[:'time']
67
77
  end
68
78
 
79
+
69
80
  if attributes.key?(:'day_of_the_week')
70
81
  self.day_of_the_week = attributes[:'day_of_the_week']
71
82
  end
@@ -75,10 +86,12 @@ module IonoscloudDbaasPostgres
75
86
  # @return Array for valid properties with the reasons
76
87
  def list_invalid_properties
77
88
  invalid_properties = Array.new
89
+
78
90
  if @time.nil?
79
91
  invalid_properties.push('invalid value for "time", time cannot be nil.')
80
92
  end
81
93
 
94
+
82
95
  if @day_of_the_week.nil?
83
96
  invalid_properties.push('invalid value for "day_of_the_week", day_of_the_week cannot be nil.')
84
97
  end
@@ -89,18 +102,22 @@ module IonoscloudDbaasPostgres
89
102
  # Check to see if the all the properties in the model are valid
90
103
  # @return true if the model is valid
91
104
  def valid?
105
+
92
106
  return false if @time.nil?
107
+
93
108
  return false if @day_of_the_week.nil?
94
109
  true
95
110
  end
96
111
 
112
+
113
+
97
114
  # Checks equality by comparing each attribute.
98
115
  # @param [Object] Object to be compared
99
116
  def ==(o)
100
117
  return true if self.equal?(o)
101
118
  self.class == o.class &&
102
- time == o.time &&
103
- day_of_the_week == o.day_of_the_week
119
+ time == o.time &&
120
+ day_of_the_week == o.day_of_the_week
104
121
  end
105
122
 
106
123
  # @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.1
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,33 +14,47 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module IonoscloudDbaasPostgres
17
- # Metadata of the resource
17
+ # Metadata of the resource.
18
18
  class Metadata
19
+
19
20
  # The ISO 8601 creation timestamp.
20
21
  attr_accessor :created_date
21
22
 
23
+
22
24
  attr_accessor :created_by
23
25
 
26
+
24
27
  attr_accessor :created_by_user_id
25
28
 
29
+
26
30
  # The ISO 8601 modified timestamp.
27
31
  attr_accessor :last_modified_date
28
32
 
33
+
29
34
  attr_accessor :last_modified_by
30
35
 
36
+
31
37
  attr_accessor :last_modified_by_user_id
32
38
 
39
+
33
40
  attr_accessor :state
34
41
 
35
42
  # Attribute mapping from ruby-style variable name to JSON key.
36
43
  def self.attribute_map
37
44
  {
45
+
38
46
  :'created_date' => :'createdDate',
47
+
39
48
  :'created_by' => :'createdBy',
49
+
40
50
  :'created_by_user_id' => :'createdByUserId',
51
+
41
52
  :'last_modified_date' => :'lastModifiedDate',
53
+
42
54
  :'last_modified_by' => :'lastModifiedBy',
55
+
43
56
  :'last_modified_by_user_id' => :'lastModifiedByUserId',
57
+
44
58
  :'state' => :'state'
45
59
  }
46
60
  end
@@ -53,12 +67,19 @@ module IonoscloudDbaasPostgres
53
67
  # Attribute type mapping.
54
68
  def self.openapi_types
55
69
  {
70
+
56
71
  :'created_date' => :'Time',
72
+
57
73
  :'created_by' => :'String',
74
+
58
75
  :'created_by_user_id' => :'String',
76
+
59
77
  :'last_modified_date' => :'Time',
78
+
60
79
  :'last_modified_by' => :'String',
80
+
61
81
  :'last_modified_by_user_id' => :'String',
82
+
62
83
  :'state' => :'State'
63
84
  }
64
85
  end
@@ -66,6 +87,13 @@ module IonoscloudDbaasPostgres
66
87
  # List of attributes with nullable: true
67
88
  def self.openapi_nullable
68
89
  Set.new([
90
+
91
+
92
+
93
+
94
+
95
+
96
+
69
97
  ])
70
98
  end
71
99
 
@@ -83,31 +111,38 @@ module IonoscloudDbaasPostgres
83
111
  end
84
112
  h[k.to_sym] = v
85
113
  }
114
+
86
115
 
87
116
  if attributes.key?(:'created_date')
88
117
  self.created_date = attributes[:'created_date']
89
118
  end
90
119
 
120
+
91
121
  if attributes.key?(:'created_by')
92
122
  self.created_by = attributes[:'created_by']
93
123
  end
94
124
 
125
+
95
126
  if attributes.key?(:'created_by_user_id')
96
127
  self.created_by_user_id = attributes[:'created_by_user_id']
97
128
  end
98
129
 
130
+
99
131
  if attributes.key?(:'last_modified_date')
100
132
  self.last_modified_date = attributes[:'last_modified_date']
101
133
  end
102
134
 
135
+
103
136
  if attributes.key?(:'last_modified_by')
104
137
  self.last_modified_by = attributes[:'last_modified_by']
105
138
  end
106
139
 
140
+
107
141
  if attributes.key?(:'last_modified_by_user_id')
108
142
  self.last_modified_by_user_id = attributes[:'last_modified_by_user_id']
109
143
  end
110
144
 
145
+
111
146
  if attributes.key?(:'state')
112
147
  self.state = attributes[:'state']
113
148
  end
@@ -117,27 +152,48 @@ module IonoscloudDbaasPostgres
117
152
  # @return Array for valid properties with the reasons
118
153
  def list_invalid_properties
119
154
  invalid_properties = Array.new
155
+
156
+
157
+
158
+
159
+
160
+
161
+
120
162
  invalid_properties
121
163
  end
122
164
 
123
165
  # Check to see if the all the properties in the model are valid
124
166
  # @return true if the model is valid
125
167
  def valid?
168
+
169
+
170
+
171
+
172
+
173
+
174
+
126
175
  true
127
176
  end
128
177
 
178
+
179
+
180
+
181
+
182
+
183
+
184
+
129
185
  # Checks equality by comparing each attribute.
130
186
  # @param [Object] Object to be compared
131
187
  def ==(o)
132
188
  return true if self.equal?(o)
133
189
  self.class == o.class &&
134
- created_date == o.created_date &&
135
- created_by == o.created_by &&
136
- created_by_user_id == o.created_by_user_id &&
137
- last_modified_date == o.last_modified_date &&
138
- last_modified_by == o.last_modified_by &&
139
- last_modified_by_user_id == o.last_modified_by_user_id &&
140
- state == o.state
190
+ created_date == o.created_date &&
191
+ created_by == o.created_by &&
192
+ created_by_user_id == o.created_by_user_id &&
193
+ last_modified_date == o.last_modified_date &&
194
+ last_modified_by == o.last_modified_by &&
195
+ last_modified_by_user_id == o.last_modified_by_user_id &&
196
+ state == o.state
141
197
  end
142
198
 
143
199
  # @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.1
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,19 +15,25 @@ require 'time'
15
15
 
16
16
  module IonoscloudDbaasPostgres
17
17
  class Pagination
18
+
18
19
  # The offset specified in the request (if none was specified, the default offset is 0) (not implemented yet).
19
20
  attr_accessor :offset
20
21
 
22
+
21
23
  # 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).
22
24
  attr_accessor :limit
23
25
 
26
+
24
27
  attr_accessor :_links
25
28
 
26
29
  # Attribute mapping from ruby-style variable name to JSON key.
27
30
  def self.attribute_map
28
31
  {
32
+
29
33
  :'offset' => :'offset',
34
+
30
35
  :'limit' => :'limit',
36
+
31
37
  :'_links' => :'_links'
32
38
  }
33
39
  end
@@ -40,8 +46,11 @@ module IonoscloudDbaasPostgres
40
46
  # Attribute type mapping.
41
47
  def self.openapi_types
42
48
  {
49
+
43
50
  :'offset' => :'Integer',
51
+
44
52
  :'limit' => :'Integer',
53
+
45
54
  :'_links' => :'PaginationLinks'
46
55
  }
47
56
  end
@@ -49,6 +58,9 @@ module IonoscloudDbaasPostgres
49
58
  # List of attributes with nullable: true
50
59
  def self.openapi_nullable
51
60
  Set.new([
61
+
62
+
63
+
52
64
  ])
53
65
  end
54
66
 
@@ -66,15 +78,18 @@ module IonoscloudDbaasPostgres
66
78
  end
67
79
  h[k.to_sym] = v
68
80
  }
81
+
69
82
 
70
83
  if attributes.key?(:'offset')
71
84
  self.offset = attributes[:'offset']
72
85
  end
73
86
 
87
+
74
88
  if attributes.key?(:'limit')
75
89
  self.limit = attributes[:'limit']
76
90
  end
77
91
 
92
+
78
93
  if attributes.key?(:'_links')
79
94
  self._links = attributes[:'_links']
80
95
  end
@@ -84,25 +99,32 @@ module IonoscloudDbaasPostgres
84
99
  # @return Array for valid properties with the reasons
85
100
  def list_invalid_properties
86
101
  invalid_properties = Array.new
102
+
87
103
  if !@offset.nil? && @offset < 0
88
104
  invalid_properties.push('invalid value for "offset", must be greater than or equal to 0.')
89
105
  end
90
106
 
107
+
91
108
  if !@limit.nil? && @limit < 0
92
109
  invalid_properties.push('invalid value for "limit", must be greater than or equal to 0.')
93
110
  end
94
111
 
112
+
95
113
  invalid_properties
96
114
  end
97
115
 
98
116
  # Check to see if the all the properties in the model are valid
99
117
  # @return true if the model is valid
100
118
  def valid?
119
+
101
120
  return false if !@offset.nil? && @offset < 0
121
+
102
122
  return false if !@limit.nil? && @limit < 0
123
+
103
124
  true
104
125
  end
105
126
 
127
+
106
128
  # Custom attribute writer method with validation
107
129
  # @param [Object] offset Value to be assigned
108
130
  def offset=(offset)
@@ -113,6 +135,7 @@ module IonoscloudDbaasPostgres
113
135
  @offset = offset
114
136
  end
115
137
 
138
+
116
139
  # Custom attribute writer method with validation
117
140
  # @param [Object] limit Value to be assigned
118
141
  def limit=(limit)
@@ -123,14 +146,15 @@ module IonoscloudDbaasPostgres
123
146
  @limit = limit
124
147
  end
125
148
 
149
+
126
150
  # Checks equality by comparing each attribute.
127
151
  # @param [Object] Object to be compared
128
152
  def ==(o)
129
153
  return true if self.equal?(o)
130
154
  self.class == o.class &&
131
- offset == o.offset &&
132
- limit == o.limit &&
133
- _links == o._links
155
+ offset == o.offset &&
156
+ limit == o.limit &&
157
+ _links == o._links
134
158
  end
135
159
 
136
160
  # @see the `==` method