volcengine-python-sdk 4.0.20__py2.py3-none-any.whl → 4.0.21__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of volcengine-python-sdk might be problematic. Click here for more details.

Files changed (101) hide show
  1. volcengine_python_sdk-4.0.21.dist-info/METADATA +214 -0
  2. {volcengine_python_sdk-4.0.20.dist-info → volcengine_python_sdk-4.0.21.dist-info}/RECORD +88 -62
  3. {volcengine_python_sdk-4.0.20.dist-info → volcengine_python_sdk-4.0.21.dist-info}/WHEEL +1 -1
  4. volcenginesdkarkruntime/resources/images/images.py +1 -1
  5. volcenginesdkarkruntime/resources/responses/input_items.py +2 -2
  6. volcenginesdkarkruntime/resources/responses/responses.py +4 -1
  7. volcenginesdkarkruntime/types/images/images.py +3 -0
  8. volcenginesdkcore/api_client.py +1 -1
  9. volcenginesdkcore/configuration.py +1 -1
  10. volcenginesdkrdsmysqlv2/__init__.py +39 -25
  11. volcenginesdkrdsmysqlv2/api/rds_mysql_v2_api.py +1347 -1153
  12. volcenginesdkrdsmysqlv2/models/__init__.py +39 -25
  13. volcenginesdkrdsmysqlv2/models/address_for_describe_db_instance_endpoints_output.py +305 -0
  14. volcenginesdkrdsmysqlv2/models/allow_list_for_describe_allow_lists_output.py +27 -1
  15. volcenginesdkrdsmysqlv2/models/basic_info_for_describe_db_instance_detail_output.py +1 -105
  16. volcenginesdkrdsmysqlv2/models/change_object_for_sync_allow_list_output.py +331 -0
  17. volcenginesdkrdsmysqlv2/models/charge_detail_for_describe_db_instance_charge_detail_output.py +383 -0
  18. volcenginesdkrdsmysqlv2/models/create_db_endpoint_request.py +27 -1
  19. volcenginesdkrdsmysqlv2/models/create_db_instance_request.py +27 -1
  20. volcenginesdkrdsmysqlv2/models/create_dr_db_instance_request.py +27 -1
  21. volcenginesdkrdsmysqlv2/models/db_instance_attribute_for_describe_db_instance_attribute_output.py +825 -0
  22. volcenginesdkrdsmysqlv2/models/describe_allow_lists_request.py +29 -3
  23. volcenginesdkrdsmysqlv2/models/describe_backup_policy_response.py +53 -1
  24. volcenginesdkrdsmysqlv2/models/describe_db_disaster_recovery_instances_request.py +124 -0
  25. volcenginesdkrdsmysqlv2/models/describe_db_disaster_recovery_instances_response.py +305 -0
  26. volcenginesdkrdsmysqlv2/models/{describe_db_auto_scaling_config_request.py → describe_db_instance_attribute_request.py} +9 -9
  27. volcenginesdkrdsmysqlv2/models/describe_db_instance_attribute_response.py +123 -0
  28. volcenginesdkrdsmysqlv2/models/describe_db_instance_charge_detail_request.py +124 -0
  29. volcenginesdkrdsmysqlv2/models/describe_db_instance_charge_detail_response.py +123 -0
  30. volcenginesdkrdsmysqlv2/models/describe_db_instance_endpoints_request.py +124 -0
  31. volcenginesdkrdsmysqlv2/models/describe_db_instance_endpoints_response.py +123 -0
  32. volcenginesdkrdsmysqlv2/models/describe_db_instance_ha_config_request.py +124 -0
  33. volcenginesdkrdsmysqlv2/models/{describe_available_cross_region_request.py → describe_db_instance_ha_config_response.py} +36 -37
  34. volcenginesdkrdsmysqlv2/models/describe_db_instance_price_detail_response.py +29 -3
  35. volcenginesdkrdsmysqlv2/models/{describe_cross_backup_policy_request.py → describe_db_instance_tde_request.py} +9 -9
  36. volcenginesdkrdsmysqlv2/models/describe_db_instance_tde_response.py +123 -0
  37. volcenginesdkrdsmysqlv2/models/describe_db_proxy_price_detail_response.py +27 -1
  38. volcenginesdkrdsmysqlv2/models/describe_db_proxy_request.py +124 -0
  39. volcenginesdkrdsmysqlv2/models/describe_db_proxy_response.py +123 -0
  40. volcenginesdkrdsmysqlv2/models/describe_resource_usage_request.py +124 -0
  41. volcenginesdkrdsmysqlv2/models/describe_resource_usage_response.py +565 -0
  42. volcenginesdkrdsmysqlv2/models/disaster_recovery_instance_for_describe_db_disaster_recovery_instances_output.py +279 -0
  43. volcenginesdkrdsmysqlv2/models/endpoint_for_describe_db_instance_detail_output.py +27 -1
  44. volcenginesdkrdsmysqlv2/models/endpoint_for_describe_db_instance_endpoints_output.py +669 -0
  45. volcenginesdkrdsmysqlv2/models/maintenance_window_for_describe_db_instance_attribute_output.py +175 -0
  46. volcenginesdkrdsmysqlv2/models/modify_backup_policy_request.py +53 -1
  47. volcenginesdkrdsmysqlv2/models/modify_backup_policy_response.py +53 -1
  48. volcenginesdkrdsmysqlv2/models/modify_db_endpoint_request.py +53 -1
  49. volcenginesdkrdsmysqlv2/models/modify_db_instance_tde_request.py +281 -0
  50. volcenginesdkrdsmysqlv2/models/{modify_db_auto_scaling_config_response.py → modify_db_instance_tde_response.py} +5 -5
  51. volcenginesdkrdsmysqlv2/models/{upgrade_db_instance_kernel_version_request.py → modify_db_instance_type_request.py} +55 -29
  52. volcenginesdkrdsmysqlv2/models/{restore_to_cross_region_instance_response.py → modify_db_instance_type_response.py} +13 -13
  53. volcenginesdkrdsmysqlv2/models/node_for_describe_db_instance_ha_config_output.py +435 -0
  54. volcenginesdkrdsmysqlv2/models/{node_info_for_restore_to_cross_region_instance_input.py → node_info_for_modify_db_instance_type_input.py} +25 -25
  55. volcenginesdkrdsmysqlv2/models/{modify_db_auto_scaling_config_request.py → proxy_detail_for_describe_db_proxy_output.py} +36 -37
  56. volcenginesdkrdsmysqlv2/models/{describe_available_cross_region_response.py → proxy_node_custom_for_create_db_instance_input.py} +22 -22
  57. volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_create_dr_db_instance_input.py +123 -0
  58. volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_rebuild_db_instance_input.py +123 -0
  59. volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_restore_to_new_instance_input.py +123 -0
  60. volcenginesdkrdsmysqlv2/models/proxy_resource_info_for_describe_db_proxy_output.py +175 -0
  61. volcenginesdkrdsmysqlv2/models/read_only_node_weight_for_describe_db_instance_endpoints_output.py +175 -0
  62. volcenginesdkrdsmysqlv2/models/rebuild_db_instance_request.py +27 -1
  63. volcenginesdkrdsmysqlv2/models/restore_to_new_instance_request.py +27 -1
  64. volcenginesdkrdsmysqlv2/models/sync_allow_list_request.py +150 -0
  65. volcenginesdkrdsmysqlv2/models/sync_allow_list_response.py +123 -0
  66. volcenginesdkrdsmysqlv2/models/{instance_tag_for_restore_to_cross_region_instance_input.py → tag_for_describe_db_instance_attribute_output.py} +13 -13
  67. volcenginesdkresourceshare/__init__.py +12 -0
  68. volcenginesdkresourceshare/api/resource_share_api.py +291 -0
  69. volcenginesdkresourceshare/models/__init__.py +12 -0
  70. volcenginesdkresourceshare/models/create_resource_share_request.py +29 -3
  71. volcenginesdkresourceshare/models/create_resource_share_response.py +29 -1
  72. volcenginesdkresourceshare/models/describe_resource_shares_request.py +31 -6
  73. volcenginesdkresourceshare/models/list_tags_for_resources_request.py +228 -0
  74. volcenginesdkrdsmysqlv2/models/describe_cross_region_backup_db_instances_response.py → volcenginesdkresourceshare/models/list_tags_for_resources_response.py +53 -27
  75. volcenginesdkresourceshare/models/resource_share_for_describe_resource_shares_output.py +27 -1
  76. volcenginesdkresourceshare/models/resource_tag_for_list_tags_for_resources_output.py +201 -0
  77. volcenginesdkresourceshare/models/tag_filter_for_describe_resource_shares_input.py +149 -0
  78. volcenginesdkresourceshare/models/tag_filter_for_list_tags_for_resources_input.py +149 -0
  79. volcenginesdkresourceshare/models/tag_for_create_resource_share_input.py +149 -0
  80. volcenginesdkresourceshare/models/tag_for_describe_resource_shares_output.py +149 -0
  81. volcenginesdkresourceshare/models/tag_for_tag_resources_input.py +151 -0
  82. volcenginesdkresourceshare/models/tag_resources_request.py +176 -0
  83. volcenginesdkrdsmysqlv2/models/upgrade_db_instance_kernel_version_response.py → volcenginesdkresourceshare/models/tag_resources_response.py +6 -6
  84. volcenginesdkresourceshare/models/untag_resources_request.py +176 -0
  85. volcenginesdkrdsmysqlv2/models/modify_db_instance_auto_upgrade_minor_version_response.py → volcenginesdkresourceshare/models/untag_resources_response.py +6 -6
  86. volcengine_python_sdk-4.0.20.dist-info/METADATA +0 -20
  87. volcenginesdkrdsmysqlv2/models/auto_storage_scaling_config_for_restore_to_cross_region_instance_input.py +0 -175
  88. volcenginesdkrdsmysqlv2/models/charge_info_for_restore_to_cross_region_instance_input.py +0 -227
  89. volcenginesdkrdsmysqlv2/models/data_for_describe_cross_region_backup_db_instances_output.py +0 -357
  90. volcenginesdkrdsmysqlv2/models/describe_cross_backup_policy_response.py +0 -227
  91. volcenginesdkrdsmysqlv2/models/describe_cross_region_backup_db_instances_request.py +0 -279
  92. volcenginesdkrdsmysqlv2/models/describe_db_auto_scaling_config_response.py +0 -227
  93. volcenginesdkrdsmysqlv2/models/modify_cross_backup_policy_request.py +0 -228
  94. volcenginesdkrdsmysqlv2/models/modify_cross_backup_policy_response.py +0 -227
  95. volcenginesdkrdsmysqlv2/models/modify_db_instance_auto_upgrade_minor_version_request.py +0 -151
  96. volcenginesdkrdsmysqlv2/models/restore_to_cross_region_instance_request.py +0 -597
  97. volcenginesdkrdsmysqlv2/models/storage_config_for_describe_db_auto_scaling_config_output.py +0 -175
  98. volcenginesdkrdsmysqlv2/models/storage_config_for_modify_db_auto_scaling_config_input.py +0 -175
  99. {volcengine_python_sdk-4.0.20.dist-info → volcengine_python_sdk-4.0.21.dist-info/licenses}/LICENSE.txt +0 -0
  100. {volcengine_python_sdk-4.0.20.dist-info → volcengine_python_sdk-4.0.21.dist-info/licenses}/NOTICE.md +0 -0
  101. {volcengine_python_sdk-4.0.20.dist-info → volcengine_python_sdk-4.0.21.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,281 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ rds_mysql_v2
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: common-version
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+
14
+ import pprint
15
+ import re # noqa: F401
16
+
17
+ import six
18
+
19
+ from volcenginesdkcore.configuration import Configuration
20
+
21
+
22
+ class ModifyDBInstanceTDERequest(object):
23
+ """NOTE: This class is auto generated by the swagger code generator program.
24
+
25
+ Do not edit the class manually.
26
+ """
27
+
28
+ """
29
+ Attributes:
30
+ swagger_types (dict): The key is attribute name
31
+ and the value is attribute type.
32
+ attribute_map (dict): The key is attribute name
33
+ and the value is json key in definition.
34
+ """
35
+ swagger_types = {
36
+ 'instance_id': 'str',
37
+ 'key_name': 'str',
38
+ 'keyring_name': 'str',
39
+ 'specified_switch_end_time': 'str',
40
+ 'specified_switch_start_time': 'str',
41
+ 'switch_type': 'str',
42
+ 'tde_status': 'str'
43
+ }
44
+
45
+ attribute_map = {
46
+ 'instance_id': 'InstanceId',
47
+ 'key_name': 'KeyName',
48
+ 'keyring_name': 'KeyringName',
49
+ 'specified_switch_end_time': 'SpecifiedSwitchEndTime',
50
+ 'specified_switch_start_time': 'SpecifiedSwitchStartTime',
51
+ 'switch_type': 'SwitchType',
52
+ 'tde_status': 'TDEStatus'
53
+ }
54
+
55
+ def __init__(self, instance_id=None, key_name=None, keyring_name=None, specified_switch_end_time=None, specified_switch_start_time=None, switch_type=None, tde_status=None, _configuration=None): # noqa: E501
56
+ """ModifyDBInstanceTDERequest - a model defined in Swagger""" # noqa: E501
57
+ if _configuration is None:
58
+ _configuration = Configuration()
59
+ self._configuration = _configuration
60
+
61
+ self._instance_id = None
62
+ self._key_name = None
63
+ self._keyring_name = None
64
+ self._specified_switch_end_time = None
65
+ self._specified_switch_start_time = None
66
+ self._switch_type = None
67
+ self._tde_status = None
68
+ self.discriminator = None
69
+
70
+ self.instance_id = instance_id
71
+ if key_name is not None:
72
+ self.key_name = key_name
73
+ if keyring_name is not None:
74
+ self.keyring_name = keyring_name
75
+ if specified_switch_end_time is not None:
76
+ self.specified_switch_end_time = specified_switch_end_time
77
+ if specified_switch_start_time is not None:
78
+ self.specified_switch_start_time = specified_switch_start_time
79
+ if switch_type is not None:
80
+ self.switch_type = switch_type
81
+ self.tde_status = tde_status
82
+
83
+ @property
84
+ def instance_id(self):
85
+ """Gets the instance_id of this ModifyDBInstanceTDERequest. # noqa: E501
86
+
87
+
88
+ :return: The instance_id of this ModifyDBInstanceTDERequest. # noqa: E501
89
+ :rtype: str
90
+ """
91
+ return self._instance_id
92
+
93
+ @instance_id.setter
94
+ def instance_id(self, instance_id):
95
+ """Sets the instance_id of this ModifyDBInstanceTDERequest.
96
+
97
+
98
+ :param instance_id: The instance_id of this ModifyDBInstanceTDERequest. # noqa: E501
99
+ :type: str
100
+ """
101
+ if self._configuration.client_side_validation and instance_id is None:
102
+ raise ValueError("Invalid value for `instance_id`, must not be `None`") # noqa: E501
103
+
104
+ self._instance_id = instance_id
105
+
106
+ @property
107
+ def key_name(self):
108
+ """Gets the key_name of this ModifyDBInstanceTDERequest. # noqa: E501
109
+
110
+
111
+ :return: The key_name of this ModifyDBInstanceTDERequest. # noqa: E501
112
+ :rtype: str
113
+ """
114
+ return self._key_name
115
+
116
+ @key_name.setter
117
+ def key_name(self, key_name):
118
+ """Sets the key_name of this ModifyDBInstanceTDERequest.
119
+
120
+
121
+ :param key_name: The key_name of this ModifyDBInstanceTDERequest. # noqa: E501
122
+ :type: str
123
+ """
124
+
125
+ self._key_name = key_name
126
+
127
+ @property
128
+ def keyring_name(self):
129
+ """Gets the keyring_name of this ModifyDBInstanceTDERequest. # noqa: E501
130
+
131
+
132
+ :return: The keyring_name of this ModifyDBInstanceTDERequest. # noqa: E501
133
+ :rtype: str
134
+ """
135
+ return self._keyring_name
136
+
137
+ @keyring_name.setter
138
+ def keyring_name(self, keyring_name):
139
+ """Sets the keyring_name of this ModifyDBInstanceTDERequest.
140
+
141
+
142
+ :param keyring_name: The keyring_name of this ModifyDBInstanceTDERequest. # noqa: E501
143
+ :type: str
144
+ """
145
+
146
+ self._keyring_name = keyring_name
147
+
148
+ @property
149
+ def specified_switch_end_time(self):
150
+ """Gets the specified_switch_end_time of this ModifyDBInstanceTDERequest. # noqa: E501
151
+
152
+
153
+ :return: The specified_switch_end_time of this ModifyDBInstanceTDERequest. # noqa: E501
154
+ :rtype: str
155
+ """
156
+ return self._specified_switch_end_time
157
+
158
+ @specified_switch_end_time.setter
159
+ def specified_switch_end_time(self, specified_switch_end_time):
160
+ """Sets the specified_switch_end_time of this ModifyDBInstanceTDERequest.
161
+
162
+
163
+ :param specified_switch_end_time: The specified_switch_end_time of this ModifyDBInstanceTDERequest. # noqa: E501
164
+ :type: str
165
+ """
166
+
167
+ self._specified_switch_end_time = specified_switch_end_time
168
+
169
+ @property
170
+ def specified_switch_start_time(self):
171
+ """Gets the specified_switch_start_time of this ModifyDBInstanceTDERequest. # noqa: E501
172
+
173
+
174
+ :return: The specified_switch_start_time of this ModifyDBInstanceTDERequest. # noqa: E501
175
+ :rtype: str
176
+ """
177
+ return self._specified_switch_start_time
178
+
179
+ @specified_switch_start_time.setter
180
+ def specified_switch_start_time(self, specified_switch_start_time):
181
+ """Sets the specified_switch_start_time of this ModifyDBInstanceTDERequest.
182
+
183
+
184
+ :param specified_switch_start_time: The specified_switch_start_time of this ModifyDBInstanceTDERequest. # noqa: E501
185
+ :type: str
186
+ """
187
+
188
+ self._specified_switch_start_time = specified_switch_start_time
189
+
190
+ @property
191
+ def switch_type(self):
192
+ """Gets the switch_type of this ModifyDBInstanceTDERequest. # noqa: E501
193
+
194
+
195
+ :return: The switch_type of this ModifyDBInstanceTDERequest. # noqa: E501
196
+ :rtype: str
197
+ """
198
+ return self._switch_type
199
+
200
+ @switch_type.setter
201
+ def switch_type(self, switch_type):
202
+ """Sets the switch_type of this ModifyDBInstanceTDERequest.
203
+
204
+
205
+ :param switch_type: The switch_type of this ModifyDBInstanceTDERequest. # noqa: E501
206
+ :type: str
207
+ """
208
+
209
+ self._switch_type = switch_type
210
+
211
+ @property
212
+ def tde_status(self):
213
+ """Gets the tde_status of this ModifyDBInstanceTDERequest. # noqa: E501
214
+
215
+
216
+ :return: The tde_status of this ModifyDBInstanceTDERequest. # noqa: E501
217
+ :rtype: str
218
+ """
219
+ return self._tde_status
220
+
221
+ @tde_status.setter
222
+ def tde_status(self, tde_status):
223
+ """Sets the tde_status of this ModifyDBInstanceTDERequest.
224
+
225
+
226
+ :param tde_status: The tde_status of this ModifyDBInstanceTDERequest. # noqa: E501
227
+ :type: str
228
+ """
229
+ if self._configuration.client_side_validation and tde_status is None:
230
+ raise ValueError("Invalid value for `tde_status`, must not be `None`") # noqa: E501
231
+
232
+ self._tde_status = tde_status
233
+
234
+ def to_dict(self):
235
+ """Returns the model properties as a dict"""
236
+ result = {}
237
+
238
+ for attr, _ in six.iteritems(self.swagger_types):
239
+ value = getattr(self, attr)
240
+ if isinstance(value, list):
241
+ result[attr] = list(map(
242
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
243
+ value
244
+ ))
245
+ elif hasattr(value, "to_dict"):
246
+ result[attr] = value.to_dict()
247
+ elif isinstance(value, dict):
248
+ result[attr] = dict(map(
249
+ lambda item: (item[0], item[1].to_dict())
250
+ if hasattr(item[1], "to_dict") else item,
251
+ value.items()
252
+ ))
253
+ else:
254
+ result[attr] = value
255
+ if issubclass(ModifyDBInstanceTDERequest, dict):
256
+ for key, value in self.items():
257
+ result[key] = value
258
+
259
+ return result
260
+
261
+ def to_str(self):
262
+ """Returns the string representation of the model"""
263
+ return pprint.pformat(self.to_dict())
264
+
265
+ def __repr__(self):
266
+ """For `print` and `pprint`"""
267
+ return self.to_str()
268
+
269
+ def __eq__(self, other):
270
+ """Returns true if both objects are equal"""
271
+ if not isinstance(other, ModifyDBInstanceTDERequest):
272
+ return False
273
+
274
+ return self.to_dict() == other.to_dict()
275
+
276
+ def __ne__(self, other):
277
+ """Returns true if both objects are not equal"""
278
+ if not isinstance(other, ModifyDBInstanceTDERequest):
279
+ return True
280
+
281
+ return self.to_dict() != other.to_dict()
@@ -19,7 +19,7 @@ import six
19
19
  from volcenginesdkcore.configuration import Configuration
20
20
 
21
21
 
22
- class ModifyDBAutoScalingConfigResponse(object):
22
+ class ModifyDBInstanceTDEResponse(object):
23
23
  """NOTE: This class is auto generated by the swagger code generator program.
24
24
 
25
25
  Do not edit the class manually.
@@ -39,7 +39,7 @@ class ModifyDBAutoScalingConfigResponse(object):
39
39
  }
40
40
 
41
41
  def __init__(self, _configuration=None): # noqa: E501
42
- """ModifyDBAutoScalingConfigResponse - a model defined in Swagger""" # noqa: E501
42
+ """ModifyDBInstanceTDEResponse - a model defined in Swagger""" # noqa: E501
43
43
  if _configuration is None:
44
44
  _configuration = Configuration()
45
45
  self._configuration = _configuration
@@ -66,7 +66,7 @@ class ModifyDBAutoScalingConfigResponse(object):
66
66
  ))
67
67
  else:
68
68
  result[attr] = value
69
- if issubclass(ModifyDBAutoScalingConfigResponse, dict):
69
+ if issubclass(ModifyDBInstanceTDEResponse, dict):
70
70
  for key, value in self.items():
71
71
  result[key] = value
72
72
 
@@ -82,14 +82,14 @@ class ModifyDBAutoScalingConfigResponse(object):
82
82
 
83
83
  def __eq__(self, other):
84
84
  """Returns true if both objects are equal"""
85
- if not isinstance(other, ModifyDBAutoScalingConfigResponse):
85
+ if not isinstance(other, ModifyDBInstanceTDEResponse):
86
86
  return False
87
87
 
88
88
  return self.to_dict() == other.to_dict()
89
89
 
90
90
  def __ne__(self, other):
91
91
  """Returns true if both objects are not equal"""
92
- if not isinstance(other, ModifyDBAutoScalingConfigResponse):
92
+ if not isinstance(other, ModifyDBInstanceTDEResponse):
93
93
  return True
94
94
 
95
95
  return self.to_dict() != other.to_dict()
@@ -19,7 +19,7 @@ import six
19
19
  from volcenginesdkcore.configuration import Configuration
20
20
 
21
21
 
22
- class UpgradeDBInstanceKernelVersionRequest(object):
22
+ class ModifyDBInstanceTypeRequest(object):
23
23
  """NOTE: This class is auto generated by the swagger code generator program.
24
24
 
25
25
  Do not edit the class manually.
@@ -34,48 +34,53 @@ class UpgradeDBInstanceKernelVersionRequest(object):
34
34
  """
35
35
  swagger_types = {
36
36
  'instance_id': 'str',
37
+ 'node_info': 'list[NodeInfoForModifyDBInstanceTypeInput]',
37
38
  'switch_type': 'str',
38
- 'target_minor_version': 'str'
39
+ 'type_convert_path': 'str'
39
40
  }
40
41
 
41
42
  attribute_map = {
42
43
  'instance_id': 'InstanceId',
44
+ 'node_info': 'NodeInfo',
43
45
  'switch_type': 'SwitchType',
44
- 'target_minor_version': 'TargetMinorVersion'
46
+ 'type_convert_path': 'TypeConvertPath'
45
47
  }
46
48
 
47
- def __init__(self, instance_id=None, switch_type=None, target_minor_version=None, _configuration=None): # noqa: E501
48
- """UpgradeDBInstanceKernelVersionRequest - a model defined in Swagger""" # noqa: E501
49
+ def __init__(self, instance_id=None, node_info=None, switch_type=None, type_convert_path=None, _configuration=None): # noqa: E501
50
+ """ModifyDBInstanceTypeRequest - a model defined in Swagger""" # noqa: E501
49
51
  if _configuration is None:
50
52
  _configuration = Configuration()
51
53
  self._configuration = _configuration
52
54
 
53
55
  self._instance_id = None
56
+ self._node_info = None
54
57
  self._switch_type = None
55
- self._target_minor_version = None
58
+ self._type_convert_path = None
56
59
  self.discriminator = None
57
60
 
58
61
  self.instance_id = instance_id
62
+ if node_info is not None:
63
+ self.node_info = node_info
59
64
  if switch_type is not None:
60
65
  self.switch_type = switch_type
61
- self.target_minor_version = target_minor_version
66
+ self.type_convert_path = type_convert_path
62
67
 
63
68
  @property
64
69
  def instance_id(self):
65
- """Gets the instance_id of this UpgradeDBInstanceKernelVersionRequest. # noqa: E501
70
+ """Gets the instance_id of this ModifyDBInstanceTypeRequest. # noqa: E501
66
71
 
67
72
 
68
- :return: The instance_id of this UpgradeDBInstanceKernelVersionRequest. # noqa: E501
73
+ :return: The instance_id of this ModifyDBInstanceTypeRequest. # noqa: E501
69
74
  :rtype: str
70
75
  """
71
76
  return self._instance_id
72
77
 
73
78
  @instance_id.setter
74
79
  def instance_id(self, instance_id):
75
- """Sets the instance_id of this UpgradeDBInstanceKernelVersionRequest.
80
+ """Sets the instance_id of this ModifyDBInstanceTypeRequest.
76
81
 
77
82
 
78
- :param instance_id: The instance_id of this UpgradeDBInstanceKernelVersionRequest. # noqa: E501
83
+ :param instance_id: The instance_id of this ModifyDBInstanceTypeRequest. # noqa: E501
79
84
  :type: str
80
85
  """
81
86
  if self._configuration.client_side_validation and instance_id is None:
@@ -83,49 +88,70 @@ class UpgradeDBInstanceKernelVersionRequest(object):
83
88
 
84
89
  self._instance_id = instance_id
85
90
 
91
+ @property
92
+ def node_info(self):
93
+ """Gets the node_info of this ModifyDBInstanceTypeRequest. # noqa: E501
94
+
95
+
96
+ :return: The node_info of this ModifyDBInstanceTypeRequest. # noqa: E501
97
+ :rtype: list[NodeInfoForModifyDBInstanceTypeInput]
98
+ """
99
+ return self._node_info
100
+
101
+ @node_info.setter
102
+ def node_info(self, node_info):
103
+ """Sets the node_info of this ModifyDBInstanceTypeRequest.
104
+
105
+
106
+ :param node_info: The node_info of this ModifyDBInstanceTypeRequest. # noqa: E501
107
+ :type: list[NodeInfoForModifyDBInstanceTypeInput]
108
+ """
109
+
110
+ self._node_info = node_info
111
+
86
112
  @property
87
113
  def switch_type(self):
88
- """Gets the switch_type of this UpgradeDBInstanceKernelVersionRequest. # noqa: E501
114
+ """Gets the switch_type of this ModifyDBInstanceTypeRequest. # noqa: E501
89
115
 
90
116
 
91
- :return: The switch_type of this UpgradeDBInstanceKernelVersionRequest. # noqa: E501
117
+ :return: The switch_type of this ModifyDBInstanceTypeRequest. # noqa: E501
92
118
  :rtype: str
93
119
  """
94
120
  return self._switch_type
95
121
 
96
122
  @switch_type.setter
97
123
  def switch_type(self, switch_type):
98
- """Sets the switch_type of this UpgradeDBInstanceKernelVersionRequest.
124
+ """Sets the switch_type of this ModifyDBInstanceTypeRequest.
99
125
 
100
126
 
101
- :param switch_type: The switch_type of this UpgradeDBInstanceKernelVersionRequest. # noqa: E501
127
+ :param switch_type: The switch_type of this ModifyDBInstanceTypeRequest. # noqa: E501
102
128
  :type: str
103
129
  """
104
130
 
105
131
  self._switch_type = switch_type
106
132
 
107
133
  @property
108
- def target_minor_version(self):
109
- """Gets the target_minor_version of this UpgradeDBInstanceKernelVersionRequest. # noqa: E501
134
+ def type_convert_path(self):
135
+ """Gets the type_convert_path of this ModifyDBInstanceTypeRequest. # noqa: E501
110
136
 
111
137
 
112
- :return: The target_minor_version of this UpgradeDBInstanceKernelVersionRequest. # noqa: E501
138
+ :return: The type_convert_path of this ModifyDBInstanceTypeRequest. # noqa: E501
113
139
  :rtype: str
114
140
  """
115
- return self._target_minor_version
141
+ return self._type_convert_path
116
142
 
117
- @target_minor_version.setter
118
- def target_minor_version(self, target_minor_version):
119
- """Sets the target_minor_version of this UpgradeDBInstanceKernelVersionRequest.
143
+ @type_convert_path.setter
144
+ def type_convert_path(self, type_convert_path):
145
+ """Sets the type_convert_path of this ModifyDBInstanceTypeRequest.
120
146
 
121
147
 
122
- :param target_minor_version: The target_minor_version of this UpgradeDBInstanceKernelVersionRequest. # noqa: E501
148
+ :param type_convert_path: The type_convert_path of this ModifyDBInstanceTypeRequest. # noqa: E501
123
149
  :type: str
124
150
  """
125
- if self._configuration.client_side_validation and target_minor_version is None:
126
- raise ValueError("Invalid value for `target_minor_version`, must not be `None`") # noqa: E501
151
+ if self._configuration.client_side_validation and type_convert_path is None:
152
+ raise ValueError("Invalid value for `type_convert_path`, must not be `None`") # noqa: E501
127
153
 
128
- self._target_minor_version = target_minor_version
154
+ self._type_convert_path = type_convert_path
129
155
 
130
156
  def to_dict(self):
131
157
  """Returns the model properties as a dict"""
@@ -148,7 +174,7 @@ class UpgradeDBInstanceKernelVersionRequest(object):
148
174
  ))
149
175
  else:
150
176
  result[attr] = value
151
- if issubclass(UpgradeDBInstanceKernelVersionRequest, dict):
177
+ if issubclass(ModifyDBInstanceTypeRequest, dict):
152
178
  for key, value in self.items():
153
179
  result[key] = value
154
180
 
@@ -164,14 +190,14 @@ class UpgradeDBInstanceKernelVersionRequest(object):
164
190
 
165
191
  def __eq__(self, other):
166
192
  """Returns true if both objects are equal"""
167
- if not isinstance(other, UpgradeDBInstanceKernelVersionRequest):
193
+ if not isinstance(other, ModifyDBInstanceTypeRequest):
168
194
  return False
169
195
 
170
196
  return self.to_dict() == other.to_dict()
171
197
 
172
198
  def __ne__(self, other):
173
199
  """Returns true if both objects are not equal"""
174
- if not isinstance(other, UpgradeDBInstanceKernelVersionRequest):
200
+ if not isinstance(other, ModifyDBInstanceTypeRequest):
175
201
  return True
176
202
 
177
203
  return self.to_dict() != other.to_dict()
@@ -19,7 +19,7 @@ import six
19
19
  from volcenginesdkcore.configuration import Configuration
20
20
 
21
21
 
22
- class RestoreToCrossRegionInstanceResponse(object):
22
+ class ModifyDBInstanceTypeResponse(object):
23
23
  """NOTE: This class is auto generated by the swagger code generator program.
24
24
 
25
25
  Do not edit the class manually.
@@ -43,7 +43,7 @@ class RestoreToCrossRegionInstanceResponse(object):
43
43
  }
44
44
 
45
45
  def __init__(self, instance_id=None, order_id=None, _configuration=None): # noqa: E501
46
- """RestoreToCrossRegionInstanceResponse - a model defined in Swagger""" # noqa: E501
46
+ """ModifyDBInstanceTypeResponse - a model defined in Swagger""" # noqa: E501
47
47
  if _configuration is None:
48
48
  _configuration = Configuration()
49
49
  self._configuration = _configuration
@@ -59,20 +59,20 @@ class RestoreToCrossRegionInstanceResponse(object):
59
59
 
60
60
  @property
61
61
  def instance_id(self):
62
- """Gets the instance_id of this RestoreToCrossRegionInstanceResponse. # noqa: E501
62
+ """Gets the instance_id of this ModifyDBInstanceTypeResponse. # noqa: E501
63
63
 
64
64
 
65
- :return: The instance_id of this RestoreToCrossRegionInstanceResponse. # noqa: E501
65
+ :return: The instance_id of this ModifyDBInstanceTypeResponse. # noqa: E501
66
66
  :rtype: str
67
67
  """
68
68
  return self._instance_id
69
69
 
70
70
  @instance_id.setter
71
71
  def instance_id(self, instance_id):
72
- """Sets the instance_id of this RestoreToCrossRegionInstanceResponse.
72
+ """Sets the instance_id of this ModifyDBInstanceTypeResponse.
73
73
 
74
74
 
75
- :param instance_id: The instance_id of this RestoreToCrossRegionInstanceResponse. # noqa: E501
75
+ :param instance_id: The instance_id of this ModifyDBInstanceTypeResponse. # noqa: E501
76
76
  :type: str
77
77
  """
78
78
 
@@ -80,20 +80,20 @@ class RestoreToCrossRegionInstanceResponse(object):
80
80
 
81
81
  @property
82
82
  def order_id(self):
83
- """Gets the order_id of this RestoreToCrossRegionInstanceResponse. # noqa: E501
83
+ """Gets the order_id of this ModifyDBInstanceTypeResponse. # noqa: E501
84
84
 
85
85
 
86
- :return: The order_id of this RestoreToCrossRegionInstanceResponse. # noqa: E501
86
+ :return: The order_id of this ModifyDBInstanceTypeResponse. # noqa: E501
87
87
  :rtype: str
88
88
  """
89
89
  return self._order_id
90
90
 
91
91
  @order_id.setter
92
92
  def order_id(self, order_id):
93
- """Sets the order_id of this RestoreToCrossRegionInstanceResponse.
93
+ """Sets the order_id of this ModifyDBInstanceTypeResponse.
94
94
 
95
95
 
96
- :param order_id: The order_id of this RestoreToCrossRegionInstanceResponse. # noqa: E501
96
+ :param order_id: The order_id of this ModifyDBInstanceTypeResponse. # noqa: E501
97
97
  :type: str
98
98
  """
99
99
 
@@ -120,7 +120,7 @@ class RestoreToCrossRegionInstanceResponse(object):
120
120
  ))
121
121
  else:
122
122
  result[attr] = value
123
- if issubclass(RestoreToCrossRegionInstanceResponse, dict):
123
+ if issubclass(ModifyDBInstanceTypeResponse, dict):
124
124
  for key, value in self.items():
125
125
  result[key] = value
126
126
 
@@ -136,14 +136,14 @@ class RestoreToCrossRegionInstanceResponse(object):
136
136
 
137
137
  def __eq__(self, other):
138
138
  """Returns true if both objects are equal"""
139
- if not isinstance(other, RestoreToCrossRegionInstanceResponse):
139
+ if not isinstance(other, ModifyDBInstanceTypeResponse):
140
140
  return False
141
141
 
142
142
  return self.to_dict() == other.to_dict()
143
143
 
144
144
  def __ne__(self, other):
145
145
  """Returns true if both objects are not equal"""
146
- if not isinstance(other, RestoreToCrossRegionInstanceResponse):
146
+ if not isinstance(other, ModifyDBInstanceTypeResponse):
147
147
  return True
148
148
 
149
149
  return self.to_dict() != other.to_dict()