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,175 @@
|
|
|
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 ErrorForEnableSilencePoliciesOutput(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
|
+
'code': 'str',
|
|
37
|
+
'data': 'DataForEnableSilencePoliciesOutput',
|
|
38
|
+
'message': 'str'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'code': 'Code',
|
|
43
|
+
'data': 'Data',
|
|
44
|
+
'message': 'Message'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, code=None, data=None, message=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""ErrorForEnableSilencePoliciesOutput - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._code = None
|
|
54
|
+
self._data = None
|
|
55
|
+
self._message = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
if code is not None:
|
|
59
|
+
self.code = code
|
|
60
|
+
if data is not None:
|
|
61
|
+
self.data = data
|
|
62
|
+
if message is not None:
|
|
63
|
+
self.message = message
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def code(self):
|
|
67
|
+
"""Gets the code of this ErrorForEnableSilencePoliciesOutput. # noqa: E501
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:return: The code of this ErrorForEnableSilencePoliciesOutput. # noqa: E501
|
|
71
|
+
:rtype: str
|
|
72
|
+
"""
|
|
73
|
+
return self._code
|
|
74
|
+
|
|
75
|
+
@code.setter
|
|
76
|
+
def code(self, code):
|
|
77
|
+
"""Sets the code of this ErrorForEnableSilencePoliciesOutput.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:param code: The code of this ErrorForEnableSilencePoliciesOutput. # noqa: E501
|
|
81
|
+
:type: str
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
self._code = code
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def data(self):
|
|
88
|
+
"""Gets the data of this ErrorForEnableSilencePoliciesOutput. # noqa: E501
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:return: The data of this ErrorForEnableSilencePoliciesOutput. # noqa: E501
|
|
92
|
+
:rtype: DataForEnableSilencePoliciesOutput
|
|
93
|
+
"""
|
|
94
|
+
return self._data
|
|
95
|
+
|
|
96
|
+
@data.setter
|
|
97
|
+
def data(self, data):
|
|
98
|
+
"""Sets the data of this ErrorForEnableSilencePoliciesOutput.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param data: The data of this ErrorForEnableSilencePoliciesOutput. # noqa: E501
|
|
102
|
+
:type: DataForEnableSilencePoliciesOutput
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
self._data = data
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def message(self):
|
|
109
|
+
"""Gets the message of this ErrorForEnableSilencePoliciesOutput. # noqa: E501
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:return: The message of this ErrorForEnableSilencePoliciesOutput. # noqa: E501
|
|
113
|
+
:rtype: str
|
|
114
|
+
"""
|
|
115
|
+
return self._message
|
|
116
|
+
|
|
117
|
+
@message.setter
|
|
118
|
+
def message(self, message):
|
|
119
|
+
"""Sets the message of this ErrorForEnableSilencePoliciesOutput.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:param message: The message of this ErrorForEnableSilencePoliciesOutput. # noqa: E501
|
|
123
|
+
:type: str
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
self._message = message
|
|
127
|
+
|
|
128
|
+
def to_dict(self):
|
|
129
|
+
"""Returns the model properties as a dict"""
|
|
130
|
+
result = {}
|
|
131
|
+
|
|
132
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
133
|
+
value = getattr(self, attr)
|
|
134
|
+
if isinstance(value, list):
|
|
135
|
+
result[attr] = list(map(
|
|
136
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
137
|
+
value
|
|
138
|
+
))
|
|
139
|
+
elif hasattr(value, "to_dict"):
|
|
140
|
+
result[attr] = value.to_dict()
|
|
141
|
+
elif isinstance(value, dict):
|
|
142
|
+
result[attr] = dict(map(
|
|
143
|
+
lambda item: (item[0], item[1].to_dict())
|
|
144
|
+
if hasattr(item[1], "to_dict") else item,
|
|
145
|
+
value.items()
|
|
146
|
+
))
|
|
147
|
+
else:
|
|
148
|
+
result[attr] = value
|
|
149
|
+
if issubclass(ErrorForEnableSilencePoliciesOutput, dict):
|
|
150
|
+
for key, value in self.items():
|
|
151
|
+
result[key] = value
|
|
152
|
+
|
|
153
|
+
return result
|
|
154
|
+
|
|
155
|
+
def to_str(self):
|
|
156
|
+
"""Returns the string representation of the model"""
|
|
157
|
+
return pprint.pformat(self.to_dict())
|
|
158
|
+
|
|
159
|
+
def __repr__(self):
|
|
160
|
+
"""For `print` and `pprint`"""
|
|
161
|
+
return self.to_str()
|
|
162
|
+
|
|
163
|
+
def __eq__(self, other):
|
|
164
|
+
"""Returns true if both objects are equal"""
|
|
165
|
+
if not isinstance(other, ErrorForEnableSilencePoliciesOutput):
|
|
166
|
+
return False
|
|
167
|
+
|
|
168
|
+
return self.to_dict() == other.to_dict()
|
|
169
|
+
|
|
170
|
+
def __ne__(self, other):
|
|
171
|
+
"""Returns true if both objects are not equal"""
|
|
172
|
+
if not isinstance(other, ErrorForEnableSilencePoliciesOutput):
|
|
173
|
+
return True
|
|
174
|
+
|
|
175
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,201 @@
|
|
|
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 FilterForListSilencePoliciesInput(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
|
+
'ids': 'list[str]',
|
|
37
|
+
'name': 'str',
|
|
38
|
+
'sources': 'list[str]',
|
|
39
|
+
'status': 'str'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'ids': 'Ids',
|
|
44
|
+
'name': 'Name',
|
|
45
|
+
'sources': 'Sources',
|
|
46
|
+
'status': 'Status'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, ids=None, name=None, sources=None, status=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""FilterForListSilencePoliciesInput - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._ids = None
|
|
56
|
+
self._name = None
|
|
57
|
+
self._sources = None
|
|
58
|
+
self._status = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
if ids is not None:
|
|
62
|
+
self.ids = ids
|
|
63
|
+
if name is not None:
|
|
64
|
+
self.name = name
|
|
65
|
+
if sources is not None:
|
|
66
|
+
self.sources = sources
|
|
67
|
+
if status is not None:
|
|
68
|
+
self.status = status
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def ids(self):
|
|
72
|
+
"""Gets the ids of this FilterForListSilencePoliciesInput. # noqa: E501
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:return: The ids of this FilterForListSilencePoliciesInput. # noqa: E501
|
|
76
|
+
:rtype: list[str]
|
|
77
|
+
"""
|
|
78
|
+
return self._ids
|
|
79
|
+
|
|
80
|
+
@ids.setter
|
|
81
|
+
def ids(self, ids):
|
|
82
|
+
"""Sets the ids of this FilterForListSilencePoliciesInput.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:param ids: The ids of this FilterForListSilencePoliciesInput. # noqa: E501
|
|
86
|
+
:type: list[str]
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
self._ids = ids
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def name(self):
|
|
93
|
+
"""Gets the name of this FilterForListSilencePoliciesInput. # noqa: E501
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:return: The name of this FilterForListSilencePoliciesInput. # noqa: E501
|
|
97
|
+
:rtype: str
|
|
98
|
+
"""
|
|
99
|
+
return self._name
|
|
100
|
+
|
|
101
|
+
@name.setter
|
|
102
|
+
def name(self, name):
|
|
103
|
+
"""Sets the name of this FilterForListSilencePoliciesInput.
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:param name: The name of this FilterForListSilencePoliciesInput. # noqa: E501
|
|
107
|
+
:type: str
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
self._name = name
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def sources(self):
|
|
114
|
+
"""Gets the sources of this FilterForListSilencePoliciesInput. # noqa: E501
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
:return: The sources of this FilterForListSilencePoliciesInput. # noqa: E501
|
|
118
|
+
:rtype: list[str]
|
|
119
|
+
"""
|
|
120
|
+
return self._sources
|
|
121
|
+
|
|
122
|
+
@sources.setter
|
|
123
|
+
def sources(self, sources):
|
|
124
|
+
"""Sets the sources of this FilterForListSilencePoliciesInput.
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:param sources: The sources of this FilterForListSilencePoliciesInput. # noqa: E501
|
|
128
|
+
:type: list[str]
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
self._sources = sources
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
def status(self):
|
|
135
|
+
"""Gets the status of this FilterForListSilencePoliciesInput. # noqa: E501
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
:return: The status of this FilterForListSilencePoliciesInput. # noqa: E501
|
|
139
|
+
:rtype: str
|
|
140
|
+
"""
|
|
141
|
+
return self._status
|
|
142
|
+
|
|
143
|
+
@status.setter
|
|
144
|
+
def status(self, status):
|
|
145
|
+
"""Sets the status of this FilterForListSilencePoliciesInput.
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:param status: The status of this FilterForListSilencePoliciesInput. # noqa: E501
|
|
149
|
+
:type: str
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
self._status = status
|
|
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(FilterForListSilencePoliciesInput, 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, FilterForListSilencePoliciesInput):
|
|
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, FilterForListSilencePoliciesInput):
|
|
199
|
+
return True
|
|
200
|
+
|
|
201
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,279 @@
|
|
|
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 FiltersForListIntegrationTasksInput(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
|
+
'ids': 'list[str]',
|
|
38
|
+
'name': 'str',
|
|
39
|
+
'statuses': 'list[str]',
|
|
40
|
+
'type': 'str',
|
|
41
|
+
'vke_cluster_ids': 'list[str]',
|
|
42
|
+
'workspace_id': 'str'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
attribute_map = {
|
|
46
|
+
'environment': 'Environment',
|
|
47
|
+
'ids': 'Ids',
|
|
48
|
+
'name': 'Name',
|
|
49
|
+
'statuses': 'Statuses',
|
|
50
|
+
'type': 'Type',
|
|
51
|
+
'vke_cluster_ids': 'VkeClusterIds',
|
|
52
|
+
'workspace_id': 'WorkspaceId'
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
def __init__(self, environment=None, ids=None, name=None, statuses=None, type=None, vke_cluster_ids=None, workspace_id=None, _configuration=None): # noqa: E501
|
|
56
|
+
"""FiltersForListIntegrationTasksInput - a model defined in Swagger""" # noqa: E501
|
|
57
|
+
if _configuration is None:
|
|
58
|
+
_configuration = Configuration()
|
|
59
|
+
self._configuration = _configuration
|
|
60
|
+
|
|
61
|
+
self._environment = None
|
|
62
|
+
self._ids = None
|
|
63
|
+
self._name = None
|
|
64
|
+
self._statuses = None
|
|
65
|
+
self._type = None
|
|
66
|
+
self._vke_cluster_ids = None
|
|
67
|
+
self._workspace_id = None
|
|
68
|
+
self.discriminator = None
|
|
69
|
+
|
|
70
|
+
if environment is not None:
|
|
71
|
+
self.environment = environment
|
|
72
|
+
if ids is not None:
|
|
73
|
+
self.ids = ids
|
|
74
|
+
if name is not None:
|
|
75
|
+
self.name = name
|
|
76
|
+
if statuses is not None:
|
|
77
|
+
self.statuses = statuses
|
|
78
|
+
if type is not None:
|
|
79
|
+
self.type = type
|
|
80
|
+
if vke_cluster_ids is not None:
|
|
81
|
+
self.vke_cluster_ids = vke_cluster_ids
|
|
82
|
+
if workspace_id is not None:
|
|
83
|
+
self.workspace_id = workspace_id
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
def environment(self):
|
|
87
|
+
"""Gets the environment of this FiltersForListIntegrationTasksInput. # noqa: E501
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
:return: The environment of this FiltersForListIntegrationTasksInput. # noqa: E501
|
|
91
|
+
:rtype: str
|
|
92
|
+
"""
|
|
93
|
+
return self._environment
|
|
94
|
+
|
|
95
|
+
@environment.setter
|
|
96
|
+
def environment(self, environment):
|
|
97
|
+
"""Sets the environment of this FiltersForListIntegrationTasksInput.
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
:param environment: The environment of this FiltersForListIntegrationTasksInput. # noqa: E501
|
|
101
|
+
:type: str
|
|
102
|
+
"""
|
|
103
|
+
|
|
104
|
+
self._environment = environment
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
def ids(self):
|
|
108
|
+
"""Gets the ids of this FiltersForListIntegrationTasksInput. # noqa: E501
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
:return: The ids of this FiltersForListIntegrationTasksInput. # noqa: E501
|
|
112
|
+
:rtype: list[str]
|
|
113
|
+
"""
|
|
114
|
+
return self._ids
|
|
115
|
+
|
|
116
|
+
@ids.setter
|
|
117
|
+
def ids(self, ids):
|
|
118
|
+
"""Sets the ids of this FiltersForListIntegrationTasksInput.
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
:param ids: The ids of this FiltersForListIntegrationTasksInput. # noqa: E501
|
|
122
|
+
:type: list[str]
|
|
123
|
+
"""
|
|
124
|
+
|
|
125
|
+
self._ids = ids
|
|
126
|
+
|
|
127
|
+
@property
|
|
128
|
+
def name(self):
|
|
129
|
+
"""Gets the name of this FiltersForListIntegrationTasksInput. # noqa: E501
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
:return: The name of this FiltersForListIntegrationTasksInput. # noqa: E501
|
|
133
|
+
:rtype: str
|
|
134
|
+
"""
|
|
135
|
+
return self._name
|
|
136
|
+
|
|
137
|
+
@name.setter
|
|
138
|
+
def name(self, name):
|
|
139
|
+
"""Sets the name of this FiltersForListIntegrationTasksInput.
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
:param name: The name of this FiltersForListIntegrationTasksInput. # noqa: E501
|
|
143
|
+
:type: str
|
|
144
|
+
"""
|
|
145
|
+
|
|
146
|
+
self._name = name
|
|
147
|
+
|
|
148
|
+
@property
|
|
149
|
+
def statuses(self):
|
|
150
|
+
"""Gets the statuses of this FiltersForListIntegrationTasksInput. # noqa: E501
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
:return: The statuses of this FiltersForListIntegrationTasksInput. # noqa: E501
|
|
154
|
+
:rtype: list[str]
|
|
155
|
+
"""
|
|
156
|
+
return self._statuses
|
|
157
|
+
|
|
158
|
+
@statuses.setter
|
|
159
|
+
def statuses(self, statuses):
|
|
160
|
+
"""Sets the statuses of this FiltersForListIntegrationTasksInput.
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
:param statuses: The statuses of this FiltersForListIntegrationTasksInput. # noqa: E501
|
|
164
|
+
:type: list[str]
|
|
165
|
+
"""
|
|
166
|
+
|
|
167
|
+
self._statuses = statuses
|
|
168
|
+
|
|
169
|
+
@property
|
|
170
|
+
def type(self):
|
|
171
|
+
"""Gets the type of this FiltersForListIntegrationTasksInput. # noqa: E501
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
:return: The type of this FiltersForListIntegrationTasksInput. # noqa: E501
|
|
175
|
+
:rtype: str
|
|
176
|
+
"""
|
|
177
|
+
return self._type
|
|
178
|
+
|
|
179
|
+
@type.setter
|
|
180
|
+
def type(self, type):
|
|
181
|
+
"""Sets the type of this FiltersForListIntegrationTasksInput.
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
:param type: The type of this FiltersForListIntegrationTasksInput. # noqa: E501
|
|
185
|
+
:type: str
|
|
186
|
+
"""
|
|
187
|
+
|
|
188
|
+
self._type = type
|
|
189
|
+
|
|
190
|
+
@property
|
|
191
|
+
def vke_cluster_ids(self):
|
|
192
|
+
"""Gets the vke_cluster_ids of this FiltersForListIntegrationTasksInput. # noqa: E501
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
:return: The vke_cluster_ids of this FiltersForListIntegrationTasksInput. # noqa: E501
|
|
196
|
+
:rtype: list[str]
|
|
197
|
+
"""
|
|
198
|
+
return self._vke_cluster_ids
|
|
199
|
+
|
|
200
|
+
@vke_cluster_ids.setter
|
|
201
|
+
def vke_cluster_ids(self, vke_cluster_ids):
|
|
202
|
+
"""Sets the vke_cluster_ids of this FiltersForListIntegrationTasksInput.
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
:param vke_cluster_ids: The vke_cluster_ids of this FiltersForListIntegrationTasksInput. # noqa: E501
|
|
206
|
+
:type: list[str]
|
|
207
|
+
"""
|
|
208
|
+
|
|
209
|
+
self._vke_cluster_ids = vke_cluster_ids
|
|
210
|
+
|
|
211
|
+
@property
|
|
212
|
+
def workspace_id(self):
|
|
213
|
+
"""Gets the workspace_id of this FiltersForListIntegrationTasksInput. # noqa: E501
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
:return: The workspace_id of this FiltersForListIntegrationTasksInput. # noqa: E501
|
|
217
|
+
:rtype: str
|
|
218
|
+
"""
|
|
219
|
+
return self._workspace_id
|
|
220
|
+
|
|
221
|
+
@workspace_id.setter
|
|
222
|
+
def workspace_id(self, workspace_id):
|
|
223
|
+
"""Sets the workspace_id of this FiltersForListIntegrationTasksInput.
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
:param workspace_id: The workspace_id of this FiltersForListIntegrationTasksInput. # noqa: E501
|
|
227
|
+
:type: str
|
|
228
|
+
"""
|
|
229
|
+
|
|
230
|
+
self._workspace_id = workspace_id
|
|
231
|
+
|
|
232
|
+
def to_dict(self):
|
|
233
|
+
"""Returns the model properties as a dict"""
|
|
234
|
+
result = {}
|
|
235
|
+
|
|
236
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
237
|
+
value = getattr(self, attr)
|
|
238
|
+
if isinstance(value, list):
|
|
239
|
+
result[attr] = list(map(
|
|
240
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
241
|
+
value
|
|
242
|
+
))
|
|
243
|
+
elif hasattr(value, "to_dict"):
|
|
244
|
+
result[attr] = value.to_dict()
|
|
245
|
+
elif isinstance(value, dict):
|
|
246
|
+
result[attr] = dict(map(
|
|
247
|
+
lambda item: (item[0], item[1].to_dict())
|
|
248
|
+
if hasattr(item[1], "to_dict") else item,
|
|
249
|
+
value.items()
|
|
250
|
+
))
|
|
251
|
+
else:
|
|
252
|
+
result[attr] = value
|
|
253
|
+
if issubclass(FiltersForListIntegrationTasksInput, dict):
|
|
254
|
+
for key, value in self.items():
|
|
255
|
+
result[key] = value
|
|
256
|
+
|
|
257
|
+
return result
|
|
258
|
+
|
|
259
|
+
def to_str(self):
|
|
260
|
+
"""Returns the string representation of the model"""
|
|
261
|
+
return pprint.pformat(self.to_dict())
|
|
262
|
+
|
|
263
|
+
def __repr__(self):
|
|
264
|
+
"""For `print` and `pprint`"""
|
|
265
|
+
return self.to_str()
|
|
266
|
+
|
|
267
|
+
def __eq__(self, other):
|
|
268
|
+
"""Returns true if both objects are equal"""
|
|
269
|
+
if not isinstance(other, FiltersForListIntegrationTasksInput):
|
|
270
|
+
return False
|
|
271
|
+
|
|
272
|
+
return self.to_dict() == other.to_dict()
|
|
273
|
+
|
|
274
|
+
def __ne__(self, other):
|
|
275
|
+
"""Returns true if both objects are not equal"""
|
|
276
|
+
if not isinstance(other, FiltersForListIntegrationTasksInput):
|
|
277
|
+
return True
|
|
278
|
+
|
|
279
|
+
return self.to_dict() != other.to_dict()
|