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
@@ -43,8 +43,10 @@ class GetAlertingRuleResponse(object):
43
43
  'name': 'str',
44
44
  'notify_group_policy_id': 'str',
45
45
  'notify_policy_id': 'str',
46
+ 'project_name': 'str',
46
47
  'query': 'QueryForGetAlertingRuleOutput',
47
48
  'status': 'str',
49
+ 'tags': 'list[TagForGetAlertingRuleOutput]',
48
50
  'type': 'str',
49
51
  'update_time': 'str'
50
52
  }
@@ -60,13 +62,15 @@ class GetAlertingRuleResponse(object):
60
62
  'name': 'Name',
61
63
  'notify_group_policy_id': 'NotifyGroupPolicyId',
62
64
  'notify_policy_id': 'NotifyPolicyId',
65
+ 'project_name': 'ProjectName',
63
66
  'query': 'Query',
64
67
  'status': 'Status',
68
+ 'tags': 'Tags',
65
69
  'type': 'Type',
66
70
  'update_time': 'UpdateTime'
67
71
  }
68
72
 
69
- def __init__(self, annotations=None, create_time=None, description=None, group_id=None, id=None, labels=None, levels=None, name=None, notify_group_policy_id=None, notify_policy_id=None, query=None, status=None, type=None, update_time=None, _configuration=None): # noqa: E501
73
+ def __init__(self, annotations=None, create_time=None, description=None, group_id=None, id=None, labels=None, levels=None, name=None, notify_group_policy_id=None, notify_policy_id=None, project_name=None, query=None, status=None, tags=None, type=None, update_time=None, _configuration=None): # noqa: E501
70
74
  """GetAlertingRuleResponse - a model defined in Swagger""" # noqa: E501
71
75
  if _configuration is None:
72
76
  _configuration = Configuration()
@@ -82,8 +86,10 @@ class GetAlertingRuleResponse(object):
82
86
  self._name = None
83
87
  self._notify_group_policy_id = None
84
88
  self._notify_policy_id = None
89
+ self._project_name = None
85
90
  self._query = None
86
91
  self._status = None
92
+ self._tags = None
87
93
  self._type = None
88
94
  self._update_time = None
89
95
  self.discriminator = None
@@ -108,10 +114,14 @@ class GetAlertingRuleResponse(object):
108
114
  self.notify_group_policy_id = notify_group_policy_id
109
115
  if notify_policy_id is not None:
110
116
  self.notify_policy_id = notify_policy_id
117
+ if project_name is not None:
118
+ self.project_name = project_name
111
119
  if query is not None:
112
120
  self.query = query
113
121
  if status is not None:
114
122
  self.status = status
123
+ if tags is not None:
124
+ self.tags = tags
115
125
  if type is not None:
116
126
  self.type = type
117
127
  if update_time is not None:
@@ -327,6 +337,27 @@ class GetAlertingRuleResponse(object):
327
337
 
328
338
  self._notify_policy_id = notify_policy_id
329
339
 
340
+ @property
341
+ def project_name(self):
342
+ """Gets the project_name of this GetAlertingRuleResponse. # noqa: E501
343
+
344
+
345
+ :return: The project_name of this GetAlertingRuleResponse. # noqa: E501
346
+ :rtype: str
347
+ """
348
+ return self._project_name
349
+
350
+ @project_name.setter
351
+ def project_name(self, project_name):
352
+ """Sets the project_name of this GetAlertingRuleResponse.
353
+
354
+
355
+ :param project_name: The project_name of this GetAlertingRuleResponse. # noqa: E501
356
+ :type: str
357
+ """
358
+
359
+ self._project_name = project_name
360
+
330
361
  @property
331
362
  def query(self):
332
363
  """Gets the query of this GetAlertingRuleResponse. # noqa: E501
@@ -369,6 +400,27 @@ class GetAlertingRuleResponse(object):
369
400
 
370
401
  self._status = status
371
402
 
403
+ @property
404
+ def tags(self):
405
+ """Gets the tags of this GetAlertingRuleResponse. # noqa: E501
406
+
407
+
408
+ :return: The tags of this GetAlertingRuleResponse. # noqa: E501
409
+ :rtype: list[TagForGetAlertingRuleOutput]
410
+ """
411
+ return self._tags
412
+
413
+ @tags.setter
414
+ def tags(self, tags):
415
+ """Sets the tags of this GetAlertingRuleResponse.
416
+
417
+
418
+ :param tags: The tags of this GetAlertingRuleResponse. # noqa: E501
419
+ :type: list[TagForGetAlertingRuleOutput]
420
+ """
421
+
422
+ self._tags = tags
423
+
372
424
  @property
373
425
  def type(self):
374
426
  """Gets the type of this GetAlertingRuleResponse. # noqa: E501
@@ -0,0 +1,124 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ vmp
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 GetIntegrationTaskRequest(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
+ 'id': 'str'
37
+ }
38
+
39
+ attribute_map = {
40
+ 'id': 'Id'
41
+ }
42
+
43
+ def __init__(self, id=None, _configuration=None): # noqa: E501
44
+ """GetIntegrationTaskRequest - a model defined in Swagger""" # noqa: E501
45
+ if _configuration is None:
46
+ _configuration = Configuration()
47
+ self._configuration = _configuration
48
+
49
+ self._id = None
50
+ self.discriminator = None
51
+
52
+ self.id = id
53
+
54
+ @property
55
+ def id(self):
56
+ """Gets the id of this GetIntegrationTaskRequest. # noqa: E501
57
+
58
+
59
+ :return: The id of this GetIntegrationTaskRequest. # noqa: E501
60
+ :rtype: str
61
+ """
62
+ return self._id
63
+
64
+ @id.setter
65
+ def id(self, id):
66
+ """Sets the id of this GetIntegrationTaskRequest.
67
+
68
+
69
+ :param id: The id of this GetIntegrationTaskRequest. # noqa: E501
70
+ :type: str
71
+ """
72
+ if self._configuration.client_side_validation and id is None:
73
+ raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
74
+
75
+ self._id = 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(GetIntegrationTaskRequest, 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, GetIntegrationTaskRequest):
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, GetIntegrationTaskRequest):
122
+ return True
123
+
124
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,409 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ vmp
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 GetIntegrationTaskResponse(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
+ 'environment': 'str',
37
+ 'id': 'str',
38
+ 'name': 'str',
39
+ 'params': 'str',
40
+ 'project_name': 'str',
41
+ 'status': 'str',
42
+ 'sub_type': 'str',
43
+ 'tags': 'list[TagForGetIntegrationTaskOutput]',
44
+ 'type': 'str',
45
+ 'vke_cluster_id': 'str',
46
+ 'vke_cluster_info': 'VkeClusterInfoForGetIntegrationTaskOutput',
47
+ 'workspace_id': 'str'
48
+ }
49
+
50
+ attribute_map = {
51
+ 'environment': 'Environment',
52
+ 'id': 'Id',
53
+ 'name': 'Name',
54
+ 'params': 'Params',
55
+ 'project_name': 'ProjectName',
56
+ 'status': 'Status',
57
+ 'sub_type': 'SubType',
58
+ 'tags': 'Tags',
59
+ 'type': 'Type',
60
+ 'vke_cluster_id': 'VkeClusterId',
61
+ 'vke_cluster_info': 'VkeClusterInfo',
62
+ 'workspace_id': 'WorkspaceId'
63
+ }
64
+
65
+ def __init__(self, environment=None, id=None, name=None, params=None, project_name=None, status=None, sub_type=None, tags=None, type=None, vke_cluster_id=None, vke_cluster_info=None, workspace_id=None, _configuration=None): # noqa: E501
66
+ """GetIntegrationTaskResponse - a model defined in Swagger""" # noqa: E501
67
+ if _configuration is None:
68
+ _configuration = Configuration()
69
+ self._configuration = _configuration
70
+
71
+ self._environment = None
72
+ self._id = None
73
+ self._name = None
74
+ self._params = None
75
+ self._project_name = None
76
+ self._status = None
77
+ self._sub_type = None
78
+ self._tags = None
79
+ self._type = None
80
+ self._vke_cluster_id = None
81
+ self._vke_cluster_info = None
82
+ self._workspace_id = None
83
+ self.discriminator = None
84
+
85
+ if environment is not None:
86
+ self.environment = environment
87
+ if id is not None:
88
+ self.id = id
89
+ if name is not None:
90
+ self.name = name
91
+ if params is not None:
92
+ self.params = params
93
+ if project_name is not None:
94
+ self.project_name = project_name
95
+ if status is not None:
96
+ self.status = status
97
+ if sub_type is not None:
98
+ self.sub_type = sub_type
99
+ if tags is not None:
100
+ self.tags = tags
101
+ if type is not None:
102
+ self.type = type
103
+ if vke_cluster_id is not None:
104
+ self.vke_cluster_id = vke_cluster_id
105
+ if vke_cluster_info is not None:
106
+ self.vke_cluster_info = vke_cluster_info
107
+ if workspace_id is not None:
108
+ self.workspace_id = workspace_id
109
+
110
+ @property
111
+ def environment(self):
112
+ """Gets the environment of this GetIntegrationTaskResponse. # noqa: E501
113
+
114
+
115
+ :return: The environment of this GetIntegrationTaskResponse. # noqa: E501
116
+ :rtype: str
117
+ """
118
+ return self._environment
119
+
120
+ @environment.setter
121
+ def environment(self, environment):
122
+ """Sets the environment of this GetIntegrationTaskResponse.
123
+
124
+
125
+ :param environment: The environment of this GetIntegrationTaskResponse. # noqa: E501
126
+ :type: str
127
+ """
128
+
129
+ self._environment = environment
130
+
131
+ @property
132
+ def id(self):
133
+ """Gets the id of this GetIntegrationTaskResponse. # noqa: E501
134
+
135
+
136
+ :return: The id of this GetIntegrationTaskResponse. # noqa: E501
137
+ :rtype: str
138
+ """
139
+ return self._id
140
+
141
+ @id.setter
142
+ def id(self, id):
143
+ """Sets the id of this GetIntegrationTaskResponse.
144
+
145
+
146
+ :param id: The id of this GetIntegrationTaskResponse. # noqa: E501
147
+ :type: str
148
+ """
149
+
150
+ self._id = id
151
+
152
+ @property
153
+ def name(self):
154
+ """Gets the name of this GetIntegrationTaskResponse. # noqa: E501
155
+
156
+
157
+ :return: The name of this GetIntegrationTaskResponse. # noqa: E501
158
+ :rtype: str
159
+ """
160
+ return self._name
161
+
162
+ @name.setter
163
+ def name(self, name):
164
+ """Sets the name of this GetIntegrationTaskResponse.
165
+
166
+
167
+ :param name: The name of this GetIntegrationTaskResponse. # noqa: E501
168
+ :type: str
169
+ """
170
+
171
+ self._name = name
172
+
173
+ @property
174
+ def params(self):
175
+ """Gets the params of this GetIntegrationTaskResponse. # noqa: E501
176
+
177
+
178
+ :return: The params of this GetIntegrationTaskResponse. # noqa: E501
179
+ :rtype: str
180
+ """
181
+ return self._params
182
+
183
+ @params.setter
184
+ def params(self, params):
185
+ """Sets the params of this GetIntegrationTaskResponse.
186
+
187
+
188
+ :param params: The params of this GetIntegrationTaskResponse. # noqa: E501
189
+ :type: str
190
+ """
191
+
192
+ self._params = params
193
+
194
+ @property
195
+ def project_name(self):
196
+ """Gets the project_name of this GetIntegrationTaskResponse. # noqa: E501
197
+
198
+
199
+ :return: The project_name of this GetIntegrationTaskResponse. # noqa: E501
200
+ :rtype: str
201
+ """
202
+ return self._project_name
203
+
204
+ @project_name.setter
205
+ def project_name(self, project_name):
206
+ """Sets the project_name of this GetIntegrationTaskResponse.
207
+
208
+
209
+ :param project_name: The project_name of this GetIntegrationTaskResponse. # noqa: E501
210
+ :type: str
211
+ """
212
+
213
+ self._project_name = project_name
214
+
215
+ @property
216
+ def status(self):
217
+ """Gets the status of this GetIntegrationTaskResponse. # noqa: E501
218
+
219
+
220
+ :return: The status of this GetIntegrationTaskResponse. # noqa: E501
221
+ :rtype: str
222
+ """
223
+ return self._status
224
+
225
+ @status.setter
226
+ def status(self, status):
227
+ """Sets the status of this GetIntegrationTaskResponse.
228
+
229
+
230
+ :param status: The status of this GetIntegrationTaskResponse. # noqa: E501
231
+ :type: str
232
+ """
233
+
234
+ self._status = status
235
+
236
+ @property
237
+ def sub_type(self):
238
+ """Gets the sub_type of this GetIntegrationTaskResponse. # noqa: E501
239
+
240
+
241
+ :return: The sub_type of this GetIntegrationTaskResponse. # noqa: E501
242
+ :rtype: str
243
+ """
244
+ return self._sub_type
245
+
246
+ @sub_type.setter
247
+ def sub_type(self, sub_type):
248
+ """Sets the sub_type of this GetIntegrationTaskResponse.
249
+
250
+
251
+ :param sub_type: The sub_type of this GetIntegrationTaskResponse. # noqa: E501
252
+ :type: str
253
+ """
254
+
255
+ self._sub_type = sub_type
256
+
257
+ @property
258
+ def tags(self):
259
+ """Gets the tags of this GetIntegrationTaskResponse. # noqa: E501
260
+
261
+
262
+ :return: The tags of this GetIntegrationTaskResponse. # noqa: E501
263
+ :rtype: list[TagForGetIntegrationTaskOutput]
264
+ """
265
+ return self._tags
266
+
267
+ @tags.setter
268
+ def tags(self, tags):
269
+ """Sets the tags of this GetIntegrationTaskResponse.
270
+
271
+
272
+ :param tags: The tags of this GetIntegrationTaskResponse. # noqa: E501
273
+ :type: list[TagForGetIntegrationTaskOutput]
274
+ """
275
+
276
+ self._tags = tags
277
+
278
+ @property
279
+ def type(self):
280
+ """Gets the type of this GetIntegrationTaskResponse. # noqa: E501
281
+
282
+
283
+ :return: The type of this GetIntegrationTaskResponse. # noqa: E501
284
+ :rtype: str
285
+ """
286
+ return self._type
287
+
288
+ @type.setter
289
+ def type(self, type):
290
+ """Sets the type of this GetIntegrationTaskResponse.
291
+
292
+
293
+ :param type: The type of this GetIntegrationTaskResponse. # noqa: E501
294
+ :type: str
295
+ """
296
+
297
+ self._type = type
298
+
299
+ @property
300
+ def vke_cluster_id(self):
301
+ """Gets the vke_cluster_id of this GetIntegrationTaskResponse. # noqa: E501
302
+
303
+
304
+ :return: The vke_cluster_id of this GetIntegrationTaskResponse. # noqa: E501
305
+ :rtype: str
306
+ """
307
+ return self._vke_cluster_id
308
+
309
+ @vke_cluster_id.setter
310
+ def vke_cluster_id(self, vke_cluster_id):
311
+ """Sets the vke_cluster_id of this GetIntegrationTaskResponse.
312
+
313
+
314
+ :param vke_cluster_id: The vke_cluster_id of this GetIntegrationTaskResponse. # noqa: E501
315
+ :type: str
316
+ """
317
+
318
+ self._vke_cluster_id = vke_cluster_id
319
+
320
+ @property
321
+ def vke_cluster_info(self):
322
+ """Gets the vke_cluster_info of this GetIntegrationTaskResponse. # noqa: E501
323
+
324
+
325
+ :return: The vke_cluster_info of this GetIntegrationTaskResponse. # noqa: E501
326
+ :rtype: VkeClusterInfoForGetIntegrationTaskOutput
327
+ """
328
+ return self._vke_cluster_info
329
+
330
+ @vke_cluster_info.setter
331
+ def vke_cluster_info(self, vke_cluster_info):
332
+ """Sets the vke_cluster_info of this GetIntegrationTaskResponse.
333
+
334
+
335
+ :param vke_cluster_info: The vke_cluster_info of this GetIntegrationTaskResponse. # noqa: E501
336
+ :type: VkeClusterInfoForGetIntegrationTaskOutput
337
+ """
338
+
339
+ self._vke_cluster_info = vke_cluster_info
340
+
341
+ @property
342
+ def workspace_id(self):
343
+ """Gets the workspace_id of this GetIntegrationTaskResponse. # noqa: E501
344
+
345
+
346
+ :return: The workspace_id of this GetIntegrationTaskResponse. # noqa: E501
347
+ :rtype: str
348
+ """
349
+ return self._workspace_id
350
+
351
+ @workspace_id.setter
352
+ def workspace_id(self, workspace_id):
353
+ """Sets the workspace_id of this GetIntegrationTaskResponse.
354
+
355
+
356
+ :param workspace_id: The workspace_id of this GetIntegrationTaskResponse. # noqa: E501
357
+ :type: str
358
+ """
359
+
360
+ self._workspace_id = workspace_id
361
+
362
+ def to_dict(self):
363
+ """Returns the model properties as a dict"""
364
+ result = {}
365
+
366
+ for attr, _ in six.iteritems(self.swagger_types):
367
+ value = getattr(self, attr)
368
+ if isinstance(value, list):
369
+ result[attr] = list(map(
370
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
371
+ value
372
+ ))
373
+ elif hasattr(value, "to_dict"):
374
+ result[attr] = value.to_dict()
375
+ elif isinstance(value, dict):
376
+ result[attr] = dict(map(
377
+ lambda item: (item[0], item[1].to_dict())
378
+ if hasattr(item[1], "to_dict") else item,
379
+ value.items()
380
+ ))
381
+ else:
382
+ result[attr] = value
383
+ if issubclass(GetIntegrationTaskResponse, dict):
384
+ for key, value in self.items():
385
+ result[key] = value
386
+
387
+ return result
388
+
389
+ def to_str(self):
390
+ """Returns the string representation of the model"""
391
+ return pprint.pformat(self.to_dict())
392
+
393
+ def __repr__(self):
394
+ """For `print` and `pprint`"""
395
+ return self.to_str()
396
+
397
+ def __eq__(self, other):
398
+ """Returns true if both objects are equal"""
399
+ if not isinstance(other, GetIntegrationTaskResponse):
400
+ return False
401
+
402
+ return self.to_dict() == other.to_dict()
403
+
404
+ def __ne__(self, other):
405
+ """Returns true if both objects are not equal"""
406
+ if not isinstance(other, GetIntegrationTaskResponse):
407
+ return True
408
+
409
+ return self.to_dict() != other.to_dict()
@@ -40,7 +40,8 @@ class GetRuleFileResponse(object):
40
40
  'last_update_time': 'str',
41
41
  'name': 'str',
42
42
  'rule_count': 'int',
43
- 'status': 'str'
43
+ 'status': 'str',
44
+ 'target_workspace_id': 'str'
44
45
  }
45
46
 
46
47
  attribute_map = {
@@ -51,10 +52,11 @@ class GetRuleFileResponse(object):
51
52
  'last_update_time': 'LastUpdateTime',
52
53
  'name': 'Name',
53
54
  'rule_count': 'RuleCount',
54
- 'status': 'Status'
55
+ 'status': 'Status',
56
+ 'target_workspace_id': 'TargetWorkspaceId'
55
57
  }
56
58
 
57
- def __init__(self, content=None, create_time=None, description=None, id=None, last_update_time=None, name=None, rule_count=None, status=None, _configuration=None): # noqa: E501
59
+ def __init__(self, content=None, create_time=None, description=None, id=None, last_update_time=None, name=None, rule_count=None, status=None, target_workspace_id=None, _configuration=None): # noqa: E501
58
60
  """GetRuleFileResponse - a model defined in Swagger""" # noqa: E501
59
61
  if _configuration is None:
60
62
  _configuration = Configuration()
@@ -68,6 +70,7 @@ class GetRuleFileResponse(object):
68
70
  self._name = None
69
71
  self._rule_count = None
70
72
  self._status = None
73
+ self._target_workspace_id = None
71
74
  self.discriminator = None
72
75
 
73
76
  if content is not None:
@@ -86,6 +89,8 @@ class GetRuleFileResponse(object):
86
89
  self.rule_count = rule_count
87
90
  if status is not None:
88
91
  self.status = status
92
+ if target_workspace_id is not None:
93
+ self.target_workspace_id = target_workspace_id
89
94
 
90
95
  @property
91
96
  def content(self):
@@ -255,6 +260,27 @@ class GetRuleFileResponse(object):
255
260
 
256
261
  self._status = status
257
262
 
263
+ @property
264
+ def target_workspace_id(self):
265
+ """Gets the target_workspace_id of this GetRuleFileResponse. # noqa: E501
266
+
267
+
268
+ :return: The target_workspace_id of this GetRuleFileResponse. # noqa: E501
269
+ :rtype: str
270
+ """
271
+ return self._target_workspace_id
272
+
273
+ @target_workspace_id.setter
274
+ def target_workspace_id(self, target_workspace_id):
275
+ """Sets the target_workspace_id of this GetRuleFileResponse.
276
+
277
+
278
+ :param target_workspace_id: The target_workspace_id of this GetRuleFileResponse. # noqa: E501
279
+ :type: str
280
+ """
281
+
282
+ self._target_workspace_id = target_workspace_id
283
+
258
284
  def to_dict(self):
259
285
  """Returns the model properties as a dict"""
260
286
  result = {}