volcengine-python-sdk 4.0.22__py2.py3-none-any.whl → 4.0.24__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 (215) hide show
  1. {volcengine_python_sdk-4.0.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/METADATA +1 -1
  2. {volcengine_python_sdk-4.0.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/RECORD +215 -42
  3. {volcengine_python_sdk-4.0.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/top_level.txt +3 -0
  4. volcenginesdkcore/api_client.py +1 -1
  5. volcenginesdkcore/configuration.py +1 -1
  6. volcenginesdkdirectconnect/models/create_direct_connect_gateway_request.py +27 -1
  7. volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_queue_request.py +16 -16
  8. volcenginesdkdirectconnect/models/describe_direct_connect_gateway_attributes_response.py +27 -1
  9. volcenginesdkdirectconnect/models/models.py +192 -192
  10. volcenginesdkdms20250101/__init__.py +85 -0
  11. volcenginesdkdms20250101/api/__init__.py +6 -0
  12. volcenginesdkdms20250101/api/dms20250101_api.py +1974 -0
  13. volcenginesdkdms20250101/models/__init__.py +81 -0
  14. volcenginesdkdms20250101/models/address_access_config_for_create_address_input.py +149 -0
  15. volcenginesdkdms20250101/models/address_access_config_for_get_address_output.py +149 -0
  16. volcenginesdkdms20250101/models/address_access_config_for_list_addresses_output.py +149 -0
  17. volcenginesdkdms20250101/models/create_address_request.py +211 -0
  18. volcenginesdkdms20250101/models/create_address_response.py +149 -0
  19. volcenginesdkdms20250101/models/create_agent_group_request.py +226 -0
  20. volcenginesdkdms20250101/models/create_agent_group_response.py +149 -0
  21. volcenginesdkdms20250101/models/create_agent_request.py +185 -0
  22. volcenginesdkdms20250101/models/create_agent_response.py +149 -0
  23. volcenginesdkdms20250101/models/create_task_request.py +264 -0
  24. volcenginesdkdms20250101/models/create_task_response.py +149 -0
  25. volcenginesdkdms20250101/models/delete_address_request.py +124 -0
  26. volcenginesdkdms20250101/models/delete_address_response.py +149 -0
  27. volcenginesdkdms20250101/models/delete_agent_group_request.py +124 -0
  28. volcenginesdkdms20250101/models/delete_agent_group_response.py +149 -0
  29. volcenginesdkdms20250101/models/delete_agent_request.py +124 -0
  30. volcenginesdkdms20250101/models/delete_agent_response.py +149 -0
  31. volcenginesdkdms20250101/models/delete_task_request.py +124 -0
  32. volcenginesdkdms20250101/models/delete_task_response.py +149 -0
  33. volcenginesdkdms20250101/models/get_address_request.py +124 -0
  34. volcenginesdkdms20250101/models/get_address_response.py +305 -0
  35. volcenginesdkdms20250101/models/get_agent_group_request.py +124 -0
  36. volcenginesdkdms20250101/models/get_agent_group_response.py +305 -0
  37. volcenginesdkdms20250101/models/get_agent_group_status_request.py +124 -0
  38. volcenginesdkdms20250101/models/get_agent_group_status_response.py +149 -0
  39. volcenginesdkdms20250101/models/get_agent_request.py +124 -0
  40. volcenginesdkdms20250101/models/get_agent_response.py +331 -0
  41. volcenginesdkdms20250101/models/get_real_time_statistics_request.py +150 -0
  42. volcenginesdkdms20250101/models/get_real_time_statistics_response.py +487 -0
  43. volcenginesdkdms20250101/models/get_task_request.py +124 -0
  44. volcenginesdkdms20250101/models/get_task_response.py +409 -0
  45. volcenginesdkdms20250101/models/item_list_for_list_addresses_output.py +305 -0
  46. volcenginesdkdms20250101/models/item_list_for_list_agent_groups_output.py +279 -0
  47. volcenginesdkdms20250101/models/item_list_for_list_agents_output.py +331 -0
  48. volcenginesdkdms20250101/models/item_list_for_list_tasks_output.py +409 -0
  49. volcenginesdkdms20250101/models/list_addresses_request.py +203 -0
  50. volcenginesdkdms20250101/models/list_addresses_response.py +175 -0
  51. volcenginesdkdms20250101/models/list_agent_groups_request.py +204 -0
  52. volcenginesdkdms20250101/models/list_agent_groups_response.py +175 -0
  53. volcenginesdkdms20250101/models/list_agents_request.py +204 -0
  54. volcenginesdkdms20250101/models/list_agents_response.py +175 -0
  55. volcenginesdkdms20250101/models/list_config_for_create_task_input.py +227 -0
  56. volcenginesdkdms20250101/models/list_config_for_get_task_output.py +227 -0
  57. volcenginesdkdms20250101/models/list_config_for_list_tasks_output.py +227 -0
  58. volcenginesdkdms20250101/models/list_include_bucket_keys_for_create_task_input.py +201 -0
  59. volcenginesdkdms20250101/models/list_include_bucket_keys_for_get_task_output.py +201 -0
  60. volcenginesdkdms20250101/models/list_include_bucket_keys_for_list_tasks_output.py +201 -0
  61. volcenginesdkdms20250101/models/list_tasks_request.py +204 -0
  62. volcenginesdkdms20250101/models/list_tasks_response.py +175 -0
  63. volcenginesdkdms20250101/models/local_fs_for_create_address_input.py +123 -0
  64. volcenginesdkdms20250101/models/local_fs_for_get_address_output.py +123 -0
  65. volcenginesdkdms20250101/models/local_fs_for_list_addresses_output.py +123 -0
  66. volcenginesdkdms20250101/models/retry_failed_task_request.py +124 -0
  67. volcenginesdkdms20250101/models/retry_failed_task_response.py +149 -0
  68. volcenginesdkdms20250101/models/task_config_for_create_task_input.py +215 -0
  69. volcenginesdkdms20250101/models/task_config_for_get_task_output.py +201 -0
  70. volcenginesdkdms20250101/models/task_config_for_list_tasks_output.py +201 -0
  71. volcenginesdkdms20250101/models/task_context_for_get_task_output.py +149 -0
  72. volcenginesdkdms20250101/models/task_context_for_list_tasks_output.py +149 -0
  73. volcenginesdkdms20250101/models/tos_for_create_address_input.py +201 -0
  74. volcenginesdkdms20250101/models/tos_for_get_address_output.py +201 -0
  75. volcenginesdkdms20250101/models/tos_for_list_addresses_output.py +201 -0
  76. volcenginesdkdms20250101/models/update_task_request.py +183 -0
  77. volcenginesdkdms20250101/models/update_task_response.py +149 -0
  78. volcenginesdkdts20180101/__init__.py +32 -0
  79. volcenginesdkdts20180101/api/__init__.py +6 -0
  80. volcenginesdkdts20180101/api/dts20180101_api.py +422 -0
  81. volcenginesdkdts20180101/models/__init__.py +28 -0
  82. volcenginesdkdts20180101/models/data_for_list_vpc_output.py +149 -0
  83. volcenginesdkdts20180101/models/get_async_pre_check_result_request.py +124 -0
  84. volcenginesdkdts20180101/models/get_async_pre_check_result_response.py +201 -0
  85. volcenginesdkdts20180101/models/list_vpc_request.py +95 -0
  86. volcenginesdkdts20180101/models/list_vpc_response.py +149 -0
  87. volcenginesdkdts20180101/models/list_vpc_subnets_request.py +124 -0
  88. volcenginesdkdts20180101/models/list_vpc_subnets_response.py +149 -0
  89. volcenginesdkdts20180101/models/pre_check_async_request.py +124 -0
  90. volcenginesdkdts20180101/models/pre_check_async_response.py +123 -0
  91. volcenginesdkdts20180101/models/pre_check_for_get_async_pre_check_result_output.py +227 -0
  92. volcenginesdkdts20180101/models/vpc_subnet_info_for_list_vpc_subnets_output.py +149 -0
  93. volcenginesdkna/__init__.py +33 -0
  94. volcenginesdkna/api/__init__.py +6 -0
  95. volcenginesdkna/api/na_api.py +422 -0
  96. volcenginesdkna/models/__init__.py +29 -0
  97. volcenginesdkna/models/create_diagnosis_instance_request.py +178 -0
  98. volcenginesdkna/models/create_diagnosis_instance_response.py +149 -0
  99. volcenginesdkna/models/describe_diagnosis_instance_detail_request.py +124 -0
  100. volcenginesdkna/models/describe_diagnosis_instance_detail_response.py +383 -0
  101. volcenginesdkna/models/describe_diagnosis_instances_request.py +149 -0
  102. volcenginesdkna/models/describe_diagnosis_instances_response.py +227 -0
  103. volcenginesdkna/models/describe_history_diagnosis_request.py +124 -0
  104. volcenginesdkna/models/describe_history_diagnosis_response.py +123 -0
  105. volcenginesdkna/models/diagnosis_category_item_for_describe_diagnosis_instance_detail_output.py +149 -0
  106. volcenginesdkna/models/diagnosis_instance_for_describe_diagnosis_instances_output.py +357 -0
  107. volcenginesdkna/models/diagnosis_item_for_describe_diagnosis_instance_detail_output.py +201 -0
  108. volcenginesdkna/models/history_diagnosis_for_describe_history_diagnosis_output.py +175 -0
  109. volcenginesdkredis/__init__.py +2 -0
  110. volcenginesdkredis/api/redis_api.py +97 -0
  111. volcenginesdkredis/models/__init__.py +2 -0
  112. volcenginesdkredis/models/instance_for_describe_db_instances_output.py +27 -1
  113. volcenginesdkredis/models/modify_db_instance_private_dns_visibility_request.py +177 -0
  114. volcenginesdkredis/models/modify_db_instance_private_dns_visibility_response.py +95 -0
  115. volcenginesdkredis/models/visit_addr_for_describe_db_instance_detail_output.py +29 -3
  116. volcenginesdkvefaas/models/create_function_request.py +53 -1
  117. volcenginesdkvefaas/models/create_function_response.py +53 -1
  118. volcenginesdkvefaas/models/get_function_response.py +53 -1
  119. volcenginesdkvefaas/models/item_for_list_functions_output.py +27 -1
  120. volcenginesdkvefaas/models/update_function_request.py +53 -1
  121. volcenginesdkvefaas/models/update_function_response.py +27 -1
  122. volcenginesdkvmp/__init__.py +72 -0
  123. volcenginesdkvmp/api/vmp_api.py +1339 -78
  124. volcenginesdkvmp/models/__init__.py +72 -0
  125. volcenginesdkvmp/models/cal_charge_item_list_for_get_workspace_output.py +149 -0
  126. volcenginesdkvmp/models/cal_charge_item_list_for_list_workspace_instance_types_output.py +149 -0
  127. volcenginesdkvmp/models/calculate_price_param_for_get_workspace_output.py +175 -0
  128. volcenginesdkvmp/models/calculate_price_param_for_list_workspace_instance_types_output.py +175 -0
  129. volcenginesdkvmp/models/conditions_for_list_integration_tasks_output.py +175 -0
  130. volcenginesdkvmp/models/create_alerting_rule_request.py +53 -1
  131. volcenginesdkvmp/models/create_integration_task_request.py +334 -0
  132. volcenginesdkvmp/models/create_integration_task_response.py +123 -0
  133. volcenginesdkvmp/models/create_rule_file_request.py +27 -1
  134. volcenginesdkvmp/models/create_silence_policy_request.py +202 -0
  135. volcenginesdkvmp/models/create_silence_policy_response.py +123 -0
  136. volcenginesdkvmp/models/create_workspace_request.py +27 -1
  137. volcenginesdkvmp/models/data_for_delete_silence_policies_output.py +95 -0
  138. volcenginesdkvmp/models/data_for_disable_integration_tasks_output.py +95 -0
  139. volcenginesdkvmp/models/data_for_disable_silence_policies_output.py +95 -0
  140. volcenginesdkvmp/models/data_for_enable_integration_tasks_output.py +95 -0
  141. volcenginesdkvmp/models/data_for_enable_silence_policies_output.py +95 -0
  142. volcenginesdkvmp/models/delete_integration_task_request.py +124 -0
  143. volcenginesdkvmp/models/delete_integration_task_response.py +123 -0
  144. volcenginesdkvmp/models/delete_silence_policies_request.py +123 -0
  145. volcenginesdkvmp/models/delete_silence_policies_response.py +149 -0
  146. volcenginesdkvmp/models/disable_integration_tasks_request.py +123 -0
  147. volcenginesdkvmp/models/disable_integration_tasks_response.py +149 -0
  148. volcenginesdkvmp/models/disable_silence_policies_request.py +123 -0
  149. volcenginesdkvmp/models/disable_silence_policies_response.py +149 -0
  150. volcenginesdkvmp/models/enable_integration_tasks_request.py +123 -0
  151. volcenginesdkvmp/models/enable_integration_tasks_response.py +149 -0
  152. volcenginesdkvmp/models/enable_silence_policies_request.py +123 -0
  153. volcenginesdkvmp/models/enable_silence_policies_response.py +149 -0
  154. volcenginesdkvmp/models/error_for_delete_silence_policies_output.py +175 -0
  155. volcenginesdkvmp/models/error_for_disable_integration_tasks_output.py +175 -0
  156. volcenginesdkvmp/models/error_for_disable_silence_policies_output.py +175 -0
  157. volcenginesdkvmp/models/error_for_enable_integration_tasks_output.py +175 -0
  158. volcenginesdkvmp/models/error_for_enable_silence_policies_output.py +175 -0
  159. volcenginesdkvmp/models/filter_for_list_silence_policies_input.py +201 -0
  160. volcenginesdkvmp/models/filters_for_list_integration_tasks_input.py +279 -0
  161. volcenginesdkvmp/models/get_alerting_rule_response.py +53 -1
  162. volcenginesdkvmp/models/get_integration_task_request.py +124 -0
  163. volcenginesdkvmp/models/get_integration_task_response.py +409 -0
  164. volcenginesdkvmp/models/get_rule_file_response.py +29 -3
  165. volcenginesdkvmp/models/get_workspace_response.py +105 -1
  166. volcenginesdkvmp/models/instance_type_for_get_workspace_output.py +27 -1
  167. volcenginesdkvmp/models/item_for_list_alerting_rules_output.py +53 -1
  168. volcenginesdkvmp/models/item_for_list_integration_tasks_output.py +409 -0
  169. volcenginesdkvmp/models/item_for_list_rule_files_output.py +29 -3
  170. volcenginesdkvmp/models/item_for_list_silence_policies_output.py +357 -0
  171. volcenginesdkvmp/models/item_for_list_workspace_instance_types_output.py +27 -1
  172. volcenginesdkvmp/models/item_for_list_workspaces_output.py +131 -1
  173. volcenginesdkvmp/models/list_alerting_rules_request.py +55 -3
  174. volcenginesdkvmp/models/list_integration_tasks_request.py +227 -0
  175. volcenginesdkvmp/models/list_integration_tasks_response.py +149 -0
  176. volcenginesdkvmp/models/list_silence_policies_request.py +227 -0
  177. volcenginesdkvmp/models/list_silence_policies_response.py +149 -0
  178. volcenginesdkvmp/models/matcher_for_create_silence_policy_input.py +175 -0
  179. volcenginesdkvmp/models/matcher_for_list_silence_policies_output.py +175 -0
  180. volcenginesdkvmp/models/matcher_for_update_silence_policy_input.py +175 -0
  181. volcenginesdkvmp/models/metric_label_matcher_for_create_silence_policy_input.py +123 -0
  182. volcenginesdkvmp/models/metric_label_matcher_for_list_silence_policies_output.py +123 -0
  183. volcenginesdkvmp/models/metric_label_matcher_for_update_silence_policy_input.py +123 -0
  184. volcenginesdkvmp/models/periodic_date_for_create_silence_policy_input.py +175 -0
  185. volcenginesdkvmp/models/periodic_date_for_list_silence_policies_output.py +175 -0
  186. volcenginesdkvmp/models/periodic_date_for_update_silence_policy_input.py +175 -0
  187. volcenginesdkvmp/models/quota_for_get_workspace_output.py +53 -1
  188. volcenginesdkvmp/models/quota_for_update_workspace_input.py +53 -1
  189. volcenginesdkvmp/models/tag_filter_for_list_alerting_rules_input.py +149 -0
  190. volcenginesdkvmp/models/tag_filter_for_list_integration_tasks_input.py +149 -0
  191. volcenginesdkvmp/models/tag_for_create_alerting_rule_input.py +149 -0
  192. volcenginesdkvmp/models/tag_for_create_integration_task_input.py +149 -0
  193. volcenginesdkvmp/models/tag_for_get_alerting_rule_output.py +149 -0
  194. volcenginesdkvmp/models/tag_for_get_integration_task_output.py +149 -0
  195. volcenginesdkvmp/models/tag_for_list_alerting_rules_output.py +149 -0
  196. volcenginesdkvmp/models/tag_for_list_integration_tasks_output.py +149 -0
  197. volcenginesdkvmp/models/time_range_matcher_for_create_silence_policy_input.py +175 -0
  198. volcenginesdkvmp/models/time_range_matcher_for_list_silence_policies_output.py +175 -0
  199. volcenginesdkvmp/models/time_range_matcher_for_update_silence_policy_input.py +175 -0
  200. volcenginesdkvmp/models/unsuccessful_item_for_delete_silence_policies_output.py +149 -0
  201. volcenginesdkvmp/models/unsuccessful_item_for_disable_integration_tasks_output.py +149 -0
  202. volcenginesdkvmp/models/unsuccessful_item_for_disable_silence_policies_output.py +149 -0
  203. volcenginesdkvmp/models/unsuccessful_item_for_enable_integration_tasks_output.py +149 -0
  204. volcenginesdkvmp/models/unsuccessful_item_for_enable_silence_policies_output.py +149 -0
  205. volcenginesdkvmp/models/update_integration_task_request.py +202 -0
  206. volcenginesdkvmp/models/update_integration_task_response.py +123 -0
  207. volcenginesdkvmp/models/update_rule_file_request.py +27 -1
  208. volcenginesdkvmp/models/update_silence_policy_request.py +228 -0
  209. volcenginesdkvmp/models/update_silence_policy_response.py +123 -0
  210. volcenginesdkvmp/models/update_workspace_request.py +131 -1
  211. volcenginesdkvmp/models/vke_cluster_info_for_get_integration_task_output.py +149 -0
  212. volcenginesdkvmp/models/vke_cluster_info_for_list_integration_tasks_output.py +149 -0
  213. {volcengine_python_sdk-4.0.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/WHEEL +0 -0
  214. {volcengine_python_sdk-4.0.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/licenses/LICENSE.txt +0 -0
  215. {volcengine_python_sdk-4.0.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/licenses/NOTICE.md +0 -0
@@ -0,0 +1,201 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ dms20250101
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 TosForGetAddressOutput(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
+ 'ak': 'str',
37
+ 'bucket': 'str',
38
+ 'region': 'str',
39
+ 'sk': 'str'
40
+ }
41
+
42
+ attribute_map = {
43
+ 'ak': 'Ak',
44
+ 'bucket': 'Bucket',
45
+ 'region': 'Region',
46
+ 'sk': 'Sk'
47
+ }
48
+
49
+ def __init__(self, ak=None, bucket=None, region=None, sk=None, _configuration=None): # noqa: E501
50
+ """TosForGetAddressOutput - a model defined in Swagger""" # noqa: E501
51
+ if _configuration is None:
52
+ _configuration = Configuration()
53
+ self._configuration = _configuration
54
+
55
+ self._ak = None
56
+ self._bucket = None
57
+ self._region = None
58
+ self._sk = None
59
+ self.discriminator = None
60
+
61
+ if ak is not None:
62
+ self.ak = ak
63
+ if bucket is not None:
64
+ self.bucket = bucket
65
+ if region is not None:
66
+ self.region = region
67
+ if sk is not None:
68
+ self.sk = sk
69
+
70
+ @property
71
+ def ak(self):
72
+ """Gets the ak of this TosForGetAddressOutput. # noqa: E501
73
+
74
+
75
+ :return: The ak of this TosForGetAddressOutput. # noqa: E501
76
+ :rtype: str
77
+ """
78
+ return self._ak
79
+
80
+ @ak.setter
81
+ def ak(self, ak):
82
+ """Sets the ak of this TosForGetAddressOutput.
83
+
84
+
85
+ :param ak: The ak of this TosForGetAddressOutput. # noqa: E501
86
+ :type: str
87
+ """
88
+
89
+ self._ak = ak
90
+
91
+ @property
92
+ def bucket(self):
93
+ """Gets the bucket of this TosForGetAddressOutput. # noqa: E501
94
+
95
+
96
+ :return: The bucket of this TosForGetAddressOutput. # noqa: E501
97
+ :rtype: str
98
+ """
99
+ return self._bucket
100
+
101
+ @bucket.setter
102
+ def bucket(self, bucket):
103
+ """Sets the bucket of this TosForGetAddressOutput.
104
+
105
+
106
+ :param bucket: The bucket of this TosForGetAddressOutput. # noqa: E501
107
+ :type: str
108
+ """
109
+
110
+ self._bucket = bucket
111
+
112
+ @property
113
+ def region(self):
114
+ """Gets the region of this TosForGetAddressOutput. # noqa: E501
115
+
116
+
117
+ :return: The region of this TosForGetAddressOutput. # noqa: E501
118
+ :rtype: str
119
+ """
120
+ return self._region
121
+
122
+ @region.setter
123
+ def region(self, region):
124
+ """Sets the region of this TosForGetAddressOutput.
125
+
126
+
127
+ :param region: The region of this TosForGetAddressOutput. # noqa: E501
128
+ :type: str
129
+ """
130
+
131
+ self._region = region
132
+
133
+ @property
134
+ def sk(self):
135
+ """Gets the sk of this TosForGetAddressOutput. # noqa: E501
136
+
137
+
138
+ :return: The sk of this TosForGetAddressOutput. # noqa: E501
139
+ :rtype: str
140
+ """
141
+ return self._sk
142
+
143
+ @sk.setter
144
+ def sk(self, sk):
145
+ """Sets the sk of this TosForGetAddressOutput.
146
+
147
+
148
+ :param sk: The sk of this TosForGetAddressOutput. # noqa: E501
149
+ :type: str
150
+ """
151
+
152
+ self._sk = sk
153
+
154
+ def to_dict(self):
155
+ """Returns the model properties as a dict"""
156
+ result = {}
157
+
158
+ for attr, _ in six.iteritems(self.swagger_types):
159
+ value = getattr(self, attr)
160
+ if isinstance(value, list):
161
+ result[attr] = list(map(
162
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
163
+ value
164
+ ))
165
+ elif hasattr(value, "to_dict"):
166
+ result[attr] = value.to_dict()
167
+ elif isinstance(value, dict):
168
+ result[attr] = dict(map(
169
+ lambda item: (item[0], item[1].to_dict())
170
+ if hasattr(item[1], "to_dict") else item,
171
+ value.items()
172
+ ))
173
+ else:
174
+ result[attr] = value
175
+ if issubclass(TosForGetAddressOutput, dict):
176
+ for key, value in self.items():
177
+ result[key] = value
178
+
179
+ return result
180
+
181
+ def to_str(self):
182
+ """Returns the string representation of the model"""
183
+ return pprint.pformat(self.to_dict())
184
+
185
+ def __repr__(self):
186
+ """For `print` and `pprint`"""
187
+ return self.to_str()
188
+
189
+ def __eq__(self, other):
190
+ """Returns true if both objects are equal"""
191
+ if not isinstance(other, TosForGetAddressOutput):
192
+ return False
193
+
194
+ return self.to_dict() == other.to_dict()
195
+
196
+ def __ne__(self, other):
197
+ """Returns true if both objects are not equal"""
198
+ if not isinstance(other, TosForGetAddressOutput):
199
+ return True
200
+
201
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,201 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ dms20250101
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 TosForListAddressesOutput(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
+ 'ak': 'str',
37
+ 'bucket': 'str',
38
+ 'region': 'str',
39
+ 'sk': 'str'
40
+ }
41
+
42
+ attribute_map = {
43
+ 'ak': 'Ak',
44
+ 'bucket': 'Bucket',
45
+ 'region': 'Region',
46
+ 'sk': 'Sk'
47
+ }
48
+
49
+ def __init__(self, ak=None, bucket=None, region=None, sk=None, _configuration=None): # noqa: E501
50
+ """TosForListAddressesOutput - a model defined in Swagger""" # noqa: E501
51
+ if _configuration is None:
52
+ _configuration = Configuration()
53
+ self._configuration = _configuration
54
+
55
+ self._ak = None
56
+ self._bucket = None
57
+ self._region = None
58
+ self._sk = None
59
+ self.discriminator = None
60
+
61
+ if ak is not None:
62
+ self.ak = ak
63
+ if bucket is not None:
64
+ self.bucket = bucket
65
+ if region is not None:
66
+ self.region = region
67
+ if sk is not None:
68
+ self.sk = sk
69
+
70
+ @property
71
+ def ak(self):
72
+ """Gets the ak of this TosForListAddressesOutput. # noqa: E501
73
+
74
+
75
+ :return: The ak of this TosForListAddressesOutput. # noqa: E501
76
+ :rtype: str
77
+ """
78
+ return self._ak
79
+
80
+ @ak.setter
81
+ def ak(self, ak):
82
+ """Sets the ak of this TosForListAddressesOutput.
83
+
84
+
85
+ :param ak: The ak of this TosForListAddressesOutput. # noqa: E501
86
+ :type: str
87
+ """
88
+
89
+ self._ak = ak
90
+
91
+ @property
92
+ def bucket(self):
93
+ """Gets the bucket of this TosForListAddressesOutput. # noqa: E501
94
+
95
+
96
+ :return: The bucket of this TosForListAddressesOutput. # noqa: E501
97
+ :rtype: str
98
+ """
99
+ return self._bucket
100
+
101
+ @bucket.setter
102
+ def bucket(self, bucket):
103
+ """Sets the bucket of this TosForListAddressesOutput.
104
+
105
+
106
+ :param bucket: The bucket of this TosForListAddressesOutput. # noqa: E501
107
+ :type: str
108
+ """
109
+
110
+ self._bucket = bucket
111
+
112
+ @property
113
+ def region(self):
114
+ """Gets the region of this TosForListAddressesOutput. # noqa: E501
115
+
116
+
117
+ :return: The region of this TosForListAddressesOutput. # noqa: E501
118
+ :rtype: str
119
+ """
120
+ return self._region
121
+
122
+ @region.setter
123
+ def region(self, region):
124
+ """Sets the region of this TosForListAddressesOutput.
125
+
126
+
127
+ :param region: The region of this TosForListAddressesOutput. # noqa: E501
128
+ :type: str
129
+ """
130
+
131
+ self._region = region
132
+
133
+ @property
134
+ def sk(self):
135
+ """Gets the sk of this TosForListAddressesOutput. # noqa: E501
136
+
137
+
138
+ :return: The sk of this TosForListAddressesOutput. # noqa: E501
139
+ :rtype: str
140
+ """
141
+ return self._sk
142
+
143
+ @sk.setter
144
+ def sk(self, sk):
145
+ """Sets the sk of this TosForListAddressesOutput.
146
+
147
+
148
+ :param sk: The sk of this TosForListAddressesOutput. # noqa: E501
149
+ :type: str
150
+ """
151
+
152
+ self._sk = sk
153
+
154
+ def to_dict(self):
155
+ """Returns the model properties as a dict"""
156
+ result = {}
157
+
158
+ for attr, _ in six.iteritems(self.swagger_types):
159
+ value = getattr(self, attr)
160
+ if isinstance(value, list):
161
+ result[attr] = list(map(
162
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
163
+ value
164
+ ))
165
+ elif hasattr(value, "to_dict"):
166
+ result[attr] = value.to_dict()
167
+ elif isinstance(value, dict):
168
+ result[attr] = dict(map(
169
+ lambda item: (item[0], item[1].to_dict())
170
+ if hasattr(item[1], "to_dict") else item,
171
+ value.items()
172
+ ))
173
+ else:
174
+ result[attr] = value
175
+ if issubclass(TosForListAddressesOutput, dict):
176
+ for key, value in self.items():
177
+ result[key] = value
178
+
179
+ return result
180
+
181
+ def to_str(self):
182
+ """Returns the string representation of the model"""
183
+ return pprint.pformat(self.to_dict())
184
+
185
+ def __repr__(self):
186
+ """For `print` and `pprint`"""
187
+ return self.to_str()
188
+
189
+ def __eq__(self, other):
190
+ """Returns true if both objects are equal"""
191
+ if not isinstance(other, TosForListAddressesOutput):
192
+ return False
193
+
194
+ return self.to_dict() == other.to_dict()
195
+
196
+ def __ne__(self, other):
197
+ """Returns true if both objects are not equal"""
198
+ if not isinstance(other, TosForListAddressesOutput):
199
+ return True
200
+
201
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,183 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ dms20250101
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 UpdateTaskRequest(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
+ 'agent_group_id': 'str',
37
+ 'id': 'str',
38
+ 'task_status': 'str'
39
+ }
40
+
41
+ attribute_map = {
42
+ 'agent_group_id': 'AgentGroupId',
43
+ 'id': 'Id',
44
+ 'task_status': 'TaskStatus'
45
+ }
46
+
47
+ def __init__(self, agent_group_id=None, id=None, task_status=None, _configuration=None): # noqa: E501
48
+ """UpdateTaskRequest - a model defined in Swagger""" # noqa: E501
49
+ if _configuration is None:
50
+ _configuration = Configuration()
51
+ self._configuration = _configuration
52
+
53
+ self._agent_group_id = None
54
+ self._id = None
55
+ self._task_status = None
56
+ self.discriminator = None
57
+
58
+ if agent_group_id is not None:
59
+ self.agent_group_id = agent_group_id
60
+ self.id = id
61
+ if task_status is not None:
62
+ self.task_status = task_status
63
+
64
+ @property
65
+ def agent_group_id(self):
66
+ """Gets the agent_group_id of this UpdateTaskRequest. # noqa: E501
67
+
68
+
69
+ :return: The agent_group_id of this UpdateTaskRequest. # noqa: E501
70
+ :rtype: str
71
+ """
72
+ return self._agent_group_id
73
+
74
+ @agent_group_id.setter
75
+ def agent_group_id(self, agent_group_id):
76
+ """Sets the agent_group_id of this UpdateTaskRequest.
77
+
78
+
79
+ :param agent_group_id: The agent_group_id of this UpdateTaskRequest. # noqa: E501
80
+ :type: str
81
+ """
82
+
83
+ self._agent_group_id = agent_group_id
84
+
85
+ @property
86
+ def id(self):
87
+ """Gets the id of this UpdateTaskRequest. # noqa: E501
88
+
89
+
90
+ :return: The id of this UpdateTaskRequest. # noqa: E501
91
+ :rtype: str
92
+ """
93
+ return self._id
94
+
95
+ @id.setter
96
+ def id(self, id):
97
+ """Sets the id of this UpdateTaskRequest.
98
+
99
+
100
+ :param id: The id of this UpdateTaskRequest. # noqa: E501
101
+ :type: str
102
+ """
103
+ if self._configuration.client_side_validation and id is None:
104
+ raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
105
+
106
+ self._id = id
107
+
108
+ @property
109
+ def task_status(self):
110
+ """Gets the task_status of this UpdateTaskRequest. # noqa: E501
111
+
112
+
113
+ :return: The task_status of this UpdateTaskRequest. # noqa: E501
114
+ :rtype: str
115
+ """
116
+ return self._task_status
117
+
118
+ @task_status.setter
119
+ def task_status(self, task_status):
120
+ """Sets the task_status of this UpdateTaskRequest.
121
+
122
+
123
+ :param task_status: The task_status of this UpdateTaskRequest. # noqa: E501
124
+ :type: str
125
+ """
126
+ allowed_values = ["Queueing", "Preparing", "Transferring", "Verifying", "Finished", "Stopping", "Stopped", "Failing", "Failed"] # noqa: E501
127
+ if (self._configuration.client_side_validation and
128
+ task_status not in allowed_values):
129
+ raise ValueError(
130
+ "Invalid value for `task_status` ({0}), must be one of {1}" # noqa: E501
131
+ .format(task_status, allowed_values)
132
+ )
133
+
134
+ self._task_status = task_status
135
+
136
+ def to_dict(self):
137
+ """Returns the model properties as a dict"""
138
+ result = {}
139
+
140
+ for attr, _ in six.iteritems(self.swagger_types):
141
+ value = getattr(self, attr)
142
+ if isinstance(value, list):
143
+ result[attr] = list(map(
144
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
145
+ value
146
+ ))
147
+ elif hasattr(value, "to_dict"):
148
+ result[attr] = value.to_dict()
149
+ elif isinstance(value, dict):
150
+ result[attr] = dict(map(
151
+ lambda item: (item[0], item[1].to_dict())
152
+ if hasattr(item[1], "to_dict") else item,
153
+ value.items()
154
+ ))
155
+ else:
156
+ result[attr] = value
157
+ if issubclass(UpdateTaskRequest, dict):
158
+ for key, value in self.items():
159
+ result[key] = value
160
+
161
+ return result
162
+
163
+ def to_str(self):
164
+ """Returns the string representation of the model"""
165
+ return pprint.pformat(self.to_dict())
166
+
167
+ def __repr__(self):
168
+ """For `print` and `pprint`"""
169
+ return self.to_str()
170
+
171
+ def __eq__(self, other):
172
+ """Returns true if both objects are equal"""
173
+ if not isinstance(other, UpdateTaskRequest):
174
+ return False
175
+
176
+ return self.to_dict() == other.to_dict()
177
+
178
+ def __ne__(self, other):
179
+ """Returns true if both objects are not equal"""
180
+ if not isinstance(other, UpdateTaskRequest):
181
+ return True
182
+
183
+ return self.to_dict() != other.to_dict()