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.
- volcengine_python_sdk-4.0.21.dist-info/METADATA +214 -0
- {volcengine_python_sdk-4.0.20.dist-info → volcengine_python_sdk-4.0.21.dist-info}/RECORD +88 -62
- {volcengine_python_sdk-4.0.20.dist-info → volcengine_python_sdk-4.0.21.dist-info}/WHEEL +1 -1
- volcenginesdkarkruntime/resources/images/images.py +1 -1
- volcenginesdkarkruntime/resources/responses/input_items.py +2 -2
- volcenginesdkarkruntime/resources/responses/responses.py +4 -1
- volcenginesdkarkruntime/types/images/images.py +3 -0
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkrdsmysqlv2/__init__.py +39 -25
- volcenginesdkrdsmysqlv2/api/rds_mysql_v2_api.py +1347 -1153
- volcenginesdkrdsmysqlv2/models/__init__.py +39 -25
- volcenginesdkrdsmysqlv2/models/address_for_describe_db_instance_endpoints_output.py +305 -0
- volcenginesdkrdsmysqlv2/models/allow_list_for_describe_allow_lists_output.py +27 -1
- volcenginesdkrdsmysqlv2/models/basic_info_for_describe_db_instance_detail_output.py +1 -105
- volcenginesdkrdsmysqlv2/models/change_object_for_sync_allow_list_output.py +331 -0
- volcenginesdkrdsmysqlv2/models/charge_detail_for_describe_db_instance_charge_detail_output.py +383 -0
- volcenginesdkrdsmysqlv2/models/create_db_endpoint_request.py +27 -1
- volcenginesdkrdsmysqlv2/models/create_db_instance_request.py +27 -1
- volcenginesdkrdsmysqlv2/models/create_dr_db_instance_request.py +27 -1
- volcenginesdkrdsmysqlv2/models/db_instance_attribute_for_describe_db_instance_attribute_output.py +825 -0
- volcenginesdkrdsmysqlv2/models/describe_allow_lists_request.py +29 -3
- volcenginesdkrdsmysqlv2/models/describe_backup_policy_response.py +53 -1
- volcenginesdkrdsmysqlv2/models/describe_db_disaster_recovery_instances_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/describe_db_disaster_recovery_instances_response.py +305 -0
- volcenginesdkrdsmysqlv2/models/{describe_db_auto_scaling_config_request.py → describe_db_instance_attribute_request.py} +9 -9
- volcenginesdkrdsmysqlv2/models/describe_db_instance_attribute_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/describe_db_instance_charge_detail_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/describe_db_instance_charge_detail_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/describe_db_instance_endpoints_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/describe_db_instance_endpoints_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/describe_db_instance_ha_config_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/{describe_available_cross_region_request.py → describe_db_instance_ha_config_response.py} +36 -37
- volcenginesdkrdsmysqlv2/models/describe_db_instance_price_detail_response.py +29 -3
- volcenginesdkrdsmysqlv2/models/{describe_cross_backup_policy_request.py → describe_db_instance_tde_request.py} +9 -9
- volcenginesdkrdsmysqlv2/models/describe_db_instance_tde_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/describe_db_proxy_price_detail_response.py +27 -1
- volcenginesdkrdsmysqlv2/models/describe_db_proxy_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/describe_db_proxy_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/describe_resource_usage_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/describe_resource_usage_response.py +565 -0
- volcenginesdkrdsmysqlv2/models/disaster_recovery_instance_for_describe_db_disaster_recovery_instances_output.py +279 -0
- volcenginesdkrdsmysqlv2/models/endpoint_for_describe_db_instance_detail_output.py +27 -1
- volcenginesdkrdsmysqlv2/models/endpoint_for_describe_db_instance_endpoints_output.py +669 -0
- volcenginesdkrdsmysqlv2/models/maintenance_window_for_describe_db_instance_attribute_output.py +175 -0
- volcenginesdkrdsmysqlv2/models/modify_backup_policy_request.py +53 -1
- volcenginesdkrdsmysqlv2/models/modify_backup_policy_response.py +53 -1
- volcenginesdkrdsmysqlv2/models/modify_db_endpoint_request.py +53 -1
- volcenginesdkrdsmysqlv2/models/modify_db_instance_tde_request.py +281 -0
- volcenginesdkrdsmysqlv2/models/{modify_db_auto_scaling_config_response.py → modify_db_instance_tde_response.py} +5 -5
- volcenginesdkrdsmysqlv2/models/{upgrade_db_instance_kernel_version_request.py → modify_db_instance_type_request.py} +55 -29
- volcenginesdkrdsmysqlv2/models/{restore_to_cross_region_instance_response.py → modify_db_instance_type_response.py} +13 -13
- volcenginesdkrdsmysqlv2/models/node_for_describe_db_instance_ha_config_output.py +435 -0
- volcenginesdkrdsmysqlv2/models/{node_info_for_restore_to_cross_region_instance_input.py → node_info_for_modify_db_instance_type_input.py} +25 -25
- volcenginesdkrdsmysqlv2/models/{modify_db_auto_scaling_config_request.py → proxy_detail_for_describe_db_proxy_output.py} +36 -37
- volcenginesdkrdsmysqlv2/models/{describe_available_cross_region_response.py → proxy_node_custom_for_create_db_instance_input.py} +22 -22
- volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_create_dr_db_instance_input.py +123 -0
- volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_rebuild_db_instance_input.py +123 -0
- volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_restore_to_new_instance_input.py +123 -0
- volcenginesdkrdsmysqlv2/models/proxy_resource_info_for_describe_db_proxy_output.py +175 -0
- volcenginesdkrdsmysqlv2/models/read_only_node_weight_for_describe_db_instance_endpoints_output.py +175 -0
- volcenginesdkrdsmysqlv2/models/rebuild_db_instance_request.py +27 -1
- volcenginesdkrdsmysqlv2/models/restore_to_new_instance_request.py +27 -1
- volcenginesdkrdsmysqlv2/models/sync_allow_list_request.py +150 -0
- volcenginesdkrdsmysqlv2/models/sync_allow_list_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/{instance_tag_for_restore_to_cross_region_instance_input.py → tag_for_describe_db_instance_attribute_output.py} +13 -13
- volcenginesdkresourceshare/__init__.py +12 -0
- volcenginesdkresourceshare/api/resource_share_api.py +291 -0
- volcenginesdkresourceshare/models/__init__.py +12 -0
- volcenginesdkresourceshare/models/create_resource_share_request.py +29 -3
- volcenginesdkresourceshare/models/create_resource_share_response.py +29 -1
- volcenginesdkresourceshare/models/describe_resource_shares_request.py +31 -6
- volcenginesdkresourceshare/models/list_tags_for_resources_request.py +228 -0
- volcenginesdkrdsmysqlv2/models/describe_cross_region_backup_db_instances_response.py → volcenginesdkresourceshare/models/list_tags_for_resources_response.py +53 -27
- volcenginesdkresourceshare/models/resource_share_for_describe_resource_shares_output.py +27 -1
- volcenginesdkresourceshare/models/resource_tag_for_list_tags_for_resources_output.py +201 -0
- volcenginesdkresourceshare/models/tag_filter_for_describe_resource_shares_input.py +149 -0
- volcenginesdkresourceshare/models/tag_filter_for_list_tags_for_resources_input.py +149 -0
- volcenginesdkresourceshare/models/tag_for_create_resource_share_input.py +149 -0
- volcenginesdkresourceshare/models/tag_for_describe_resource_shares_output.py +149 -0
- volcenginesdkresourceshare/models/tag_for_tag_resources_input.py +151 -0
- volcenginesdkresourceshare/models/tag_resources_request.py +176 -0
- volcenginesdkrdsmysqlv2/models/upgrade_db_instance_kernel_version_response.py → volcenginesdkresourceshare/models/tag_resources_response.py +6 -6
- volcenginesdkresourceshare/models/untag_resources_request.py +176 -0
- volcenginesdkrdsmysqlv2/models/modify_db_instance_auto_upgrade_minor_version_response.py → volcenginesdkresourceshare/models/untag_resources_response.py +6 -6
- volcengine_python_sdk-4.0.20.dist-info/METADATA +0 -20
- volcenginesdkrdsmysqlv2/models/auto_storage_scaling_config_for_restore_to_cross_region_instance_input.py +0 -175
- volcenginesdkrdsmysqlv2/models/charge_info_for_restore_to_cross_region_instance_input.py +0 -227
- volcenginesdkrdsmysqlv2/models/data_for_describe_cross_region_backup_db_instances_output.py +0 -357
- volcenginesdkrdsmysqlv2/models/describe_cross_backup_policy_response.py +0 -227
- volcenginesdkrdsmysqlv2/models/describe_cross_region_backup_db_instances_request.py +0 -279
- volcenginesdkrdsmysqlv2/models/describe_db_auto_scaling_config_response.py +0 -227
- volcenginesdkrdsmysqlv2/models/modify_cross_backup_policy_request.py +0 -228
- volcenginesdkrdsmysqlv2/models/modify_cross_backup_policy_response.py +0 -227
- volcenginesdkrdsmysqlv2/models/modify_db_instance_auto_upgrade_minor_version_request.py +0 -151
- volcenginesdkrdsmysqlv2/models/restore_to_cross_region_instance_request.py +0 -597
- volcenginesdkrdsmysqlv2/models/storage_config_for_describe_db_auto_scaling_config_output.py +0 -175
- volcenginesdkrdsmysqlv2/models/storage_config_for_modify_db_auto_scaling_config_input.py +0 -175
- {volcengine_python_sdk-4.0.20.dist-info → volcengine_python_sdk-4.0.21.dist-info/licenses}/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.20.dist-info → volcengine_python_sdk-4.0.21.dist-info/licenses}/NOTICE.md +0 -0
- {volcengine_python_sdk-4.0.20.dist-info → volcengine_python_sdk-4.0.21.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,124 @@
|
|
|
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 DescribeDBInstanceHAConfigRequest(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
|
+
}
|
|
38
|
+
|
|
39
|
+
attribute_map = {
|
|
40
|
+
'instance_id': 'InstanceId'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, instance_id=None, _configuration=None): # noqa: E501
|
|
44
|
+
"""DescribeDBInstanceHAConfigRequest - a model defined in Swagger""" # noqa: E501
|
|
45
|
+
if _configuration is None:
|
|
46
|
+
_configuration = Configuration()
|
|
47
|
+
self._configuration = _configuration
|
|
48
|
+
|
|
49
|
+
self._instance_id = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
self.instance_id = instance_id
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
def instance_id(self):
|
|
56
|
+
"""Gets the instance_id of this DescribeDBInstanceHAConfigRequest. # noqa: E501
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
:return: The instance_id of this DescribeDBInstanceHAConfigRequest. # noqa: E501
|
|
60
|
+
:rtype: str
|
|
61
|
+
"""
|
|
62
|
+
return self._instance_id
|
|
63
|
+
|
|
64
|
+
@instance_id.setter
|
|
65
|
+
def instance_id(self, instance_id):
|
|
66
|
+
"""Sets the instance_id of this DescribeDBInstanceHAConfigRequest.
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
:param instance_id: The instance_id of this DescribeDBInstanceHAConfigRequest. # noqa: E501
|
|
70
|
+
:type: str
|
|
71
|
+
"""
|
|
72
|
+
if self._configuration.client_side_validation and instance_id is None:
|
|
73
|
+
raise ValueError("Invalid value for `instance_id`, must not be `None`") # noqa: E501
|
|
74
|
+
|
|
75
|
+
self._instance_id = instance_id
|
|
76
|
+
|
|
77
|
+
def to_dict(self):
|
|
78
|
+
"""Returns the model properties as a dict"""
|
|
79
|
+
result = {}
|
|
80
|
+
|
|
81
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
82
|
+
value = getattr(self, attr)
|
|
83
|
+
if isinstance(value, list):
|
|
84
|
+
result[attr] = list(map(
|
|
85
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
86
|
+
value
|
|
87
|
+
))
|
|
88
|
+
elif hasattr(value, "to_dict"):
|
|
89
|
+
result[attr] = value.to_dict()
|
|
90
|
+
elif isinstance(value, dict):
|
|
91
|
+
result[attr] = dict(map(
|
|
92
|
+
lambda item: (item[0], item[1].to_dict())
|
|
93
|
+
if hasattr(item[1], "to_dict") else item,
|
|
94
|
+
value.items()
|
|
95
|
+
))
|
|
96
|
+
else:
|
|
97
|
+
result[attr] = value
|
|
98
|
+
if issubclass(DescribeDBInstanceHAConfigRequest, dict):
|
|
99
|
+
for key, value in self.items():
|
|
100
|
+
result[key] = value
|
|
101
|
+
|
|
102
|
+
return result
|
|
103
|
+
|
|
104
|
+
def to_str(self):
|
|
105
|
+
"""Returns the string representation of the model"""
|
|
106
|
+
return pprint.pformat(self.to_dict())
|
|
107
|
+
|
|
108
|
+
def __repr__(self):
|
|
109
|
+
"""For `print` and `pprint`"""
|
|
110
|
+
return self.to_str()
|
|
111
|
+
|
|
112
|
+
def __eq__(self, other):
|
|
113
|
+
"""Returns true if both objects are equal"""
|
|
114
|
+
if not isinstance(other, DescribeDBInstanceHAConfigRequest):
|
|
115
|
+
return False
|
|
116
|
+
|
|
117
|
+
return self.to_dict() == other.to_dict()
|
|
118
|
+
|
|
119
|
+
def __ne__(self, other):
|
|
120
|
+
"""Returns true if both objects are not equal"""
|
|
121
|
+
if not isinstance(other, DescribeDBInstanceHAConfigRequest):
|
|
122
|
+
return True
|
|
123
|
+
|
|
124
|
+
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
|
|
22
|
+
class DescribeDBInstanceHAConfigResponse(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,72 +33,71 @@ class DescribeAvailableCrossRegionRequest(object):
|
|
|
33
33
|
and the value is json key in definition.
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
|
-
'
|
|
37
|
-
'
|
|
36
|
+
'data_sync_mode': 'str',
|
|
37
|
+
'nodes': 'list[NodeForDescribeDBInstanceHAConfigOutput]'
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
attribute_map = {
|
|
41
|
-
'
|
|
42
|
-
'
|
|
41
|
+
'data_sync_mode': 'DataSyncMode',
|
|
42
|
+
'nodes': 'Nodes'
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
def __init__(self,
|
|
46
|
-
"""
|
|
45
|
+
def __init__(self, data_sync_mode=None, nodes=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""DescribeDBInstanceHAConfigResponse - 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.
|
|
52
|
-
self.
|
|
51
|
+
self._data_sync_mode = None
|
|
52
|
+
self._nodes = None
|
|
53
53
|
self.discriminator = None
|
|
54
54
|
|
|
55
|
-
if
|
|
56
|
-
self.
|
|
57
|
-
|
|
55
|
+
if data_sync_mode is not None:
|
|
56
|
+
self.data_sync_mode = data_sync_mode
|
|
57
|
+
if nodes is not None:
|
|
58
|
+
self.nodes = nodes
|
|
58
59
|
|
|
59
60
|
@property
|
|
60
|
-
def
|
|
61
|
-
"""Gets the
|
|
61
|
+
def data_sync_mode(self):
|
|
62
|
+
"""Gets the data_sync_mode of this DescribeDBInstanceHAConfigResponse. # noqa: E501
|
|
62
63
|
|
|
63
64
|
|
|
64
|
-
:return: The
|
|
65
|
+
:return: The data_sync_mode of this DescribeDBInstanceHAConfigResponse. # noqa: E501
|
|
65
66
|
:rtype: str
|
|
66
67
|
"""
|
|
67
|
-
return self.
|
|
68
|
+
return self._data_sync_mode
|
|
68
69
|
|
|
69
|
-
@
|
|
70
|
-
def
|
|
71
|
-
"""Sets the
|
|
70
|
+
@data_sync_mode.setter
|
|
71
|
+
def data_sync_mode(self, data_sync_mode):
|
|
72
|
+
"""Sets the data_sync_mode of this DescribeDBInstanceHAConfigResponse.
|
|
72
73
|
|
|
73
74
|
|
|
74
|
-
:param
|
|
75
|
+
:param data_sync_mode: The data_sync_mode of this DescribeDBInstanceHAConfigResponse. # noqa: E501
|
|
75
76
|
:type: str
|
|
76
77
|
"""
|
|
77
78
|
|
|
78
|
-
self.
|
|
79
|
+
self._data_sync_mode = data_sync_mode
|
|
79
80
|
|
|
80
81
|
@property
|
|
81
|
-
def
|
|
82
|
-
"""Gets the
|
|
82
|
+
def nodes(self):
|
|
83
|
+
"""Gets the nodes of this DescribeDBInstanceHAConfigResponse. # noqa: E501
|
|
83
84
|
|
|
84
85
|
|
|
85
|
-
:return: The
|
|
86
|
-
:rtype:
|
|
86
|
+
:return: The nodes of this DescribeDBInstanceHAConfigResponse. # noqa: E501
|
|
87
|
+
:rtype: list[NodeForDescribeDBInstanceHAConfigOutput]
|
|
87
88
|
"""
|
|
88
|
-
return self.
|
|
89
|
+
return self._nodes
|
|
89
90
|
|
|
90
|
-
@
|
|
91
|
-
def
|
|
92
|
-
"""Sets the
|
|
91
|
+
@nodes.setter
|
|
92
|
+
def nodes(self, nodes):
|
|
93
|
+
"""Sets the nodes of this DescribeDBInstanceHAConfigResponse.
|
|
93
94
|
|
|
94
95
|
|
|
95
|
-
:param
|
|
96
|
-
:type:
|
|
96
|
+
:param nodes: The nodes of this DescribeDBInstanceHAConfigResponse. # noqa: E501
|
|
97
|
+
:type: list[NodeForDescribeDBInstanceHAConfigOutput]
|
|
97
98
|
"""
|
|
98
|
-
if self._configuration.client_side_validation and region_id is None:
|
|
99
|
-
raise ValueError("Invalid value for `region_id`, must not be `None`") # noqa: E501
|
|
100
99
|
|
|
101
|
-
self.
|
|
100
|
+
self._nodes = nodes
|
|
102
101
|
|
|
103
102
|
def to_dict(self):
|
|
104
103
|
"""Returns the model properties as a dict"""
|
|
@@ -121,7 +120,7 @@ class DescribeAvailableCrossRegionRequest(object):
|
|
|
121
120
|
))
|
|
122
121
|
else:
|
|
123
122
|
result[attr] = value
|
|
124
|
-
if issubclass(
|
|
123
|
+
if issubclass(DescribeDBInstanceHAConfigResponse, dict):
|
|
125
124
|
for key, value in self.items():
|
|
126
125
|
result[key] = value
|
|
127
126
|
|
|
@@ -137,14 +136,14 @@ class DescribeAvailableCrossRegionRequest(object):
|
|
|
137
136
|
|
|
138
137
|
def __eq__(self, other):
|
|
139
138
|
"""Returns true if both objects are equal"""
|
|
140
|
-
if not isinstance(other,
|
|
139
|
+
if not isinstance(other, DescribeDBInstanceHAConfigResponse):
|
|
141
140
|
return False
|
|
142
141
|
|
|
143
142
|
return self.to_dict() == other.to_dict()
|
|
144
143
|
|
|
145
144
|
def __ne__(self, other):
|
|
146
145
|
"""Returns true if both objects are not equal"""
|
|
147
|
-
if not isinstance(other,
|
|
146
|
+
if not isinstance(other, DescribeDBInstanceHAConfigResponse):
|
|
148
147
|
return True
|
|
149
148
|
|
|
150
149
|
return self.to_dict() != other.to_dict()
|
|
@@ -33,24 +33,29 @@ class DescribeDBInstancePriceDetailResponse(object):
|
|
|
33
33
|
and the value is json key in definition.
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
|
-
'describe_db_instance_price_detail_str': 'DescribeDBInstancePriceDetailStrForDescribeDBInstancePriceDetailOutput'
|
|
36
|
+
'describe_db_instance_price_detail_str': 'DescribeDBInstancePriceDetailStrForDescribeDBInstancePriceDetailOutput',
|
|
37
|
+
'hide_price_info': 'bool'
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
attribute_map = {
|
|
40
|
-
'describe_db_instance_price_detail_str': 'DescribeDBInstancePriceDetailStr'
|
|
41
|
+
'describe_db_instance_price_detail_str': 'DescribeDBInstancePriceDetailStr',
|
|
42
|
+
'hide_price_info': 'HidePriceInfo'
|
|
41
43
|
}
|
|
42
44
|
|
|
43
|
-
def __init__(self, describe_db_instance_price_detail_str=None, _configuration=None): # noqa: E501
|
|
45
|
+
def __init__(self, describe_db_instance_price_detail_str=None, hide_price_info=None, _configuration=None): # noqa: E501
|
|
44
46
|
"""DescribeDBInstancePriceDetailResponse - a model defined in Swagger""" # noqa: E501
|
|
45
47
|
if _configuration is None:
|
|
46
48
|
_configuration = Configuration()
|
|
47
49
|
self._configuration = _configuration
|
|
48
50
|
|
|
49
51
|
self._describe_db_instance_price_detail_str = None
|
|
52
|
+
self._hide_price_info = None
|
|
50
53
|
self.discriminator = None
|
|
51
54
|
|
|
52
55
|
if describe_db_instance_price_detail_str is not None:
|
|
53
56
|
self.describe_db_instance_price_detail_str = describe_db_instance_price_detail_str
|
|
57
|
+
if hide_price_info is not None:
|
|
58
|
+
self.hide_price_info = hide_price_info
|
|
54
59
|
|
|
55
60
|
@property
|
|
56
61
|
def describe_db_instance_price_detail_str(self):
|
|
@@ -73,6 +78,27 @@ class DescribeDBInstancePriceDetailResponse(object):
|
|
|
73
78
|
|
|
74
79
|
self._describe_db_instance_price_detail_str = describe_db_instance_price_detail_str
|
|
75
80
|
|
|
81
|
+
@property
|
|
82
|
+
def hide_price_info(self):
|
|
83
|
+
"""Gets the hide_price_info of this DescribeDBInstancePriceDetailResponse. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The hide_price_info of this DescribeDBInstancePriceDetailResponse. # noqa: E501
|
|
87
|
+
:rtype: bool
|
|
88
|
+
"""
|
|
89
|
+
return self._hide_price_info
|
|
90
|
+
|
|
91
|
+
@hide_price_info.setter
|
|
92
|
+
def hide_price_info(self, hide_price_info):
|
|
93
|
+
"""Sets the hide_price_info of this DescribeDBInstancePriceDetailResponse.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param hide_price_info: The hide_price_info of this DescribeDBInstancePriceDetailResponse. # noqa: E501
|
|
97
|
+
:type: bool
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
self._hide_price_info = hide_price_info
|
|
101
|
+
|
|
76
102
|
def to_dict(self):
|
|
77
103
|
"""Returns the model properties as a dict"""
|
|
78
104
|
result = {}
|
|
@@ -19,7 +19,7 @@ import six
|
|
|
19
19
|
from volcenginesdkcore.configuration import Configuration
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class DescribeDBInstanceTDERequest(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.
|
|
@@ -41,7 +41,7 @@ class DescribeCrossBackupPolicyRequest(object):
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
def __init__(self, instance_id=None, _configuration=None): # noqa: E501
|
|
44
|
-
"""
|
|
44
|
+
"""DescribeDBInstanceTDERequest - a model defined in Swagger""" # noqa: E501
|
|
45
45
|
if _configuration is None:
|
|
46
46
|
_configuration = Configuration()
|
|
47
47
|
self._configuration = _configuration
|
|
@@ -53,20 +53,20 @@ class DescribeCrossBackupPolicyRequest(object):
|
|
|
53
53
|
|
|
54
54
|
@property
|
|
55
55
|
def instance_id(self):
|
|
56
|
-
"""Gets the instance_id of this
|
|
56
|
+
"""Gets the instance_id of this DescribeDBInstanceTDERequest. # noqa: E501
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
:return: The instance_id of this
|
|
59
|
+
:return: The instance_id of this DescribeDBInstanceTDERequest. # noqa: E501
|
|
60
60
|
:rtype: str
|
|
61
61
|
"""
|
|
62
62
|
return self._instance_id
|
|
63
63
|
|
|
64
64
|
@instance_id.setter
|
|
65
65
|
def instance_id(self, instance_id):
|
|
66
|
-
"""Sets the instance_id of this
|
|
66
|
+
"""Sets the instance_id of this DescribeDBInstanceTDERequest.
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
:param instance_id: The instance_id of this
|
|
69
|
+
:param instance_id: The instance_id of this DescribeDBInstanceTDERequest. # noqa: E501
|
|
70
70
|
:type: str
|
|
71
71
|
"""
|
|
72
72
|
if self._configuration.client_side_validation and instance_id is None:
|
|
@@ -95,7 +95,7 @@ class DescribeCrossBackupPolicyRequest(object):
|
|
|
95
95
|
))
|
|
96
96
|
else:
|
|
97
97
|
result[attr] = value
|
|
98
|
-
if issubclass(
|
|
98
|
+
if issubclass(DescribeDBInstanceTDERequest, dict):
|
|
99
99
|
for key, value in self.items():
|
|
100
100
|
result[key] = value
|
|
101
101
|
|
|
@@ -111,14 +111,14 @@ class DescribeCrossBackupPolicyRequest(object):
|
|
|
111
111
|
|
|
112
112
|
def __eq__(self, other):
|
|
113
113
|
"""Returns true if both objects are equal"""
|
|
114
|
-
if not isinstance(other,
|
|
114
|
+
if not isinstance(other, DescribeDBInstanceTDERequest):
|
|
115
115
|
return False
|
|
116
116
|
|
|
117
117
|
return self.to_dict() == other.to_dict()
|
|
118
118
|
|
|
119
119
|
def __ne__(self, other):
|
|
120
120
|
"""Returns true if both objects are not equal"""
|
|
121
|
-
if not isinstance(other,
|
|
121
|
+
if not isinstance(other, DescribeDBInstanceTDERequest):
|
|
122
122
|
return True
|
|
123
123
|
|
|
124
124
|
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 DescribeDBInstanceTDEResponse(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
|
+
'tde_status': 'str'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
attribute_map = {
|
|
40
|
+
'tde_status': 'TDEStatus'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, tde_status=None, _configuration=None): # noqa: E501
|
|
44
|
+
"""DescribeDBInstanceTDEResponse - a model defined in Swagger""" # noqa: E501
|
|
45
|
+
if _configuration is None:
|
|
46
|
+
_configuration = Configuration()
|
|
47
|
+
self._configuration = _configuration
|
|
48
|
+
|
|
49
|
+
self._tde_status = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
if tde_status is not None:
|
|
53
|
+
self.tde_status = tde_status
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def tde_status(self):
|
|
57
|
+
"""Gets the tde_status of this DescribeDBInstanceTDEResponse. # noqa: E501
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
:return: The tde_status of this DescribeDBInstanceTDEResponse. # noqa: E501
|
|
61
|
+
:rtype: str
|
|
62
|
+
"""
|
|
63
|
+
return self._tde_status
|
|
64
|
+
|
|
65
|
+
@tde_status.setter
|
|
66
|
+
def tde_status(self, tde_status):
|
|
67
|
+
"""Sets the tde_status of this DescribeDBInstanceTDEResponse.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:param tde_status: The tde_status of this DescribeDBInstanceTDEResponse. # noqa: E501
|
|
71
|
+
:type: str
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
self._tde_status = tde_status
|
|
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(DescribeDBInstanceTDEResponse, 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, DescribeDBInstanceTDEResponse):
|
|
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, DescribeDBInstanceTDEResponse):
|
|
121
|
+
return True
|
|
122
|
+
|
|
123
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -39,6 +39,7 @@ class DescribeDBProxyPriceDetailResponse(object):
|
|
|
39
39
|
'describe_db_instance_price_detail_str': 'DescribeDBInstancePriceDetailStrForDescribeDBProxyPriceDetailOutput',
|
|
40
40
|
'describe_db_proxy_price_detail_str': 'DescribeDBProxyPriceDetailStrForDescribeDBProxyPriceDetailOutput',
|
|
41
41
|
'discount_price': 'float',
|
|
42
|
+
'hide_price_info': 'bool',
|
|
42
43
|
'original_price': 'float',
|
|
43
44
|
'payable_price': 'float',
|
|
44
45
|
'quantity': 'int',
|
|
@@ -52,13 +53,14 @@ class DescribeDBProxyPriceDetailResponse(object):
|
|
|
52
53
|
'describe_db_instance_price_detail_str': 'DescribeDBInstancePriceDetailStr',
|
|
53
54
|
'describe_db_proxy_price_detail_str': 'DescribeDBProxyPriceDetailStr',
|
|
54
55
|
'discount_price': 'DiscountPrice',
|
|
56
|
+
'hide_price_info': 'HidePriceInfo',
|
|
55
57
|
'original_price': 'OriginalPrice',
|
|
56
58
|
'payable_price': 'PayablePrice',
|
|
57
59
|
'quantity': 'Quantity',
|
|
58
60
|
'refund_amount': 'RefundAmount'
|
|
59
61
|
}
|
|
60
62
|
|
|
61
|
-
def __init__(self, billing_method=None, charge_item_prices=None, currency=None, describe_db_instance_price_detail_str=None, describe_db_proxy_price_detail_str=None, discount_price=None, original_price=None, payable_price=None, quantity=None, refund_amount=None, _configuration=None): # noqa: E501
|
|
63
|
+
def __init__(self, billing_method=None, charge_item_prices=None, currency=None, describe_db_instance_price_detail_str=None, describe_db_proxy_price_detail_str=None, discount_price=None, hide_price_info=None, original_price=None, payable_price=None, quantity=None, refund_amount=None, _configuration=None): # noqa: E501
|
|
62
64
|
"""DescribeDBProxyPriceDetailResponse - a model defined in Swagger""" # noqa: E501
|
|
63
65
|
if _configuration is None:
|
|
64
66
|
_configuration = Configuration()
|
|
@@ -70,6 +72,7 @@ class DescribeDBProxyPriceDetailResponse(object):
|
|
|
70
72
|
self._describe_db_instance_price_detail_str = None
|
|
71
73
|
self._describe_db_proxy_price_detail_str = None
|
|
72
74
|
self._discount_price = None
|
|
75
|
+
self._hide_price_info = None
|
|
73
76
|
self._original_price = None
|
|
74
77
|
self._payable_price = None
|
|
75
78
|
self._quantity = None
|
|
@@ -88,6 +91,8 @@ class DescribeDBProxyPriceDetailResponse(object):
|
|
|
88
91
|
self.describe_db_proxy_price_detail_str = describe_db_proxy_price_detail_str
|
|
89
92
|
if discount_price is not None:
|
|
90
93
|
self.discount_price = discount_price
|
|
94
|
+
if hide_price_info is not None:
|
|
95
|
+
self.hide_price_info = hide_price_info
|
|
91
96
|
if original_price is not None:
|
|
92
97
|
self.original_price = original_price
|
|
93
98
|
if payable_price is not None:
|
|
@@ -223,6 +228,27 @@ class DescribeDBProxyPriceDetailResponse(object):
|
|
|
223
228
|
|
|
224
229
|
self._discount_price = discount_price
|
|
225
230
|
|
|
231
|
+
@property
|
|
232
|
+
def hide_price_info(self):
|
|
233
|
+
"""Gets the hide_price_info of this DescribeDBProxyPriceDetailResponse. # noqa: E501
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
:return: The hide_price_info of this DescribeDBProxyPriceDetailResponse. # noqa: E501
|
|
237
|
+
:rtype: bool
|
|
238
|
+
"""
|
|
239
|
+
return self._hide_price_info
|
|
240
|
+
|
|
241
|
+
@hide_price_info.setter
|
|
242
|
+
def hide_price_info(self, hide_price_info):
|
|
243
|
+
"""Sets the hide_price_info of this DescribeDBProxyPriceDetailResponse.
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
:param hide_price_info: The hide_price_info of this DescribeDBProxyPriceDetailResponse. # noqa: E501
|
|
247
|
+
:type: bool
|
|
248
|
+
"""
|
|
249
|
+
|
|
250
|
+
self._hide_price_info = hide_price_info
|
|
251
|
+
|
|
226
252
|
@property
|
|
227
253
|
def original_price(self):
|
|
228
254
|
"""Gets the original_price of this DescribeDBProxyPriceDetailResponse. # noqa: E501
|