volcengine-python-sdk 4.0.19__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 (112) hide show
  1. volcengine_python_sdk-4.0.21.dist-info/METADATA +214 -0
  2. {volcengine_python_sdk-4.0.19.dist-info → volcengine_python_sdk-4.0.21.dist-info}/RECORD +98 -74
  3. {volcengine_python_sdk-4.0.19.dist-info → volcengine_python_sdk-4.0.21.dist-info}/WHEEL +1 -1
  4. volcenginesdkalb/__init__.py +0 -2
  5. volcenginesdkalb/models/__init__.py +0 -2
  6. volcenginesdkalb/models/convert_forward_group_config_for_create_rules_input.py +3 -3
  7. volcenginesdkalb/models/convert_forward_group_config_for_modify_rules_input.py +3 -3
  8. volcenginesdkalb/models/convert_redirect_config_for_describe_rules_output.py +6 -6
  9. volcenginesdkalb/models/server_group_sticky_session_for_create_rules_input.py +3 -3
  10. volcenginesdkalb/models/server_group_sticky_session_for_describe_rules_output.py +3 -3
  11. volcenginesdkalb/models/server_group_sticky_session_for_modify_rules_input.py +3 -3
  12. volcenginesdkalb/models/traffic_limit_config_for_create_rules_input.py +3 -3
  13. volcenginesdkalb/models/traffic_limit_config_for_modify_rules_input.py +3 -3
  14. volcenginesdkarkruntime/resources/images/images.py +1 -1
  15. volcenginesdkarkruntime/resources/responses/input_items.py +2 -2
  16. volcenginesdkarkruntime/resources/responses/responses.py +4 -1
  17. volcenginesdkarkruntime/types/images/images.py +3 -0
  18. volcenginesdkcore/api_client.py +1 -1
  19. volcenginesdkcore/configuration.py +1 -1
  20. volcenginesdkrdsmysqlv2/__init__.py +39 -25
  21. volcenginesdkrdsmysqlv2/api/rds_mysql_v2_api.py +1347 -1153
  22. volcenginesdkrdsmysqlv2/models/__init__.py +39 -25
  23. volcenginesdkrdsmysqlv2/models/address_for_describe_db_instance_endpoints_output.py +305 -0
  24. volcenginesdkrdsmysqlv2/models/allow_list_for_describe_allow_lists_output.py +27 -1
  25. volcenginesdkrdsmysqlv2/models/basic_info_for_describe_db_instance_detail_output.py +1 -105
  26. volcenginesdkrdsmysqlv2/models/change_object_for_sync_allow_list_output.py +331 -0
  27. volcenginesdkrdsmysqlv2/models/charge_detail_for_describe_db_instance_charge_detail_output.py +383 -0
  28. volcenginesdkrdsmysqlv2/models/create_db_endpoint_request.py +27 -1
  29. volcenginesdkrdsmysqlv2/models/create_db_instance_request.py +27 -1
  30. volcenginesdkrdsmysqlv2/models/create_dr_db_instance_request.py +27 -1
  31. volcenginesdkrdsmysqlv2/models/db_instance_attribute_for_describe_db_instance_attribute_output.py +825 -0
  32. volcenginesdkrdsmysqlv2/models/describe_allow_lists_request.py +29 -3
  33. volcenginesdkrdsmysqlv2/models/describe_backup_policy_response.py +53 -1
  34. volcenginesdkrdsmysqlv2/models/describe_db_disaster_recovery_instances_request.py +124 -0
  35. volcenginesdkrdsmysqlv2/models/describe_db_disaster_recovery_instances_response.py +305 -0
  36. volcenginesdkrdsmysqlv2/models/{describe_db_auto_scaling_config_request.py → describe_db_instance_attribute_request.py} +9 -9
  37. volcenginesdkrdsmysqlv2/models/describe_db_instance_attribute_response.py +123 -0
  38. volcenginesdkrdsmysqlv2/models/describe_db_instance_charge_detail_request.py +124 -0
  39. volcenginesdkrdsmysqlv2/models/describe_db_instance_charge_detail_response.py +123 -0
  40. volcenginesdkrdsmysqlv2/models/describe_db_instance_endpoints_request.py +124 -0
  41. volcenginesdkrdsmysqlv2/models/describe_db_instance_endpoints_response.py +123 -0
  42. volcenginesdkrdsmysqlv2/models/describe_db_instance_ha_config_request.py +124 -0
  43. volcenginesdkrdsmysqlv2/models/{describe_available_cross_region_request.py → describe_db_instance_ha_config_response.py} +36 -37
  44. volcenginesdkrdsmysqlv2/models/describe_db_instance_price_detail_response.py +29 -3
  45. volcenginesdkrdsmysqlv2/models/{describe_cross_backup_policy_request.py → describe_db_instance_tde_request.py} +9 -9
  46. volcenginesdkrdsmysqlv2/models/describe_db_instance_tde_response.py +123 -0
  47. volcenginesdkrdsmysqlv2/models/describe_db_proxy_price_detail_response.py +27 -1
  48. volcenginesdkrdsmysqlv2/models/describe_db_proxy_request.py +124 -0
  49. volcenginesdkrdsmysqlv2/models/describe_db_proxy_response.py +123 -0
  50. volcenginesdkrdsmysqlv2/models/describe_resource_usage_request.py +124 -0
  51. volcenginesdkrdsmysqlv2/models/describe_resource_usage_response.py +565 -0
  52. volcenginesdkrdsmysqlv2/models/disaster_recovery_instance_for_describe_db_disaster_recovery_instances_output.py +279 -0
  53. volcenginesdkrdsmysqlv2/models/endpoint_for_describe_db_instance_detail_output.py +27 -1
  54. volcenginesdkrdsmysqlv2/models/endpoint_for_describe_db_instance_endpoints_output.py +669 -0
  55. volcenginesdkrdsmysqlv2/models/maintenance_window_for_describe_db_instance_attribute_output.py +175 -0
  56. volcenginesdkrdsmysqlv2/models/modify_backup_policy_request.py +53 -1
  57. volcenginesdkrdsmysqlv2/models/modify_backup_policy_response.py +53 -1
  58. volcenginesdkrdsmysqlv2/models/modify_db_endpoint_request.py +53 -1
  59. volcenginesdkrdsmysqlv2/models/modify_db_instance_tde_request.py +281 -0
  60. volcenginesdkrdsmysqlv2/models/{modify_db_auto_scaling_config_response.py → modify_db_instance_tde_response.py} +5 -5
  61. volcenginesdkrdsmysqlv2/models/{upgrade_db_instance_kernel_version_request.py → modify_db_instance_type_request.py} +55 -29
  62. volcenginesdkrdsmysqlv2/models/{restore_to_cross_region_instance_response.py → modify_db_instance_type_response.py} +13 -13
  63. volcenginesdkrdsmysqlv2/models/node_for_describe_db_instance_ha_config_output.py +435 -0
  64. volcenginesdkrdsmysqlv2/models/{node_info_for_restore_to_cross_region_instance_input.py → node_info_for_modify_db_instance_type_input.py} +25 -25
  65. volcenginesdkalb/models/convert_forward_group_config_server_group_tuple_for_create_rules_input.py → volcenginesdkrdsmysqlv2/models/proxy_detail_for_describe_db_proxy_output.py +37 -37
  66. volcenginesdkrdsmysqlv2/models/{describe_available_cross_region_response.py → proxy_node_custom_for_create_db_instance_input.py} +22 -22
  67. volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_create_dr_db_instance_input.py +123 -0
  68. volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_rebuild_db_instance_input.py +123 -0
  69. volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_restore_to_new_instance_input.py +123 -0
  70. volcenginesdkrdsmysqlv2/models/proxy_resource_info_for_describe_db_proxy_output.py +175 -0
  71. volcenginesdkalb/models/convert_forward_group_config_server_group_tuple_for_modify_rules_input.py → volcenginesdkrdsmysqlv2/models/read_only_node_weight_for_describe_db_instance_endpoints_output.py +54 -28
  72. volcenginesdkrdsmysqlv2/models/rebuild_db_instance_request.py +27 -1
  73. volcenginesdkrdsmysqlv2/models/restore_to_new_instance_request.py +27 -1
  74. volcenginesdkrdsmysqlv2/models/sync_allow_list_request.py +150 -0
  75. volcenginesdkrdsmysqlv2/models/sync_allow_list_response.py +123 -0
  76. volcenginesdkrdsmysqlv2/models/{instance_tag_for_restore_to_cross_region_instance_input.py → tag_for_describe_db_instance_attribute_output.py} +13 -13
  77. volcenginesdkresourceshare/__init__.py +12 -0
  78. volcenginesdkresourceshare/api/resource_share_api.py +291 -0
  79. volcenginesdkresourceshare/models/__init__.py +12 -0
  80. volcenginesdkresourceshare/models/create_resource_share_request.py +29 -3
  81. volcenginesdkresourceshare/models/create_resource_share_response.py +29 -1
  82. volcenginesdkresourceshare/models/describe_resource_shares_request.py +31 -6
  83. volcenginesdkresourceshare/models/list_tags_for_resources_request.py +228 -0
  84. volcenginesdkrdsmysqlv2/models/describe_cross_region_backup_db_instances_response.py → volcenginesdkresourceshare/models/list_tags_for_resources_response.py +53 -27
  85. volcenginesdkresourceshare/models/resource_share_for_describe_resource_shares_output.py +27 -1
  86. volcenginesdkresourceshare/models/resource_tag_for_list_tags_for_resources_output.py +201 -0
  87. volcenginesdkresourceshare/models/tag_filter_for_describe_resource_shares_input.py +149 -0
  88. volcenginesdkresourceshare/models/tag_filter_for_list_tags_for_resources_input.py +149 -0
  89. volcenginesdkresourceshare/models/tag_for_create_resource_share_input.py +149 -0
  90. volcenginesdkresourceshare/models/tag_for_describe_resource_shares_output.py +149 -0
  91. volcenginesdkresourceshare/models/tag_for_tag_resources_input.py +151 -0
  92. volcenginesdkresourceshare/models/tag_resources_request.py +176 -0
  93. volcenginesdkrdsmysqlv2/models/upgrade_db_instance_kernel_version_response.py → volcenginesdkresourceshare/models/tag_resources_response.py +6 -6
  94. volcenginesdkresourceshare/models/untag_resources_request.py +176 -0
  95. volcenginesdkrdsmysqlv2/models/modify_db_instance_auto_upgrade_minor_version_response.py → volcenginesdkresourceshare/models/untag_resources_response.py +6 -6
  96. volcengine_python_sdk-4.0.19.dist-info/METADATA +0 -20
  97. volcenginesdkrdsmysqlv2/models/auto_storage_scaling_config_for_restore_to_cross_region_instance_input.py +0 -175
  98. volcenginesdkrdsmysqlv2/models/charge_info_for_restore_to_cross_region_instance_input.py +0 -227
  99. volcenginesdkrdsmysqlv2/models/data_for_describe_cross_region_backup_db_instances_output.py +0 -357
  100. volcenginesdkrdsmysqlv2/models/describe_cross_backup_policy_response.py +0 -227
  101. volcenginesdkrdsmysqlv2/models/describe_cross_region_backup_db_instances_request.py +0 -279
  102. volcenginesdkrdsmysqlv2/models/describe_db_auto_scaling_config_response.py +0 -227
  103. volcenginesdkrdsmysqlv2/models/modify_cross_backup_policy_request.py +0 -228
  104. volcenginesdkrdsmysqlv2/models/modify_cross_backup_policy_response.py +0 -227
  105. volcenginesdkrdsmysqlv2/models/modify_db_auto_scaling_config_request.py +0 -150
  106. volcenginesdkrdsmysqlv2/models/modify_db_instance_auto_upgrade_minor_version_request.py +0 -151
  107. volcenginesdkrdsmysqlv2/models/restore_to_cross_region_instance_request.py +0 -597
  108. volcenginesdkrdsmysqlv2/models/storage_config_for_describe_db_auto_scaling_config_output.py +0 -175
  109. volcenginesdkrdsmysqlv2/models/storage_config_for_modify_db_auto_scaling_config_input.py +0 -175
  110. {volcengine_python_sdk-4.0.19.dist-info → volcengine_python_sdk-4.0.21.dist-info/licenses}/LICENSE.txt +0 -0
  111. {volcengine_python_sdk-4.0.19.dist-info → volcengine_python_sdk-4.0.21.dist-info/licenses}/NOTICE.md +0 -0
  112. {volcengine_python_sdk-4.0.19.dist-info → volcengine_python_sdk-4.0.21.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- alb
4
+ rds_mysql_v2
5
5
 
6
6
  No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
7
 
@@ -19,7 +19,7 @@ import six
19
19
  from volcenginesdkcore.configuration import Configuration
20
20
 
21
21
 
22
- class ConvertForwardGroupConfigServerGroupTupleForCreateRulesInput(object):
22
+ class ProxyDetailForDescribeDBProxyOutput(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.
@@ -33,71 +33,71 @@ class ConvertForwardGroupConfigServerGroupTupleForCreateRulesInput(object):
33
33
  and the value is json key in definition.
34
34
  """
35
35
  swagger_types = {
36
- 'server_group_id': 'str',
37
- 'weight': 'str'
36
+ 'db_proxy_status': 'str',
37
+ 'proxy_resource_info': 'ProxyResourceInfoForDescribeDBProxyOutput'
38
38
  }
39
39
 
40
40
  attribute_map = {
41
- 'server_group_id': 'ServerGroupId',
42
- 'weight': 'Weight'
41
+ 'db_proxy_status': 'DBProxyStatus',
42
+ 'proxy_resource_info': 'ProxyResourceInfo'
43
43
  }
44
44
 
45
- def __init__(self, server_group_id=None, weight=None, _configuration=None): # noqa: E501
46
- """ConvertForwardGroupConfigServerGroupTupleForCreateRulesInput - a model defined in Swagger""" # noqa: E501
45
+ def __init__(self, db_proxy_status=None, proxy_resource_info=None, _configuration=None): # noqa: E501
46
+ """ProxyDetailForDescribeDBProxyOutput - a model defined in Swagger""" # noqa: E501
47
47
  if _configuration is None:
48
48
  _configuration = Configuration()
49
49
  self._configuration = _configuration
50
50
 
51
- self._server_group_id = None
52
- self._weight = None
51
+ self._db_proxy_status = None
52
+ self._proxy_resource_info = None
53
53
  self.discriminator = None
54
54
 
55
- if server_group_id is not None:
56
- self.server_group_id = server_group_id
57
- if weight is not None:
58
- self.weight = weight
55
+ if db_proxy_status is not None:
56
+ self.db_proxy_status = db_proxy_status
57
+ if proxy_resource_info is not None:
58
+ self.proxy_resource_info = proxy_resource_info
59
59
 
60
60
  @property
61
- def server_group_id(self):
62
- """Gets the server_group_id of this ConvertForwardGroupConfigServerGroupTupleForCreateRulesInput. # noqa: E501
61
+ def db_proxy_status(self):
62
+ """Gets the db_proxy_status of this ProxyDetailForDescribeDBProxyOutput. # noqa: E501
63
63
 
64
64
 
65
- :return: The server_group_id of this ConvertForwardGroupConfigServerGroupTupleForCreateRulesInput. # noqa: E501
65
+ :return: The db_proxy_status of this ProxyDetailForDescribeDBProxyOutput. # noqa: E501
66
66
  :rtype: str
67
67
  """
68
- return self._server_group_id
68
+ return self._db_proxy_status
69
69
 
70
- @server_group_id.setter
71
- def server_group_id(self, server_group_id):
72
- """Sets the server_group_id of this ConvertForwardGroupConfigServerGroupTupleForCreateRulesInput.
70
+ @db_proxy_status.setter
71
+ def db_proxy_status(self, db_proxy_status):
72
+ """Sets the db_proxy_status of this ProxyDetailForDescribeDBProxyOutput.
73
73
 
74
74
 
75
- :param server_group_id: The server_group_id of this ConvertForwardGroupConfigServerGroupTupleForCreateRulesInput. # noqa: E501
75
+ :param db_proxy_status: The db_proxy_status of this ProxyDetailForDescribeDBProxyOutput. # noqa: E501
76
76
  :type: str
77
77
  """
78
78
 
79
- self._server_group_id = server_group_id
79
+ self._db_proxy_status = db_proxy_status
80
80
 
81
81
  @property
82
- def weight(self):
83
- """Gets the weight of this ConvertForwardGroupConfigServerGroupTupleForCreateRulesInput. # noqa: E501
82
+ def proxy_resource_info(self):
83
+ """Gets the proxy_resource_info of this ProxyDetailForDescribeDBProxyOutput. # noqa: E501
84
84
 
85
85
 
86
- :return: The weight of this ConvertForwardGroupConfigServerGroupTupleForCreateRulesInput. # noqa: E501
87
- :rtype: str
86
+ :return: The proxy_resource_info of this ProxyDetailForDescribeDBProxyOutput. # noqa: E501
87
+ :rtype: ProxyResourceInfoForDescribeDBProxyOutput
88
88
  """
89
- return self._weight
89
+ return self._proxy_resource_info
90
90
 
91
- @weight.setter
92
- def weight(self, weight):
93
- """Sets the weight of this ConvertForwardGroupConfigServerGroupTupleForCreateRulesInput.
91
+ @proxy_resource_info.setter
92
+ def proxy_resource_info(self, proxy_resource_info):
93
+ """Sets the proxy_resource_info of this ProxyDetailForDescribeDBProxyOutput.
94
94
 
95
95
 
96
- :param weight: The weight of this ConvertForwardGroupConfigServerGroupTupleForCreateRulesInput. # noqa: E501
97
- :type: str
96
+ :param proxy_resource_info: The proxy_resource_info of this ProxyDetailForDescribeDBProxyOutput. # noqa: E501
97
+ :type: ProxyResourceInfoForDescribeDBProxyOutput
98
98
  """
99
99
 
100
- self._weight = weight
100
+ self._proxy_resource_info = proxy_resource_info
101
101
 
102
102
  def to_dict(self):
103
103
  """Returns the model properties as a dict"""
@@ -120,7 +120,7 @@ class ConvertForwardGroupConfigServerGroupTupleForCreateRulesInput(object):
120
120
  ))
121
121
  else:
122
122
  result[attr] = value
123
- if issubclass(ConvertForwardGroupConfigServerGroupTupleForCreateRulesInput, dict):
123
+ if issubclass(ProxyDetailForDescribeDBProxyOutput, dict):
124
124
  for key, value in self.items():
125
125
  result[key] = value
126
126
 
@@ -136,14 +136,14 @@ class ConvertForwardGroupConfigServerGroupTupleForCreateRulesInput(object):
136
136
 
137
137
  def __eq__(self, other):
138
138
  """Returns true if both objects are equal"""
139
- if not isinstance(other, ConvertForwardGroupConfigServerGroupTupleForCreateRulesInput):
139
+ if not isinstance(other, ProxyDetailForDescribeDBProxyOutput):
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, ConvertForwardGroupConfigServerGroupTupleForCreateRulesInput):
146
+ if not isinstance(other, ProxyDetailForDescribeDBProxyOutput):
147
147
  return True
148
148
 
149
149
  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 DescribeAvailableCrossRegionResponse(object):
22
+ class ProxyNodeCustomForCreateDBInstanceInput(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.
@@ -33,45 +33,45 @@ class DescribeAvailableCrossRegionResponse(object):
33
33
  and the value is json key in definition.
34
34
  """
35
35
  swagger_types = {
36
- 'regions': 'list[str]'
36
+ 'cpu_num': 'int'
37
37
  }
38
38
 
39
39
  attribute_map = {
40
- 'regions': 'Regions'
40
+ 'cpu_num': 'CpuNum'
41
41
  }
42
42
 
43
- def __init__(self, regions=None, _configuration=None): # noqa: E501
44
- """DescribeAvailableCrossRegionResponse - a model defined in Swagger""" # noqa: E501
43
+ def __init__(self, cpu_num=None, _configuration=None): # noqa: E501
44
+ """ProxyNodeCustomForCreateDBInstanceInput - a model defined in Swagger""" # noqa: E501
45
45
  if _configuration is None:
46
46
  _configuration = Configuration()
47
47
  self._configuration = _configuration
48
48
 
49
- self._regions = None
49
+ self._cpu_num = None
50
50
  self.discriminator = None
51
51
 
52
- if regions is not None:
53
- self.regions = regions
52
+ if cpu_num is not None:
53
+ self.cpu_num = cpu_num
54
54
 
55
55
  @property
56
- def regions(self):
57
- """Gets the regions of this DescribeAvailableCrossRegionResponse. # noqa: E501
56
+ def cpu_num(self):
57
+ """Gets the cpu_num of this ProxyNodeCustomForCreateDBInstanceInput. # noqa: E501
58
58
 
59
59
 
60
- :return: The regions of this DescribeAvailableCrossRegionResponse. # noqa: E501
61
- :rtype: list[str]
60
+ :return: The cpu_num of this ProxyNodeCustomForCreateDBInstanceInput. # noqa: E501
61
+ :rtype: int
62
62
  """
63
- return self._regions
63
+ return self._cpu_num
64
64
 
65
- @regions.setter
66
- def regions(self, regions):
67
- """Sets the regions of this DescribeAvailableCrossRegionResponse.
65
+ @cpu_num.setter
66
+ def cpu_num(self, cpu_num):
67
+ """Sets the cpu_num of this ProxyNodeCustomForCreateDBInstanceInput.
68
68
 
69
69
 
70
- :param regions: The regions of this DescribeAvailableCrossRegionResponse. # noqa: E501
71
- :type: list[str]
70
+ :param cpu_num: The cpu_num of this ProxyNodeCustomForCreateDBInstanceInput. # noqa: E501
71
+ :type: int
72
72
  """
73
73
 
74
- self._regions = regions
74
+ self._cpu_num = cpu_num
75
75
 
76
76
  def to_dict(self):
77
77
  """Returns the model properties as a dict"""
@@ -94,7 +94,7 @@ class DescribeAvailableCrossRegionResponse(object):
94
94
  ))
95
95
  else:
96
96
  result[attr] = value
97
- if issubclass(DescribeAvailableCrossRegionResponse, dict):
97
+ if issubclass(ProxyNodeCustomForCreateDBInstanceInput, dict):
98
98
  for key, value in self.items():
99
99
  result[key] = value
100
100
 
@@ -110,14 +110,14 @@ class DescribeAvailableCrossRegionResponse(object):
110
110
 
111
111
  def __eq__(self, other):
112
112
  """Returns true if both objects are equal"""
113
- if not isinstance(other, DescribeAvailableCrossRegionResponse):
113
+ if not isinstance(other, ProxyNodeCustomForCreateDBInstanceInput):
114
114
  return False
115
115
 
116
116
  return self.to_dict() == other.to_dict()
117
117
 
118
118
  def __ne__(self, other):
119
119
  """Returns true if both objects are not equal"""
120
- if not isinstance(other, DescribeAvailableCrossRegionResponse):
120
+ if not isinstance(other, ProxyNodeCustomForCreateDBInstanceInput):
121
121
  return True
122
122
 
123
123
  return self.to_dict() != other.to_dict()
@@ -0,0 +1,123 @@
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 ProxyNodeCustomForCreateDrDBInstanceInput(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
+ 'cpu_num': 'int'
37
+ }
38
+
39
+ attribute_map = {
40
+ 'cpu_num': 'CpuNum'
41
+ }
42
+
43
+ def __init__(self, cpu_num=None, _configuration=None): # noqa: E501
44
+ """ProxyNodeCustomForCreateDrDBInstanceInput - a model defined in Swagger""" # noqa: E501
45
+ if _configuration is None:
46
+ _configuration = Configuration()
47
+ self._configuration = _configuration
48
+
49
+ self._cpu_num = None
50
+ self.discriminator = None
51
+
52
+ if cpu_num is not None:
53
+ self.cpu_num = cpu_num
54
+
55
+ @property
56
+ def cpu_num(self):
57
+ """Gets the cpu_num of this ProxyNodeCustomForCreateDrDBInstanceInput. # noqa: E501
58
+
59
+
60
+ :return: The cpu_num of this ProxyNodeCustomForCreateDrDBInstanceInput. # noqa: E501
61
+ :rtype: int
62
+ """
63
+ return self._cpu_num
64
+
65
+ @cpu_num.setter
66
+ def cpu_num(self, cpu_num):
67
+ """Sets the cpu_num of this ProxyNodeCustomForCreateDrDBInstanceInput.
68
+
69
+
70
+ :param cpu_num: The cpu_num of this ProxyNodeCustomForCreateDrDBInstanceInput. # noqa: E501
71
+ :type: int
72
+ """
73
+
74
+ self._cpu_num = cpu_num
75
+
76
+ def to_dict(self):
77
+ """Returns the model properties as a dict"""
78
+ result = {}
79
+
80
+ for attr, _ in six.iteritems(self.swagger_types):
81
+ value = getattr(self, attr)
82
+ if isinstance(value, list):
83
+ result[attr] = list(map(
84
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
85
+ value
86
+ ))
87
+ elif hasattr(value, "to_dict"):
88
+ result[attr] = value.to_dict()
89
+ elif isinstance(value, dict):
90
+ result[attr] = dict(map(
91
+ lambda item: (item[0], item[1].to_dict())
92
+ if hasattr(item[1], "to_dict") else item,
93
+ value.items()
94
+ ))
95
+ else:
96
+ result[attr] = value
97
+ if issubclass(ProxyNodeCustomForCreateDrDBInstanceInput, dict):
98
+ for key, value in self.items():
99
+ result[key] = value
100
+
101
+ return result
102
+
103
+ def to_str(self):
104
+ """Returns the string representation of the model"""
105
+ return pprint.pformat(self.to_dict())
106
+
107
+ def __repr__(self):
108
+ """For `print` and `pprint`"""
109
+ return self.to_str()
110
+
111
+ def __eq__(self, other):
112
+ """Returns true if both objects are equal"""
113
+ if not isinstance(other, ProxyNodeCustomForCreateDrDBInstanceInput):
114
+ return False
115
+
116
+ return self.to_dict() == other.to_dict()
117
+
118
+ def __ne__(self, other):
119
+ """Returns true if both objects are not equal"""
120
+ if not isinstance(other, ProxyNodeCustomForCreateDrDBInstanceInput):
121
+ return True
122
+
123
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,123 @@
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 ProxyNodeCustomForRebuildDBInstanceInput(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
+ 'cpu_num': 'int'
37
+ }
38
+
39
+ attribute_map = {
40
+ 'cpu_num': 'CpuNum'
41
+ }
42
+
43
+ def __init__(self, cpu_num=None, _configuration=None): # noqa: E501
44
+ """ProxyNodeCustomForRebuildDBInstanceInput - a model defined in Swagger""" # noqa: E501
45
+ if _configuration is None:
46
+ _configuration = Configuration()
47
+ self._configuration = _configuration
48
+
49
+ self._cpu_num = None
50
+ self.discriminator = None
51
+
52
+ if cpu_num is not None:
53
+ self.cpu_num = cpu_num
54
+
55
+ @property
56
+ def cpu_num(self):
57
+ """Gets the cpu_num of this ProxyNodeCustomForRebuildDBInstanceInput. # noqa: E501
58
+
59
+
60
+ :return: The cpu_num of this ProxyNodeCustomForRebuildDBInstanceInput. # noqa: E501
61
+ :rtype: int
62
+ """
63
+ return self._cpu_num
64
+
65
+ @cpu_num.setter
66
+ def cpu_num(self, cpu_num):
67
+ """Sets the cpu_num of this ProxyNodeCustomForRebuildDBInstanceInput.
68
+
69
+
70
+ :param cpu_num: The cpu_num of this ProxyNodeCustomForRebuildDBInstanceInput. # noqa: E501
71
+ :type: int
72
+ """
73
+
74
+ self._cpu_num = cpu_num
75
+
76
+ def to_dict(self):
77
+ """Returns the model properties as a dict"""
78
+ result = {}
79
+
80
+ for attr, _ in six.iteritems(self.swagger_types):
81
+ value = getattr(self, attr)
82
+ if isinstance(value, list):
83
+ result[attr] = list(map(
84
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
85
+ value
86
+ ))
87
+ elif hasattr(value, "to_dict"):
88
+ result[attr] = value.to_dict()
89
+ elif isinstance(value, dict):
90
+ result[attr] = dict(map(
91
+ lambda item: (item[0], item[1].to_dict())
92
+ if hasattr(item[1], "to_dict") else item,
93
+ value.items()
94
+ ))
95
+ else:
96
+ result[attr] = value
97
+ if issubclass(ProxyNodeCustomForRebuildDBInstanceInput, dict):
98
+ for key, value in self.items():
99
+ result[key] = value
100
+
101
+ return result
102
+
103
+ def to_str(self):
104
+ """Returns the string representation of the model"""
105
+ return pprint.pformat(self.to_dict())
106
+
107
+ def __repr__(self):
108
+ """For `print` and `pprint`"""
109
+ return self.to_str()
110
+
111
+ def __eq__(self, other):
112
+ """Returns true if both objects are equal"""
113
+ if not isinstance(other, ProxyNodeCustomForRebuildDBInstanceInput):
114
+ return False
115
+
116
+ return self.to_dict() == other.to_dict()
117
+
118
+ def __ne__(self, other):
119
+ """Returns true if both objects are not equal"""
120
+ if not isinstance(other, ProxyNodeCustomForRebuildDBInstanceInput):
121
+ return True
122
+
123
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,123 @@
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 ProxyNodeCustomForRestoreToNewInstanceInput(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
+ 'cpu_num': 'int'
37
+ }
38
+
39
+ attribute_map = {
40
+ 'cpu_num': 'CpuNum'
41
+ }
42
+
43
+ def __init__(self, cpu_num=None, _configuration=None): # noqa: E501
44
+ """ProxyNodeCustomForRestoreToNewInstanceInput - a model defined in Swagger""" # noqa: E501
45
+ if _configuration is None:
46
+ _configuration = Configuration()
47
+ self._configuration = _configuration
48
+
49
+ self._cpu_num = None
50
+ self.discriminator = None
51
+
52
+ if cpu_num is not None:
53
+ self.cpu_num = cpu_num
54
+
55
+ @property
56
+ def cpu_num(self):
57
+ """Gets the cpu_num of this ProxyNodeCustomForRestoreToNewInstanceInput. # noqa: E501
58
+
59
+
60
+ :return: The cpu_num of this ProxyNodeCustomForRestoreToNewInstanceInput. # noqa: E501
61
+ :rtype: int
62
+ """
63
+ return self._cpu_num
64
+
65
+ @cpu_num.setter
66
+ def cpu_num(self, cpu_num):
67
+ """Sets the cpu_num of this ProxyNodeCustomForRestoreToNewInstanceInput.
68
+
69
+
70
+ :param cpu_num: The cpu_num of this ProxyNodeCustomForRestoreToNewInstanceInput. # noqa: E501
71
+ :type: int
72
+ """
73
+
74
+ self._cpu_num = cpu_num
75
+
76
+ def to_dict(self):
77
+ """Returns the model properties as a dict"""
78
+ result = {}
79
+
80
+ for attr, _ in six.iteritems(self.swagger_types):
81
+ value = getattr(self, attr)
82
+ if isinstance(value, list):
83
+ result[attr] = list(map(
84
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
85
+ value
86
+ ))
87
+ elif hasattr(value, "to_dict"):
88
+ result[attr] = value.to_dict()
89
+ elif isinstance(value, dict):
90
+ result[attr] = dict(map(
91
+ lambda item: (item[0], item[1].to_dict())
92
+ if hasattr(item[1], "to_dict") else item,
93
+ value.items()
94
+ ))
95
+ else:
96
+ result[attr] = value
97
+ if issubclass(ProxyNodeCustomForRestoreToNewInstanceInput, dict):
98
+ for key, value in self.items():
99
+ result[key] = value
100
+
101
+ return result
102
+
103
+ def to_str(self):
104
+ """Returns the string representation of the model"""
105
+ return pprint.pformat(self.to_dict())
106
+
107
+ def __repr__(self):
108
+ """For `print` and `pprint`"""
109
+ return self.to_str()
110
+
111
+ def __eq__(self, other):
112
+ """Returns true if both objects are equal"""
113
+ if not isinstance(other, ProxyNodeCustomForRestoreToNewInstanceInput):
114
+ return False
115
+
116
+ return self.to_dict() == other.to_dict()
117
+
118
+ def __ne__(self, other):
119
+ """Returns true if both objects are not equal"""
120
+ if not isinstance(other, ProxyNodeCustomForRestoreToNewInstanceInput):
121
+ return True
122
+
123
+ return self.to_dict() != other.to_dict()