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
@@ -0,0 +1,149 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ resource_share
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 TagForDescribeResourceSharesOutput(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
+ 'key': 'str',
37
+ 'value': 'str'
38
+ }
39
+
40
+ attribute_map = {
41
+ 'key': 'Key',
42
+ 'value': 'Value'
43
+ }
44
+
45
+ def __init__(self, key=None, value=None, _configuration=None): # noqa: E501
46
+ """TagForDescribeResourceSharesOutput - a model defined in Swagger""" # noqa: E501
47
+ if _configuration is None:
48
+ _configuration = Configuration()
49
+ self._configuration = _configuration
50
+
51
+ self._key = None
52
+ self._value = None
53
+ self.discriminator = None
54
+
55
+ if key is not None:
56
+ self.key = key
57
+ if value is not None:
58
+ self.value = value
59
+
60
+ @property
61
+ def key(self):
62
+ """Gets the key of this TagForDescribeResourceSharesOutput. # noqa: E501
63
+
64
+
65
+ :return: The key of this TagForDescribeResourceSharesOutput. # noqa: E501
66
+ :rtype: str
67
+ """
68
+ return self._key
69
+
70
+ @key.setter
71
+ def key(self, key):
72
+ """Sets the key of this TagForDescribeResourceSharesOutput.
73
+
74
+
75
+ :param key: The key of this TagForDescribeResourceSharesOutput. # noqa: E501
76
+ :type: str
77
+ """
78
+
79
+ self._key = key
80
+
81
+ @property
82
+ def value(self):
83
+ """Gets the value of this TagForDescribeResourceSharesOutput. # noqa: E501
84
+
85
+
86
+ :return: The value of this TagForDescribeResourceSharesOutput. # noqa: E501
87
+ :rtype: str
88
+ """
89
+ return self._value
90
+
91
+ @value.setter
92
+ def value(self, value):
93
+ """Sets the value of this TagForDescribeResourceSharesOutput.
94
+
95
+
96
+ :param value: The value of this TagForDescribeResourceSharesOutput. # noqa: E501
97
+ :type: str
98
+ """
99
+
100
+ self._value = value
101
+
102
+ def to_dict(self):
103
+ """Returns the model properties as a dict"""
104
+ result = {}
105
+
106
+ for attr, _ in six.iteritems(self.swagger_types):
107
+ value = getattr(self, attr)
108
+ if isinstance(value, list):
109
+ result[attr] = list(map(
110
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
111
+ value
112
+ ))
113
+ elif hasattr(value, "to_dict"):
114
+ result[attr] = value.to_dict()
115
+ elif isinstance(value, dict):
116
+ result[attr] = dict(map(
117
+ lambda item: (item[0], item[1].to_dict())
118
+ if hasattr(item[1], "to_dict") else item,
119
+ value.items()
120
+ ))
121
+ else:
122
+ result[attr] = value
123
+ if issubclass(TagForDescribeResourceSharesOutput, dict):
124
+ for key, value in self.items():
125
+ result[key] = value
126
+
127
+ return result
128
+
129
+ def to_str(self):
130
+ """Returns the string representation of the model"""
131
+ return pprint.pformat(self.to_dict())
132
+
133
+ def __repr__(self):
134
+ """For `print` and `pprint`"""
135
+ return self.to_str()
136
+
137
+ def __eq__(self, other):
138
+ """Returns true if both objects are equal"""
139
+ if not isinstance(other, TagForDescribeResourceSharesOutput):
140
+ return False
141
+
142
+ return self.to_dict() == other.to_dict()
143
+
144
+ def __ne__(self, other):
145
+ """Returns true if both objects are not equal"""
146
+ if not isinstance(other, TagForDescribeResourceSharesOutput):
147
+ return True
148
+
149
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,151 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ resource_share
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 TagForTagResourcesInput(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
+ 'key': 'str',
37
+ 'value': 'str'
38
+ }
39
+
40
+ attribute_map = {
41
+ 'key': 'Key',
42
+ 'value': 'Value'
43
+ }
44
+
45
+ def __init__(self, key=None, value=None, _configuration=None): # noqa: E501
46
+ """TagForTagResourcesInput - a model defined in Swagger""" # noqa: E501
47
+ if _configuration is None:
48
+ _configuration = Configuration()
49
+ self._configuration = _configuration
50
+
51
+ self._key = None
52
+ self._value = None
53
+ self.discriminator = None
54
+
55
+ self.key = key
56
+ self.value = value
57
+
58
+ @property
59
+ def key(self):
60
+ """Gets the key of this TagForTagResourcesInput. # noqa: E501
61
+
62
+
63
+ :return: The key of this TagForTagResourcesInput. # noqa: E501
64
+ :rtype: str
65
+ """
66
+ return self._key
67
+
68
+ @key.setter
69
+ def key(self, key):
70
+ """Sets the key of this TagForTagResourcesInput.
71
+
72
+
73
+ :param key: The key of this TagForTagResourcesInput. # noqa: E501
74
+ :type: str
75
+ """
76
+ if self._configuration.client_side_validation and key is None:
77
+ raise ValueError("Invalid value for `key`, must not be `None`") # noqa: E501
78
+
79
+ self._key = key
80
+
81
+ @property
82
+ def value(self):
83
+ """Gets the value of this TagForTagResourcesInput. # noqa: E501
84
+
85
+
86
+ :return: The value of this TagForTagResourcesInput. # noqa: E501
87
+ :rtype: str
88
+ """
89
+ return self._value
90
+
91
+ @value.setter
92
+ def value(self, value):
93
+ """Sets the value of this TagForTagResourcesInput.
94
+
95
+
96
+ :param value: The value of this TagForTagResourcesInput. # noqa: E501
97
+ :type: str
98
+ """
99
+ if self._configuration.client_side_validation and value is None:
100
+ raise ValueError("Invalid value for `value`, must not be `None`") # noqa: E501
101
+
102
+ self._value = value
103
+
104
+ def to_dict(self):
105
+ """Returns the model properties as a dict"""
106
+ result = {}
107
+
108
+ for attr, _ in six.iteritems(self.swagger_types):
109
+ value = getattr(self, attr)
110
+ if isinstance(value, list):
111
+ result[attr] = list(map(
112
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
113
+ value
114
+ ))
115
+ elif hasattr(value, "to_dict"):
116
+ result[attr] = value.to_dict()
117
+ elif isinstance(value, dict):
118
+ result[attr] = dict(map(
119
+ lambda item: (item[0], item[1].to_dict())
120
+ if hasattr(item[1], "to_dict") else item,
121
+ value.items()
122
+ ))
123
+ else:
124
+ result[attr] = value
125
+ if issubclass(TagForTagResourcesInput, dict):
126
+ for key, value in self.items():
127
+ result[key] = value
128
+
129
+ return result
130
+
131
+ def to_str(self):
132
+ """Returns the string representation of the model"""
133
+ return pprint.pformat(self.to_dict())
134
+
135
+ def __repr__(self):
136
+ """For `print` and `pprint`"""
137
+ return self.to_str()
138
+
139
+ def __eq__(self, other):
140
+ """Returns true if both objects are equal"""
141
+ if not isinstance(other, TagForTagResourcesInput):
142
+ return False
143
+
144
+ return self.to_dict() == other.to_dict()
145
+
146
+ def __ne__(self, other):
147
+ """Returns true if both objects are not equal"""
148
+ if not isinstance(other, TagForTagResourcesInput):
149
+ return True
150
+
151
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,176 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ resource_share
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 TagResourcesRequest(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
+ 'resource_ids': 'list[str]',
37
+ 'resource_type': 'str',
38
+ 'tags': 'list[TagForTagResourcesInput]'
39
+ }
40
+
41
+ attribute_map = {
42
+ 'resource_ids': 'ResourceIds',
43
+ 'resource_type': 'ResourceType',
44
+ 'tags': 'Tags'
45
+ }
46
+
47
+ def __init__(self, resource_ids=None, resource_type=None, tags=None, _configuration=None): # noqa: E501
48
+ """TagResourcesRequest - a model defined in Swagger""" # noqa: E501
49
+ if _configuration is None:
50
+ _configuration = Configuration()
51
+ self._configuration = _configuration
52
+
53
+ self._resource_ids = None
54
+ self._resource_type = None
55
+ self._tags = None
56
+ self.discriminator = None
57
+
58
+ if resource_ids is not None:
59
+ self.resource_ids = resource_ids
60
+ self.resource_type = resource_type
61
+ if tags is not None:
62
+ self.tags = tags
63
+
64
+ @property
65
+ def resource_ids(self):
66
+ """Gets the resource_ids of this TagResourcesRequest. # noqa: E501
67
+
68
+
69
+ :return: The resource_ids of this TagResourcesRequest. # noqa: E501
70
+ :rtype: list[str]
71
+ """
72
+ return self._resource_ids
73
+
74
+ @resource_ids.setter
75
+ def resource_ids(self, resource_ids):
76
+ """Sets the resource_ids of this TagResourcesRequest.
77
+
78
+
79
+ :param resource_ids: The resource_ids of this TagResourcesRequest. # noqa: E501
80
+ :type: list[str]
81
+ """
82
+
83
+ self._resource_ids = resource_ids
84
+
85
+ @property
86
+ def resource_type(self):
87
+ """Gets the resource_type of this TagResourcesRequest. # noqa: E501
88
+
89
+
90
+ :return: The resource_type of this TagResourcesRequest. # noqa: E501
91
+ :rtype: str
92
+ """
93
+ return self._resource_type
94
+
95
+ @resource_type.setter
96
+ def resource_type(self, resource_type):
97
+ """Sets the resource_type of this TagResourcesRequest.
98
+
99
+
100
+ :param resource_type: The resource_type of this TagResourcesRequest. # noqa: E501
101
+ :type: str
102
+ """
103
+ if self._configuration.client_side_validation and resource_type is None:
104
+ raise ValueError("Invalid value for `resource_type`, must not be `None`") # noqa: E501
105
+
106
+ self._resource_type = resource_type
107
+
108
+ @property
109
+ def tags(self):
110
+ """Gets the tags of this TagResourcesRequest. # noqa: E501
111
+
112
+
113
+ :return: The tags of this TagResourcesRequest. # noqa: E501
114
+ :rtype: list[TagForTagResourcesInput]
115
+ """
116
+ return self._tags
117
+
118
+ @tags.setter
119
+ def tags(self, tags):
120
+ """Sets the tags of this TagResourcesRequest.
121
+
122
+
123
+ :param tags: The tags of this TagResourcesRequest. # noqa: E501
124
+ :type: list[TagForTagResourcesInput]
125
+ """
126
+
127
+ self._tags = tags
128
+
129
+ def to_dict(self):
130
+ """Returns the model properties as a dict"""
131
+ result = {}
132
+
133
+ for attr, _ in six.iteritems(self.swagger_types):
134
+ value = getattr(self, attr)
135
+ if isinstance(value, list):
136
+ result[attr] = list(map(
137
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
138
+ value
139
+ ))
140
+ elif hasattr(value, "to_dict"):
141
+ result[attr] = value.to_dict()
142
+ elif isinstance(value, dict):
143
+ result[attr] = dict(map(
144
+ lambda item: (item[0], item[1].to_dict())
145
+ if hasattr(item[1], "to_dict") else item,
146
+ value.items()
147
+ ))
148
+ else:
149
+ result[attr] = value
150
+ if issubclass(TagResourcesRequest, dict):
151
+ for key, value in self.items():
152
+ result[key] = value
153
+
154
+ return result
155
+
156
+ def to_str(self):
157
+ """Returns the string representation of the model"""
158
+ return pprint.pformat(self.to_dict())
159
+
160
+ def __repr__(self):
161
+ """For `print` and `pprint`"""
162
+ return self.to_str()
163
+
164
+ def __eq__(self, other):
165
+ """Returns true if both objects are equal"""
166
+ if not isinstance(other, TagResourcesRequest):
167
+ return False
168
+
169
+ return self.to_dict() == other.to_dict()
170
+
171
+ def __ne__(self, other):
172
+ """Returns true if both objects are not equal"""
173
+ if not isinstance(other, TagResourcesRequest):
174
+ return True
175
+
176
+ return self.to_dict() != other.to_dict()
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- rds_mysql_v2
4
+ resource_share
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 UpgradeDBInstanceKernelVersionResponse(object):
22
+ class TagResourcesResponse(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 UpgradeDBInstanceKernelVersionResponse(object):
39
39
  }
40
40
 
41
41
  def __init__(self, _configuration=None): # noqa: E501
42
- """UpgradeDBInstanceKernelVersionResponse - a model defined in Swagger""" # noqa: E501
42
+ """TagResourcesResponse - 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 UpgradeDBInstanceKernelVersionResponse(object):
66
66
  ))
67
67
  else:
68
68
  result[attr] = value
69
- if issubclass(UpgradeDBInstanceKernelVersionResponse, dict):
69
+ if issubclass(TagResourcesResponse, dict):
70
70
  for key, value in self.items():
71
71
  result[key] = value
72
72
 
@@ -82,14 +82,14 @@ class UpgradeDBInstanceKernelVersionResponse(object):
82
82
 
83
83
  def __eq__(self, other):
84
84
  """Returns true if both objects are equal"""
85
- if not isinstance(other, UpgradeDBInstanceKernelVersionResponse):
85
+ if not isinstance(other, TagResourcesResponse):
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, UpgradeDBInstanceKernelVersionResponse):
92
+ if not isinstance(other, TagResourcesResponse):
93
93
  return True
94
94
 
95
95
  return self.to_dict() != other.to_dict()
@@ -0,0 +1,176 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ resource_share
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 UntagResourcesRequest(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
+ 'resource_ids': 'list[str]',
37
+ 'resource_type': 'str',
38
+ 'tag_keys': 'list[str]'
39
+ }
40
+
41
+ attribute_map = {
42
+ 'resource_ids': 'ResourceIds',
43
+ 'resource_type': 'ResourceType',
44
+ 'tag_keys': 'TagKeys'
45
+ }
46
+
47
+ def __init__(self, resource_ids=None, resource_type=None, tag_keys=None, _configuration=None): # noqa: E501
48
+ """UntagResourcesRequest - a model defined in Swagger""" # noqa: E501
49
+ if _configuration is None:
50
+ _configuration = Configuration()
51
+ self._configuration = _configuration
52
+
53
+ self._resource_ids = None
54
+ self._resource_type = None
55
+ self._tag_keys = None
56
+ self.discriminator = None
57
+
58
+ if resource_ids is not None:
59
+ self.resource_ids = resource_ids
60
+ self.resource_type = resource_type
61
+ if tag_keys is not None:
62
+ self.tag_keys = tag_keys
63
+
64
+ @property
65
+ def resource_ids(self):
66
+ """Gets the resource_ids of this UntagResourcesRequest. # noqa: E501
67
+
68
+
69
+ :return: The resource_ids of this UntagResourcesRequest. # noqa: E501
70
+ :rtype: list[str]
71
+ """
72
+ return self._resource_ids
73
+
74
+ @resource_ids.setter
75
+ def resource_ids(self, resource_ids):
76
+ """Sets the resource_ids of this UntagResourcesRequest.
77
+
78
+
79
+ :param resource_ids: The resource_ids of this UntagResourcesRequest. # noqa: E501
80
+ :type: list[str]
81
+ """
82
+
83
+ self._resource_ids = resource_ids
84
+
85
+ @property
86
+ def resource_type(self):
87
+ """Gets the resource_type of this UntagResourcesRequest. # noqa: E501
88
+
89
+
90
+ :return: The resource_type of this UntagResourcesRequest. # noqa: E501
91
+ :rtype: str
92
+ """
93
+ return self._resource_type
94
+
95
+ @resource_type.setter
96
+ def resource_type(self, resource_type):
97
+ """Sets the resource_type of this UntagResourcesRequest.
98
+
99
+
100
+ :param resource_type: The resource_type of this UntagResourcesRequest. # noqa: E501
101
+ :type: str
102
+ """
103
+ if self._configuration.client_side_validation and resource_type is None:
104
+ raise ValueError("Invalid value for `resource_type`, must not be `None`") # noqa: E501
105
+
106
+ self._resource_type = resource_type
107
+
108
+ @property
109
+ def tag_keys(self):
110
+ """Gets the tag_keys of this UntagResourcesRequest. # noqa: E501
111
+
112
+
113
+ :return: The tag_keys of this UntagResourcesRequest. # noqa: E501
114
+ :rtype: list[str]
115
+ """
116
+ return self._tag_keys
117
+
118
+ @tag_keys.setter
119
+ def tag_keys(self, tag_keys):
120
+ """Sets the tag_keys of this UntagResourcesRequest.
121
+
122
+
123
+ :param tag_keys: The tag_keys of this UntagResourcesRequest. # noqa: E501
124
+ :type: list[str]
125
+ """
126
+
127
+ self._tag_keys = tag_keys
128
+
129
+ def to_dict(self):
130
+ """Returns the model properties as a dict"""
131
+ result = {}
132
+
133
+ for attr, _ in six.iteritems(self.swagger_types):
134
+ value = getattr(self, attr)
135
+ if isinstance(value, list):
136
+ result[attr] = list(map(
137
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
138
+ value
139
+ ))
140
+ elif hasattr(value, "to_dict"):
141
+ result[attr] = value.to_dict()
142
+ elif isinstance(value, dict):
143
+ result[attr] = dict(map(
144
+ lambda item: (item[0], item[1].to_dict())
145
+ if hasattr(item[1], "to_dict") else item,
146
+ value.items()
147
+ ))
148
+ else:
149
+ result[attr] = value
150
+ if issubclass(UntagResourcesRequest, dict):
151
+ for key, value in self.items():
152
+ result[key] = value
153
+
154
+ return result
155
+
156
+ def to_str(self):
157
+ """Returns the string representation of the model"""
158
+ return pprint.pformat(self.to_dict())
159
+
160
+ def __repr__(self):
161
+ """For `print` and `pprint`"""
162
+ return self.to_str()
163
+
164
+ def __eq__(self, other):
165
+ """Returns true if both objects are equal"""
166
+ if not isinstance(other, UntagResourcesRequest):
167
+ return False
168
+
169
+ return self.to_dict() == other.to_dict()
170
+
171
+ def __ne__(self, other):
172
+ """Returns true if both objects are not equal"""
173
+ if not isinstance(other, UntagResourcesRequest):
174
+ return True
175
+
176
+ return self.to_dict() != other.to_dict()