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.
- {volcengine_python_sdk-4.0.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/RECORD +215 -42
- {volcengine_python_sdk-4.0.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/top_level.txt +3 -0
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkdirectconnect/models/create_direct_connect_gateway_request.py +27 -1
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_queue_request.py +16 -16
- volcenginesdkdirectconnect/models/describe_direct_connect_gateway_attributes_response.py +27 -1
- volcenginesdkdirectconnect/models/models.py +192 -192
- volcenginesdkdms20250101/__init__.py +85 -0
- volcenginesdkdms20250101/api/__init__.py +6 -0
- volcenginesdkdms20250101/api/dms20250101_api.py +1974 -0
- volcenginesdkdms20250101/models/__init__.py +81 -0
- volcenginesdkdms20250101/models/address_access_config_for_create_address_input.py +149 -0
- volcenginesdkdms20250101/models/address_access_config_for_get_address_output.py +149 -0
- volcenginesdkdms20250101/models/address_access_config_for_list_addresses_output.py +149 -0
- volcenginesdkdms20250101/models/create_address_request.py +211 -0
- volcenginesdkdms20250101/models/create_address_response.py +149 -0
- volcenginesdkdms20250101/models/create_agent_group_request.py +226 -0
- volcenginesdkdms20250101/models/create_agent_group_response.py +149 -0
- volcenginesdkdms20250101/models/create_agent_request.py +185 -0
- volcenginesdkdms20250101/models/create_agent_response.py +149 -0
- volcenginesdkdms20250101/models/create_task_request.py +264 -0
- volcenginesdkdms20250101/models/create_task_response.py +149 -0
- volcenginesdkdms20250101/models/delete_address_request.py +124 -0
- volcenginesdkdms20250101/models/delete_address_response.py +149 -0
- volcenginesdkdms20250101/models/delete_agent_group_request.py +124 -0
- volcenginesdkdms20250101/models/delete_agent_group_response.py +149 -0
- volcenginesdkdms20250101/models/delete_agent_request.py +124 -0
- volcenginesdkdms20250101/models/delete_agent_response.py +149 -0
- volcenginesdkdms20250101/models/delete_task_request.py +124 -0
- volcenginesdkdms20250101/models/delete_task_response.py +149 -0
- volcenginesdkdms20250101/models/get_address_request.py +124 -0
- volcenginesdkdms20250101/models/get_address_response.py +305 -0
- volcenginesdkdms20250101/models/get_agent_group_request.py +124 -0
- volcenginesdkdms20250101/models/get_agent_group_response.py +305 -0
- volcenginesdkdms20250101/models/get_agent_group_status_request.py +124 -0
- volcenginesdkdms20250101/models/get_agent_group_status_response.py +149 -0
- volcenginesdkdms20250101/models/get_agent_request.py +124 -0
- volcenginesdkdms20250101/models/get_agent_response.py +331 -0
- volcenginesdkdms20250101/models/get_real_time_statistics_request.py +150 -0
- volcenginesdkdms20250101/models/get_real_time_statistics_response.py +487 -0
- volcenginesdkdms20250101/models/get_task_request.py +124 -0
- volcenginesdkdms20250101/models/get_task_response.py +409 -0
- volcenginesdkdms20250101/models/item_list_for_list_addresses_output.py +305 -0
- volcenginesdkdms20250101/models/item_list_for_list_agent_groups_output.py +279 -0
- volcenginesdkdms20250101/models/item_list_for_list_agents_output.py +331 -0
- volcenginesdkdms20250101/models/item_list_for_list_tasks_output.py +409 -0
- volcenginesdkdms20250101/models/list_addresses_request.py +203 -0
- volcenginesdkdms20250101/models/list_addresses_response.py +175 -0
- volcenginesdkdms20250101/models/list_agent_groups_request.py +204 -0
- volcenginesdkdms20250101/models/list_agent_groups_response.py +175 -0
- volcenginesdkdms20250101/models/list_agents_request.py +204 -0
- volcenginesdkdms20250101/models/list_agents_response.py +175 -0
- volcenginesdkdms20250101/models/list_config_for_create_task_input.py +227 -0
- volcenginesdkdms20250101/models/list_config_for_get_task_output.py +227 -0
- volcenginesdkdms20250101/models/list_config_for_list_tasks_output.py +227 -0
- volcenginesdkdms20250101/models/list_include_bucket_keys_for_create_task_input.py +201 -0
- volcenginesdkdms20250101/models/list_include_bucket_keys_for_get_task_output.py +201 -0
- volcenginesdkdms20250101/models/list_include_bucket_keys_for_list_tasks_output.py +201 -0
- volcenginesdkdms20250101/models/list_tasks_request.py +204 -0
- volcenginesdkdms20250101/models/list_tasks_response.py +175 -0
- volcenginesdkdms20250101/models/local_fs_for_create_address_input.py +123 -0
- volcenginesdkdms20250101/models/local_fs_for_get_address_output.py +123 -0
- volcenginesdkdms20250101/models/local_fs_for_list_addresses_output.py +123 -0
- volcenginesdkdms20250101/models/retry_failed_task_request.py +124 -0
- volcenginesdkdms20250101/models/retry_failed_task_response.py +149 -0
- volcenginesdkdms20250101/models/task_config_for_create_task_input.py +215 -0
- volcenginesdkdms20250101/models/task_config_for_get_task_output.py +201 -0
- volcenginesdkdms20250101/models/task_config_for_list_tasks_output.py +201 -0
- volcenginesdkdms20250101/models/task_context_for_get_task_output.py +149 -0
- volcenginesdkdms20250101/models/task_context_for_list_tasks_output.py +149 -0
- volcenginesdkdms20250101/models/tos_for_create_address_input.py +201 -0
- volcenginesdkdms20250101/models/tos_for_get_address_output.py +201 -0
- volcenginesdkdms20250101/models/tos_for_list_addresses_output.py +201 -0
- volcenginesdkdms20250101/models/update_task_request.py +183 -0
- volcenginesdkdms20250101/models/update_task_response.py +149 -0
- volcenginesdkdts20180101/__init__.py +32 -0
- volcenginesdkdts20180101/api/__init__.py +6 -0
- volcenginesdkdts20180101/api/dts20180101_api.py +422 -0
- volcenginesdkdts20180101/models/__init__.py +28 -0
- volcenginesdkdts20180101/models/data_for_list_vpc_output.py +149 -0
- volcenginesdkdts20180101/models/get_async_pre_check_result_request.py +124 -0
- volcenginesdkdts20180101/models/get_async_pre_check_result_response.py +201 -0
- volcenginesdkdts20180101/models/list_vpc_request.py +95 -0
- volcenginesdkdts20180101/models/list_vpc_response.py +149 -0
- volcenginesdkdts20180101/models/list_vpc_subnets_request.py +124 -0
- volcenginesdkdts20180101/models/list_vpc_subnets_response.py +149 -0
- volcenginesdkdts20180101/models/pre_check_async_request.py +124 -0
- volcenginesdkdts20180101/models/pre_check_async_response.py +123 -0
- volcenginesdkdts20180101/models/pre_check_for_get_async_pre_check_result_output.py +227 -0
- volcenginesdkdts20180101/models/vpc_subnet_info_for_list_vpc_subnets_output.py +149 -0
- volcenginesdkna/__init__.py +33 -0
- volcenginesdkna/api/__init__.py +6 -0
- volcenginesdkna/api/na_api.py +422 -0
- volcenginesdkna/models/__init__.py +29 -0
- volcenginesdkna/models/create_diagnosis_instance_request.py +178 -0
- volcenginesdkna/models/create_diagnosis_instance_response.py +149 -0
- volcenginesdkna/models/describe_diagnosis_instance_detail_request.py +124 -0
- volcenginesdkna/models/describe_diagnosis_instance_detail_response.py +383 -0
- volcenginesdkna/models/describe_diagnosis_instances_request.py +149 -0
- volcenginesdkna/models/describe_diagnosis_instances_response.py +227 -0
- volcenginesdkna/models/describe_history_diagnosis_request.py +124 -0
- volcenginesdkna/models/describe_history_diagnosis_response.py +123 -0
- volcenginesdkna/models/diagnosis_category_item_for_describe_diagnosis_instance_detail_output.py +149 -0
- volcenginesdkna/models/diagnosis_instance_for_describe_diagnosis_instances_output.py +357 -0
- volcenginesdkna/models/diagnosis_item_for_describe_diagnosis_instance_detail_output.py +201 -0
- volcenginesdkna/models/history_diagnosis_for_describe_history_diagnosis_output.py +175 -0
- volcenginesdkredis/__init__.py +2 -0
- volcenginesdkredis/api/redis_api.py +97 -0
- volcenginesdkredis/models/__init__.py +2 -0
- volcenginesdkredis/models/instance_for_describe_db_instances_output.py +27 -1
- volcenginesdkredis/models/modify_db_instance_private_dns_visibility_request.py +177 -0
- volcenginesdkredis/models/modify_db_instance_private_dns_visibility_response.py +95 -0
- volcenginesdkredis/models/visit_addr_for_describe_db_instance_detail_output.py +29 -3
- volcenginesdkvefaas/models/create_function_request.py +53 -1
- volcenginesdkvefaas/models/create_function_response.py +53 -1
- volcenginesdkvefaas/models/get_function_response.py +53 -1
- volcenginesdkvefaas/models/item_for_list_functions_output.py +27 -1
- volcenginesdkvefaas/models/update_function_request.py +53 -1
- volcenginesdkvefaas/models/update_function_response.py +27 -1
- volcenginesdkvmp/__init__.py +72 -0
- volcenginesdkvmp/api/vmp_api.py +1339 -78
- volcenginesdkvmp/models/__init__.py +72 -0
- volcenginesdkvmp/models/cal_charge_item_list_for_get_workspace_output.py +149 -0
- volcenginesdkvmp/models/cal_charge_item_list_for_list_workspace_instance_types_output.py +149 -0
- volcenginesdkvmp/models/calculate_price_param_for_get_workspace_output.py +175 -0
- volcenginesdkvmp/models/calculate_price_param_for_list_workspace_instance_types_output.py +175 -0
- volcenginesdkvmp/models/conditions_for_list_integration_tasks_output.py +175 -0
- volcenginesdkvmp/models/create_alerting_rule_request.py +53 -1
- volcenginesdkvmp/models/create_integration_task_request.py +334 -0
- volcenginesdkvmp/models/create_integration_task_response.py +123 -0
- volcenginesdkvmp/models/create_rule_file_request.py +27 -1
- volcenginesdkvmp/models/create_silence_policy_request.py +202 -0
- volcenginesdkvmp/models/create_silence_policy_response.py +123 -0
- volcenginesdkvmp/models/create_workspace_request.py +27 -1
- volcenginesdkvmp/models/data_for_delete_silence_policies_output.py +95 -0
- volcenginesdkvmp/models/data_for_disable_integration_tasks_output.py +95 -0
- volcenginesdkvmp/models/data_for_disable_silence_policies_output.py +95 -0
- volcenginesdkvmp/models/data_for_enable_integration_tasks_output.py +95 -0
- volcenginesdkvmp/models/data_for_enable_silence_policies_output.py +95 -0
- volcenginesdkvmp/models/delete_integration_task_request.py +124 -0
- volcenginesdkvmp/models/delete_integration_task_response.py +123 -0
- volcenginesdkvmp/models/delete_silence_policies_request.py +123 -0
- volcenginesdkvmp/models/delete_silence_policies_response.py +149 -0
- volcenginesdkvmp/models/disable_integration_tasks_request.py +123 -0
- volcenginesdkvmp/models/disable_integration_tasks_response.py +149 -0
- volcenginesdkvmp/models/disable_silence_policies_request.py +123 -0
- volcenginesdkvmp/models/disable_silence_policies_response.py +149 -0
- volcenginesdkvmp/models/enable_integration_tasks_request.py +123 -0
- volcenginesdkvmp/models/enable_integration_tasks_response.py +149 -0
- volcenginesdkvmp/models/enable_silence_policies_request.py +123 -0
- volcenginesdkvmp/models/enable_silence_policies_response.py +149 -0
- volcenginesdkvmp/models/error_for_delete_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/error_for_disable_integration_tasks_output.py +175 -0
- volcenginesdkvmp/models/error_for_disable_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/error_for_enable_integration_tasks_output.py +175 -0
- volcenginesdkvmp/models/error_for_enable_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/filter_for_list_silence_policies_input.py +201 -0
- volcenginesdkvmp/models/filters_for_list_integration_tasks_input.py +279 -0
- volcenginesdkvmp/models/get_alerting_rule_response.py +53 -1
- volcenginesdkvmp/models/get_integration_task_request.py +124 -0
- volcenginesdkvmp/models/get_integration_task_response.py +409 -0
- volcenginesdkvmp/models/get_rule_file_response.py +29 -3
- volcenginesdkvmp/models/get_workspace_response.py +105 -1
- volcenginesdkvmp/models/instance_type_for_get_workspace_output.py +27 -1
- volcenginesdkvmp/models/item_for_list_alerting_rules_output.py +53 -1
- volcenginesdkvmp/models/item_for_list_integration_tasks_output.py +409 -0
- volcenginesdkvmp/models/item_for_list_rule_files_output.py +29 -3
- volcenginesdkvmp/models/item_for_list_silence_policies_output.py +357 -0
- volcenginesdkvmp/models/item_for_list_workspace_instance_types_output.py +27 -1
- volcenginesdkvmp/models/item_for_list_workspaces_output.py +131 -1
- volcenginesdkvmp/models/list_alerting_rules_request.py +55 -3
- volcenginesdkvmp/models/list_integration_tasks_request.py +227 -0
- volcenginesdkvmp/models/list_integration_tasks_response.py +149 -0
- volcenginesdkvmp/models/list_silence_policies_request.py +227 -0
- volcenginesdkvmp/models/list_silence_policies_response.py +149 -0
- volcenginesdkvmp/models/matcher_for_create_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/matcher_for_list_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/matcher_for_update_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/metric_label_matcher_for_create_silence_policy_input.py +123 -0
- volcenginesdkvmp/models/metric_label_matcher_for_list_silence_policies_output.py +123 -0
- volcenginesdkvmp/models/metric_label_matcher_for_update_silence_policy_input.py +123 -0
- volcenginesdkvmp/models/periodic_date_for_create_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/periodic_date_for_list_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/periodic_date_for_update_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/quota_for_get_workspace_output.py +53 -1
- volcenginesdkvmp/models/quota_for_update_workspace_input.py +53 -1
- volcenginesdkvmp/models/tag_filter_for_list_alerting_rules_input.py +149 -0
- volcenginesdkvmp/models/tag_filter_for_list_integration_tasks_input.py +149 -0
- volcenginesdkvmp/models/tag_for_create_alerting_rule_input.py +149 -0
- volcenginesdkvmp/models/tag_for_create_integration_task_input.py +149 -0
- volcenginesdkvmp/models/tag_for_get_alerting_rule_output.py +149 -0
- volcenginesdkvmp/models/tag_for_get_integration_task_output.py +149 -0
- volcenginesdkvmp/models/tag_for_list_alerting_rules_output.py +149 -0
- volcenginesdkvmp/models/tag_for_list_integration_tasks_output.py +149 -0
- volcenginesdkvmp/models/time_range_matcher_for_create_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/time_range_matcher_for_list_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/time_range_matcher_for_update_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/unsuccessful_item_for_delete_silence_policies_output.py +149 -0
- volcenginesdkvmp/models/unsuccessful_item_for_disable_integration_tasks_output.py +149 -0
- volcenginesdkvmp/models/unsuccessful_item_for_disable_silence_policies_output.py +149 -0
- volcenginesdkvmp/models/unsuccessful_item_for_enable_integration_tasks_output.py +149 -0
- volcenginesdkvmp/models/unsuccessful_item_for_enable_silence_policies_output.py +149 -0
- volcenginesdkvmp/models/update_integration_task_request.py +202 -0
- volcenginesdkvmp/models/update_integration_task_response.py +123 -0
- volcenginesdkvmp/models/update_rule_file_request.py +27 -1
- volcenginesdkvmp/models/update_silence_policy_request.py +228 -0
- volcenginesdkvmp/models/update_silence_policy_response.py +123 -0
- volcenginesdkvmp/models/update_workspace_request.py +131 -1
- volcenginesdkvmp/models/vke_cluster_info_for_get_integration_task_output.py +149 -0
- volcenginesdkvmp/models/vke_cluster_info_for_list_integration_tasks_output.py +149 -0
- {volcengine_python_sdk-4.0.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/licenses/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/licenses/NOTICE.md +0 -0
|
@@ -0,0 +1,334 @@
|
|
|
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 CreateIntegrationTaskRequest(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
|
+
'name': 'str',
|
|
38
|
+
'params': 'str',
|
|
39
|
+
'project_name': 'str',
|
|
40
|
+
'sub_type': 'str',
|
|
41
|
+
'tags': 'list[TagForCreateIntegrationTaskInput]',
|
|
42
|
+
'type': 'str',
|
|
43
|
+
'vke_cluster_id': 'str',
|
|
44
|
+
'workspace_id': 'str'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
attribute_map = {
|
|
48
|
+
'environment': 'Environment',
|
|
49
|
+
'name': 'Name',
|
|
50
|
+
'params': 'Params',
|
|
51
|
+
'project_name': 'ProjectName',
|
|
52
|
+
'sub_type': 'SubType',
|
|
53
|
+
'tags': 'Tags',
|
|
54
|
+
'type': 'Type',
|
|
55
|
+
'vke_cluster_id': 'VkeClusterId',
|
|
56
|
+
'workspace_id': 'WorkspaceId'
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
def __init__(self, environment=None, name=None, params=None, project_name=None, sub_type=None, tags=None, type=None, vke_cluster_id=None, workspace_id=None, _configuration=None): # noqa: E501
|
|
60
|
+
"""CreateIntegrationTaskRequest - a model defined in Swagger""" # noqa: E501
|
|
61
|
+
if _configuration is None:
|
|
62
|
+
_configuration = Configuration()
|
|
63
|
+
self._configuration = _configuration
|
|
64
|
+
|
|
65
|
+
self._environment = None
|
|
66
|
+
self._name = None
|
|
67
|
+
self._params = None
|
|
68
|
+
self._project_name = None
|
|
69
|
+
self._sub_type = None
|
|
70
|
+
self._tags = None
|
|
71
|
+
self._type = None
|
|
72
|
+
self._vke_cluster_id = None
|
|
73
|
+
self._workspace_id = None
|
|
74
|
+
self.discriminator = None
|
|
75
|
+
|
|
76
|
+
if environment is not None:
|
|
77
|
+
self.environment = environment
|
|
78
|
+
self.name = name
|
|
79
|
+
self.params = params
|
|
80
|
+
if project_name is not None:
|
|
81
|
+
self.project_name = project_name
|
|
82
|
+
if sub_type is not None:
|
|
83
|
+
self.sub_type = sub_type
|
|
84
|
+
if tags is not None:
|
|
85
|
+
self.tags = tags
|
|
86
|
+
self.type = type
|
|
87
|
+
if vke_cluster_id is not None:
|
|
88
|
+
self.vke_cluster_id = vke_cluster_id
|
|
89
|
+
if workspace_id is not None:
|
|
90
|
+
self.workspace_id = workspace_id
|
|
91
|
+
|
|
92
|
+
@property
|
|
93
|
+
def environment(self):
|
|
94
|
+
"""Gets the environment of this CreateIntegrationTaskRequest. # noqa: E501
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
:return: The environment of this CreateIntegrationTaskRequest. # noqa: E501
|
|
98
|
+
:rtype: str
|
|
99
|
+
"""
|
|
100
|
+
return self._environment
|
|
101
|
+
|
|
102
|
+
@environment.setter
|
|
103
|
+
def environment(self, environment):
|
|
104
|
+
"""Sets the environment of this CreateIntegrationTaskRequest.
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
:param environment: The environment of this CreateIntegrationTaskRequest. # noqa: E501
|
|
108
|
+
:type: str
|
|
109
|
+
"""
|
|
110
|
+
|
|
111
|
+
self._environment = environment
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
def name(self):
|
|
115
|
+
"""Gets the name of this CreateIntegrationTaskRequest. # noqa: E501
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
:return: The name of this CreateIntegrationTaskRequest. # noqa: E501
|
|
119
|
+
:rtype: str
|
|
120
|
+
"""
|
|
121
|
+
return self._name
|
|
122
|
+
|
|
123
|
+
@name.setter
|
|
124
|
+
def name(self, name):
|
|
125
|
+
"""Sets the name of this CreateIntegrationTaskRequest.
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
:param name: The name of this CreateIntegrationTaskRequest. # noqa: E501
|
|
129
|
+
:type: str
|
|
130
|
+
"""
|
|
131
|
+
if self._configuration.client_side_validation and name is None:
|
|
132
|
+
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
|
|
133
|
+
|
|
134
|
+
self._name = name
|
|
135
|
+
|
|
136
|
+
@property
|
|
137
|
+
def params(self):
|
|
138
|
+
"""Gets the params of this CreateIntegrationTaskRequest. # noqa: E501
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
:return: The params of this CreateIntegrationTaskRequest. # noqa: E501
|
|
142
|
+
:rtype: str
|
|
143
|
+
"""
|
|
144
|
+
return self._params
|
|
145
|
+
|
|
146
|
+
@params.setter
|
|
147
|
+
def params(self, params):
|
|
148
|
+
"""Sets the params of this CreateIntegrationTaskRequest.
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
:param params: The params of this CreateIntegrationTaskRequest. # noqa: E501
|
|
152
|
+
:type: str
|
|
153
|
+
"""
|
|
154
|
+
if self._configuration.client_side_validation and params is None:
|
|
155
|
+
raise ValueError("Invalid value for `params`, must not be `None`") # noqa: E501
|
|
156
|
+
|
|
157
|
+
self._params = params
|
|
158
|
+
|
|
159
|
+
@property
|
|
160
|
+
def project_name(self):
|
|
161
|
+
"""Gets the project_name of this CreateIntegrationTaskRequest. # noqa: E501
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
:return: The project_name of this CreateIntegrationTaskRequest. # noqa: E501
|
|
165
|
+
:rtype: str
|
|
166
|
+
"""
|
|
167
|
+
return self._project_name
|
|
168
|
+
|
|
169
|
+
@project_name.setter
|
|
170
|
+
def project_name(self, project_name):
|
|
171
|
+
"""Sets the project_name of this CreateIntegrationTaskRequest.
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
:param project_name: The project_name of this CreateIntegrationTaskRequest. # noqa: E501
|
|
175
|
+
:type: str
|
|
176
|
+
"""
|
|
177
|
+
|
|
178
|
+
self._project_name = project_name
|
|
179
|
+
|
|
180
|
+
@property
|
|
181
|
+
def sub_type(self):
|
|
182
|
+
"""Gets the sub_type of this CreateIntegrationTaskRequest. # noqa: E501
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
:return: The sub_type of this CreateIntegrationTaskRequest. # noqa: E501
|
|
186
|
+
:rtype: str
|
|
187
|
+
"""
|
|
188
|
+
return self._sub_type
|
|
189
|
+
|
|
190
|
+
@sub_type.setter
|
|
191
|
+
def sub_type(self, sub_type):
|
|
192
|
+
"""Sets the sub_type of this CreateIntegrationTaskRequest.
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
:param sub_type: The sub_type of this CreateIntegrationTaskRequest. # noqa: E501
|
|
196
|
+
:type: str
|
|
197
|
+
"""
|
|
198
|
+
|
|
199
|
+
self._sub_type = sub_type
|
|
200
|
+
|
|
201
|
+
@property
|
|
202
|
+
def tags(self):
|
|
203
|
+
"""Gets the tags of this CreateIntegrationTaskRequest. # noqa: E501
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
:return: The tags of this CreateIntegrationTaskRequest. # noqa: E501
|
|
207
|
+
:rtype: list[TagForCreateIntegrationTaskInput]
|
|
208
|
+
"""
|
|
209
|
+
return self._tags
|
|
210
|
+
|
|
211
|
+
@tags.setter
|
|
212
|
+
def tags(self, tags):
|
|
213
|
+
"""Sets the tags of this CreateIntegrationTaskRequest.
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
:param tags: The tags of this CreateIntegrationTaskRequest. # noqa: E501
|
|
217
|
+
:type: list[TagForCreateIntegrationTaskInput]
|
|
218
|
+
"""
|
|
219
|
+
|
|
220
|
+
self._tags = tags
|
|
221
|
+
|
|
222
|
+
@property
|
|
223
|
+
def type(self):
|
|
224
|
+
"""Gets the type of this CreateIntegrationTaskRequest. # noqa: E501
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
:return: The type of this CreateIntegrationTaskRequest. # noqa: E501
|
|
228
|
+
:rtype: str
|
|
229
|
+
"""
|
|
230
|
+
return self._type
|
|
231
|
+
|
|
232
|
+
@type.setter
|
|
233
|
+
def type(self, type):
|
|
234
|
+
"""Sets the type of this CreateIntegrationTaskRequest.
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
:param type: The type of this CreateIntegrationTaskRequest. # noqa: E501
|
|
238
|
+
:type: str
|
|
239
|
+
"""
|
|
240
|
+
if self._configuration.client_side_validation and type is None:
|
|
241
|
+
raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501
|
|
242
|
+
|
|
243
|
+
self._type = type
|
|
244
|
+
|
|
245
|
+
@property
|
|
246
|
+
def vke_cluster_id(self):
|
|
247
|
+
"""Gets the vke_cluster_id of this CreateIntegrationTaskRequest. # noqa: E501
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
:return: The vke_cluster_id of this CreateIntegrationTaskRequest. # noqa: E501
|
|
251
|
+
:rtype: str
|
|
252
|
+
"""
|
|
253
|
+
return self._vke_cluster_id
|
|
254
|
+
|
|
255
|
+
@vke_cluster_id.setter
|
|
256
|
+
def vke_cluster_id(self, vke_cluster_id):
|
|
257
|
+
"""Sets the vke_cluster_id of this CreateIntegrationTaskRequest.
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
:param vke_cluster_id: The vke_cluster_id of this CreateIntegrationTaskRequest. # noqa: E501
|
|
261
|
+
:type: str
|
|
262
|
+
"""
|
|
263
|
+
|
|
264
|
+
self._vke_cluster_id = vke_cluster_id
|
|
265
|
+
|
|
266
|
+
@property
|
|
267
|
+
def workspace_id(self):
|
|
268
|
+
"""Gets the workspace_id of this CreateIntegrationTaskRequest. # noqa: E501
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
:return: The workspace_id of this CreateIntegrationTaskRequest. # noqa: E501
|
|
272
|
+
:rtype: str
|
|
273
|
+
"""
|
|
274
|
+
return self._workspace_id
|
|
275
|
+
|
|
276
|
+
@workspace_id.setter
|
|
277
|
+
def workspace_id(self, workspace_id):
|
|
278
|
+
"""Sets the workspace_id of this CreateIntegrationTaskRequest.
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
:param workspace_id: The workspace_id of this CreateIntegrationTaskRequest. # noqa: E501
|
|
282
|
+
:type: str
|
|
283
|
+
"""
|
|
284
|
+
|
|
285
|
+
self._workspace_id = workspace_id
|
|
286
|
+
|
|
287
|
+
def to_dict(self):
|
|
288
|
+
"""Returns the model properties as a dict"""
|
|
289
|
+
result = {}
|
|
290
|
+
|
|
291
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
292
|
+
value = getattr(self, attr)
|
|
293
|
+
if isinstance(value, list):
|
|
294
|
+
result[attr] = list(map(
|
|
295
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
296
|
+
value
|
|
297
|
+
))
|
|
298
|
+
elif hasattr(value, "to_dict"):
|
|
299
|
+
result[attr] = value.to_dict()
|
|
300
|
+
elif isinstance(value, dict):
|
|
301
|
+
result[attr] = dict(map(
|
|
302
|
+
lambda item: (item[0], item[1].to_dict())
|
|
303
|
+
if hasattr(item[1], "to_dict") else item,
|
|
304
|
+
value.items()
|
|
305
|
+
))
|
|
306
|
+
else:
|
|
307
|
+
result[attr] = value
|
|
308
|
+
if issubclass(CreateIntegrationTaskRequest, dict):
|
|
309
|
+
for key, value in self.items():
|
|
310
|
+
result[key] = value
|
|
311
|
+
|
|
312
|
+
return result
|
|
313
|
+
|
|
314
|
+
def to_str(self):
|
|
315
|
+
"""Returns the string representation of the model"""
|
|
316
|
+
return pprint.pformat(self.to_dict())
|
|
317
|
+
|
|
318
|
+
def __repr__(self):
|
|
319
|
+
"""For `print` and `pprint`"""
|
|
320
|
+
return self.to_str()
|
|
321
|
+
|
|
322
|
+
def __eq__(self, other):
|
|
323
|
+
"""Returns true if both objects are equal"""
|
|
324
|
+
if not isinstance(other, CreateIntegrationTaskRequest):
|
|
325
|
+
return False
|
|
326
|
+
|
|
327
|
+
return self.to_dict() == other.to_dict()
|
|
328
|
+
|
|
329
|
+
def __ne__(self, other):
|
|
330
|
+
"""Returns true if both objects are not equal"""
|
|
331
|
+
if not isinstance(other, CreateIntegrationTaskRequest):
|
|
332
|
+
return True
|
|
333
|
+
|
|
334
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,123 @@
|
|
|
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 CreateIntegrationTaskResponse(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
|
+
"""CreateIntegrationTaskResponse - 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
|
+
if id is not None:
|
|
53
|
+
self.id = id
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def id(self):
|
|
57
|
+
"""Gets the id of this CreateIntegrationTaskResponse. # noqa: E501
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
:return: The id of this CreateIntegrationTaskResponse. # noqa: E501
|
|
61
|
+
:rtype: str
|
|
62
|
+
"""
|
|
63
|
+
return self._id
|
|
64
|
+
|
|
65
|
+
@id.setter
|
|
66
|
+
def id(self, id):
|
|
67
|
+
"""Sets the id of this CreateIntegrationTaskResponse.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:param id: The id of this CreateIntegrationTaskResponse. # noqa: E501
|
|
71
|
+
:type: str
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
self._id = id
|
|
75
|
+
|
|
76
|
+
def to_dict(self):
|
|
77
|
+
"""Returns the model properties as a dict"""
|
|
78
|
+
result = {}
|
|
79
|
+
|
|
80
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
81
|
+
value = getattr(self, attr)
|
|
82
|
+
if isinstance(value, list):
|
|
83
|
+
result[attr] = list(map(
|
|
84
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
85
|
+
value
|
|
86
|
+
))
|
|
87
|
+
elif hasattr(value, "to_dict"):
|
|
88
|
+
result[attr] = value.to_dict()
|
|
89
|
+
elif isinstance(value, dict):
|
|
90
|
+
result[attr] = dict(map(
|
|
91
|
+
lambda item: (item[0], item[1].to_dict())
|
|
92
|
+
if hasattr(item[1], "to_dict") else item,
|
|
93
|
+
value.items()
|
|
94
|
+
))
|
|
95
|
+
else:
|
|
96
|
+
result[attr] = value
|
|
97
|
+
if issubclass(CreateIntegrationTaskResponse, dict):
|
|
98
|
+
for key, value in self.items():
|
|
99
|
+
result[key] = value
|
|
100
|
+
|
|
101
|
+
return result
|
|
102
|
+
|
|
103
|
+
def to_str(self):
|
|
104
|
+
"""Returns the string representation of the model"""
|
|
105
|
+
return pprint.pformat(self.to_dict())
|
|
106
|
+
|
|
107
|
+
def __repr__(self):
|
|
108
|
+
"""For `print` and `pprint`"""
|
|
109
|
+
return self.to_str()
|
|
110
|
+
|
|
111
|
+
def __eq__(self, other):
|
|
112
|
+
"""Returns true if both objects are equal"""
|
|
113
|
+
if not isinstance(other, CreateIntegrationTaskResponse):
|
|
114
|
+
return False
|
|
115
|
+
|
|
116
|
+
return self.to_dict() == other.to_dict()
|
|
117
|
+
|
|
118
|
+
def __ne__(self, other):
|
|
119
|
+
"""Returns true if both objects are not equal"""
|
|
120
|
+
if not isinstance(other, CreateIntegrationTaskResponse):
|
|
121
|
+
return True
|
|
122
|
+
|
|
123
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -36,6 +36,7 @@ class CreateRuleFileRequest(object):
|
|
|
36
36
|
'content': 'str',
|
|
37
37
|
'description': 'str',
|
|
38
38
|
'name': 'str',
|
|
39
|
+
'target_workspace_id': 'str',
|
|
39
40
|
'workspace_id': 'str'
|
|
40
41
|
}
|
|
41
42
|
|
|
@@ -43,10 +44,11 @@ class CreateRuleFileRequest(object):
|
|
|
43
44
|
'content': 'Content',
|
|
44
45
|
'description': 'Description',
|
|
45
46
|
'name': 'Name',
|
|
47
|
+
'target_workspace_id': 'TargetWorkspaceId',
|
|
46
48
|
'workspace_id': 'WorkspaceId'
|
|
47
49
|
}
|
|
48
50
|
|
|
49
|
-
def __init__(self, content=None, description=None, name=None, workspace_id=None, _configuration=None): # noqa: E501
|
|
51
|
+
def __init__(self, content=None, description=None, name=None, target_workspace_id=None, workspace_id=None, _configuration=None): # noqa: E501
|
|
50
52
|
"""CreateRuleFileRequest - a model defined in Swagger""" # noqa: E501
|
|
51
53
|
if _configuration is None:
|
|
52
54
|
_configuration = Configuration()
|
|
@@ -55,6 +57,7 @@ class CreateRuleFileRequest(object):
|
|
|
55
57
|
self._content = None
|
|
56
58
|
self._description = None
|
|
57
59
|
self._name = None
|
|
60
|
+
self._target_workspace_id = None
|
|
58
61
|
self._workspace_id = None
|
|
59
62
|
self.discriminator = None
|
|
60
63
|
|
|
@@ -62,6 +65,8 @@ class CreateRuleFileRequest(object):
|
|
|
62
65
|
if description is not None:
|
|
63
66
|
self.description = description
|
|
64
67
|
self.name = name
|
|
68
|
+
if target_workspace_id is not None:
|
|
69
|
+
self.target_workspace_id = target_workspace_id
|
|
65
70
|
self.workspace_id = workspace_id
|
|
66
71
|
|
|
67
72
|
@property
|
|
@@ -131,6 +136,27 @@ class CreateRuleFileRequest(object):
|
|
|
131
136
|
|
|
132
137
|
self._name = name
|
|
133
138
|
|
|
139
|
+
@property
|
|
140
|
+
def target_workspace_id(self):
|
|
141
|
+
"""Gets the target_workspace_id of this CreateRuleFileRequest. # noqa: E501
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
:return: The target_workspace_id of this CreateRuleFileRequest. # noqa: E501
|
|
145
|
+
:rtype: str
|
|
146
|
+
"""
|
|
147
|
+
return self._target_workspace_id
|
|
148
|
+
|
|
149
|
+
@target_workspace_id.setter
|
|
150
|
+
def target_workspace_id(self, target_workspace_id):
|
|
151
|
+
"""Sets the target_workspace_id of this CreateRuleFileRequest.
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
:param target_workspace_id: The target_workspace_id of this CreateRuleFileRequest. # noqa: E501
|
|
155
|
+
:type: str
|
|
156
|
+
"""
|
|
157
|
+
|
|
158
|
+
self._target_workspace_id = target_workspace_id
|
|
159
|
+
|
|
134
160
|
@property
|
|
135
161
|
def workspace_id(self):
|
|
136
162
|
"""Gets the workspace_id of this CreateRuleFileRequest. # noqa: E501
|