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,409 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
dms20250101
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class GetTaskResponse(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
|
+
'account_id': 'str',
|
|
37
|
+
'agent_group_id': 'str',
|
|
38
|
+
'create_at': 'str',
|
|
39
|
+
'destination_id': 'str',
|
|
40
|
+
'id': 'str',
|
|
41
|
+
'source_id': 'str',
|
|
42
|
+
'task_config': 'TaskConfigForGetTaskOutput',
|
|
43
|
+
'task_context': 'TaskContextForGetTaskOutput',
|
|
44
|
+
'task_name': 'str',
|
|
45
|
+
'task_status': 'str',
|
|
46
|
+
'task_type': 'str',
|
|
47
|
+
'update_at': 'str'
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
attribute_map = {
|
|
51
|
+
'account_id': 'AccountId',
|
|
52
|
+
'agent_group_id': 'AgentGroupId',
|
|
53
|
+
'create_at': 'CreateAt',
|
|
54
|
+
'destination_id': 'DestinationId',
|
|
55
|
+
'id': 'Id',
|
|
56
|
+
'source_id': 'SourceId',
|
|
57
|
+
'task_config': 'TaskConfig',
|
|
58
|
+
'task_context': 'TaskContext',
|
|
59
|
+
'task_name': 'TaskName',
|
|
60
|
+
'task_status': 'TaskStatus',
|
|
61
|
+
'task_type': 'TaskType',
|
|
62
|
+
'update_at': 'UpdateAt'
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
def __init__(self, account_id=None, agent_group_id=None, create_at=None, destination_id=None, id=None, source_id=None, task_config=None, task_context=None, task_name=None, task_status=None, task_type=None, update_at=None, _configuration=None): # noqa: E501
|
|
66
|
+
"""GetTaskResponse - a model defined in Swagger""" # noqa: E501
|
|
67
|
+
if _configuration is None:
|
|
68
|
+
_configuration = Configuration()
|
|
69
|
+
self._configuration = _configuration
|
|
70
|
+
|
|
71
|
+
self._account_id = None
|
|
72
|
+
self._agent_group_id = None
|
|
73
|
+
self._create_at = None
|
|
74
|
+
self._destination_id = None
|
|
75
|
+
self._id = None
|
|
76
|
+
self._source_id = None
|
|
77
|
+
self._task_config = None
|
|
78
|
+
self._task_context = None
|
|
79
|
+
self._task_name = None
|
|
80
|
+
self._task_status = None
|
|
81
|
+
self._task_type = None
|
|
82
|
+
self._update_at = None
|
|
83
|
+
self.discriminator = None
|
|
84
|
+
|
|
85
|
+
if account_id is not None:
|
|
86
|
+
self.account_id = account_id
|
|
87
|
+
if agent_group_id is not None:
|
|
88
|
+
self.agent_group_id = agent_group_id
|
|
89
|
+
if create_at is not None:
|
|
90
|
+
self.create_at = create_at
|
|
91
|
+
if destination_id is not None:
|
|
92
|
+
self.destination_id = destination_id
|
|
93
|
+
if id is not None:
|
|
94
|
+
self.id = id
|
|
95
|
+
if source_id is not None:
|
|
96
|
+
self.source_id = source_id
|
|
97
|
+
if task_config is not None:
|
|
98
|
+
self.task_config = task_config
|
|
99
|
+
if task_context is not None:
|
|
100
|
+
self.task_context = task_context
|
|
101
|
+
if task_name is not None:
|
|
102
|
+
self.task_name = task_name
|
|
103
|
+
if task_status is not None:
|
|
104
|
+
self.task_status = task_status
|
|
105
|
+
if task_type is not None:
|
|
106
|
+
self.task_type = task_type
|
|
107
|
+
if update_at is not None:
|
|
108
|
+
self.update_at = update_at
|
|
109
|
+
|
|
110
|
+
@property
|
|
111
|
+
def account_id(self):
|
|
112
|
+
"""Gets the account_id of this GetTaskResponse. # noqa: E501
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
:return: The account_id of this GetTaskResponse. # noqa: E501
|
|
116
|
+
:rtype: str
|
|
117
|
+
"""
|
|
118
|
+
return self._account_id
|
|
119
|
+
|
|
120
|
+
@account_id.setter
|
|
121
|
+
def account_id(self, account_id):
|
|
122
|
+
"""Sets the account_id of this GetTaskResponse.
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
:param account_id: The account_id of this GetTaskResponse. # noqa: E501
|
|
126
|
+
:type: str
|
|
127
|
+
"""
|
|
128
|
+
|
|
129
|
+
self._account_id = account_id
|
|
130
|
+
|
|
131
|
+
@property
|
|
132
|
+
def agent_group_id(self):
|
|
133
|
+
"""Gets the agent_group_id of this GetTaskResponse. # noqa: E501
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
:return: The agent_group_id of this GetTaskResponse. # noqa: E501
|
|
137
|
+
:rtype: str
|
|
138
|
+
"""
|
|
139
|
+
return self._agent_group_id
|
|
140
|
+
|
|
141
|
+
@agent_group_id.setter
|
|
142
|
+
def agent_group_id(self, agent_group_id):
|
|
143
|
+
"""Sets the agent_group_id of this GetTaskResponse.
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
:param agent_group_id: The agent_group_id of this GetTaskResponse. # noqa: E501
|
|
147
|
+
:type: str
|
|
148
|
+
"""
|
|
149
|
+
|
|
150
|
+
self._agent_group_id = agent_group_id
|
|
151
|
+
|
|
152
|
+
@property
|
|
153
|
+
def create_at(self):
|
|
154
|
+
"""Gets the create_at of this GetTaskResponse. # noqa: E501
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
:return: The create_at of this GetTaskResponse. # noqa: E501
|
|
158
|
+
:rtype: str
|
|
159
|
+
"""
|
|
160
|
+
return self._create_at
|
|
161
|
+
|
|
162
|
+
@create_at.setter
|
|
163
|
+
def create_at(self, create_at):
|
|
164
|
+
"""Sets the create_at of this GetTaskResponse.
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
:param create_at: The create_at of this GetTaskResponse. # noqa: E501
|
|
168
|
+
:type: str
|
|
169
|
+
"""
|
|
170
|
+
|
|
171
|
+
self._create_at = create_at
|
|
172
|
+
|
|
173
|
+
@property
|
|
174
|
+
def destination_id(self):
|
|
175
|
+
"""Gets the destination_id of this GetTaskResponse. # noqa: E501
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
:return: The destination_id of this GetTaskResponse. # noqa: E501
|
|
179
|
+
:rtype: str
|
|
180
|
+
"""
|
|
181
|
+
return self._destination_id
|
|
182
|
+
|
|
183
|
+
@destination_id.setter
|
|
184
|
+
def destination_id(self, destination_id):
|
|
185
|
+
"""Sets the destination_id of this GetTaskResponse.
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
:param destination_id: The destination_id of this GetTaskResponse. # noqa: E501
|
|
189
|
+
:type: str
|
|
190
|
+
"""
|
|
191
|
+
|
|
192
|
+
self._destination_id = destination_id
|
|
193
|
+
|
|
194
|
+
@property
|
|
195
|
+
def id(self):
|
|
196
|
+
"""Gets the id of this GetTaskResponse. # noqa: E501
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
:return: The id of this GetTaskResponse. # noqa: E501
|
|
200
|
+
:rtype: str
|
|
201
|
+
"""
|
|
202
|
+
return self._id
|
|
203
|
+
|
|
204
|
+
@id.setter
|
|
205
|
+
def id(self, id):
|
|
206
|
+
"""Sets the id of this GetTaskResponse.
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
:param id: The id of this GetTaskResponse. # noqa: E501
|
|
210
|
+
:type: str
|
|
211
|
+
"""
|
|
212
|
+
|
|
213
|
+
self._id = id
|
|
214
|
+
|
|
215
|
+
@property
|
|
216
|
+
def source_id(self):
|
|
217
|
+
"""Gets the source_id of this GetTaskResponse. # noqa: E501
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
:return: The source_id of this GetTaskResponse. # noqa: E501
|
|
221
|
+
:rtype: str
|
|
222
|
+
"""
|
|
223
|
+
return self._source_id
|
|
224
|
+
|
|
225
|
+
@source_id.setter
|
|
226
|
+
def source_id(self, source_id):
|
|
227
|
+
"""Sets the source_id of this GetTaskResponse.
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
:param source_id: The source_id of this GetTaskResponse. # noqa: E501
|
|
231
|
+
:type: str
|
|
232
|
+
"""
|
|
233
|
+
|
|
234
|
+
self._source_id = source_id
|
|
235
|
+
|
|
236
|
+
@property
|
|
237
|
+
def task_config(self):
|
|
238
|
+
"""Gets the task_config of this GetTaskResponse. # noqa: E501
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
:return: The task_config of this GetTaskResponse. # noqa: E501
|
|
242
|
+
:rtype: TaskConfigForGetTaskOutput
|
|
243
|
+
"""
|
|
244
|
+
return self._task_config
|
|
245
|
+
|
|
246
|
+
@task_config.setter
|
|
247
|
+
def task_config(self, task_config):
|
|
248
|
+
"""Sets the task_config of this GetTaskResponse.
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
:param task_config: The task_config of this GetTaskResponse. # noqa: E501
|
|
252
|
+
:type: TaskConfigForGetTaskOutput
|
|
253
|
+
"""
|
|
254
|
+
|
|
255
|
+
self._task_config = task_config
|
|
256
|
+
|
|
257
|
+
@property
|
|
258
|
+
def task_context(self):
|
|
259
|
+
"""Gets the task_context of this GetTaskResponse. # noqa: E501
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
:return: The task_context of this GetTaskResponse. # noqa: E501
|
|
263
|
+
:rtype: TaskContextForGetTaskOutput
|
|
264
|
+
"""
|
|
265
|
+
return self._task_context
|
|
266
|
+
|
|
267
|
+
@task_context.setter
|
|
268
|
+
def task_context(self, task_context):
|
|
269
|
+
"""Sets the task_context of this GetTaskResponse.
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
:param task_context: The task_context of this GetTaskResponse. # noqa: E501
|
|
273
|
+
:type: TaskContextForGetTaskOutput
|
|
274
|
+
"""
|
|
275
|
+
|
|
276
|
+
self._task_context = task_context
|
|
277
|
+
|
|
278
|
+
@property
|
|
279
|
+
def task_name(self):
|
|
280
|
+
"""Gets the task_name of this GetTaskResponse. # noqa: E501
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
:return: The task_name of this GetTaskResponse. # noqa: E501
|
|
284
|
+
:rtype: str
|
|
285
|
+
"""
|
|
286
|
+
return self._task_name
|
|
287
|
+
|
|
288
|
+
@task_name.setter
|
|
289
|
+
def task_name(self, task_name):
|
|
290
|
+
"""Sets the task_name of this GetTaskResponse.
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
:param task_name: The task_name of this GetTaskResponse. # noqa: E501
|
|
294
|
+
:type: str
|
|
295
|
+
"""
|
|
296
|
+
|
|
297
|
+
self._task_name = task_name
|
|
298
|
+
|
|
299
|
+
@property
|
|
300
|
+
def task_status(self):
|
|
301
|
+
"""Gets the task_status of this GetTaskResponse. # noqa: E501
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
:return: The task_status of this GetTaskResponse. # noqa: E501
|
|
305
|
+
:rtype: str
|
|
306
|
+
"""
|
|
307
|
+
return self._task_status
|
|
308
|
+
|
|
309
|
+
@task_status.setter
|
|
310
|
+
def task_status(self, task_status):
|
|
311
|
+
"""Sets the task_status of this GetTaskResponse.
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
:param task_status: The task_status of this GetTaskResponse. # noqa: E501
|
|
315
|
+
:type: str
|
|
316
|
+
"""
|
|
317
|
+
|
|
318
|
+
self._task_status = task_status
|
|
319
|
+
|
|
320
|
+
@property
|
|
321
|
+
def task_type(self):
|
|
322
|
+
"""Gets the task_type of this GetTaskResponse. # noqa: E501
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
:return: The task_type of this GetTaskResponse. # noqa: E501
|
|
326
|
+
:rtype: str
|
|
327
|
+
"""
|
|
328
|
+
return self._task_type
|
|
329
|
+
|
|
330
|
+
@task_type.setter
|
|
331
|
+
def task_type(self, task_type):
|
|
332
|
+
"""Sets the task_type of this GetTaskResponse.
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
:param task_type: The task_type of this GetTaskResponse. # noqa: E501
|
|
336
|
+
:type: str
|
|
337
|
+
"""
|
|
338
|
+
|
|
339
|
+
self._task_type = task_type
|
|
340
|
+
|
|
341
|
+
@property
|
|
342
|
+
def update_at(self):
|
|
343
|
+
"""Gets the update_at of this GetTaskResponse. # noqa: E501
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
:return: The update_at of this GetTaskResponse. # noqa: E501
|
|
347
|
+
:rtype: str
|
|
348
|
+
"""
|
|
349
|
+
return self._update_at
|
|
350
|
+
|
|
351
|
+
@update_at.setter
|
|
352
|
+
def update_at(self, update_at):
|
|
353
|
+
"""Sets the update_at of this GetTaskResponse.
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
:param update_at: The update_at of this GetTaskResponse. # noqa: E501
|
|
357
|
+
:type: str
|
|
358
|
+
"""
|
|
359
|
+
|
|
360
|
+
self._update_at = update_at
|
|
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(GetTaskResponse, 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, GetTaskResponse):
|
|
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, GetTaskResponse):
|
|
407
|
+
return True
|
|
408
|
+
|
|
409
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
dms20250101
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class ItemListForListAddressesOutput(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
|
+
'account_id': 'str',
|
|
37
|
+
'address_access_config': 'AddressAccessConfigForListAddressesOutput',
|
|
38
|
+
'address_name': 'str',
|
|
39
|
+
'address_type': 'str',
|
|
40
|
+
'create_at': 'str',
|
|
41
|
+
'id': 'str',
|
|
42
|
+
'protocol_type': 'str',
|
|
43
|
+
'update_at': 'str'
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
attribute_map = {
|
|
47
|
+
'account_id': 'AccountId',
|
|
48
|
+
'address_access_config': 'AddressAccessConfig',
|
|
49
|
+
'address_name': 'AddressName',
|
|
50
|
+
'address_type': 'AddressType',
|
|
51
|
+
'create_at': 'CreateAt',
|
|
52
|
+
'id': 'Id',
|
|
53
|
+
'protocol_type': 'ProtocolType',
|
|
54
|
+
'update_at': 'UpdateAt'
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
def __init__(self, account_id=None, address_access_config=None, address_name=None, address_type=None, create_at=None, id=None, protocol_type=None, update_at=None, _configuration=None): # noqa: E501
|
|
58
|
+
"""ItemListForListAddressesOutput - a model defined in Swagger""" # noqa: E501
|
|
59
|
+
if _configuration is None:
|
|
60
|
+
_configuration = Configuration()
|
|
61
|
+
self._configuration = _configuration
|
|
62
|
+
|
|
63
|
+
self._account_id = None
|
|
64
|
+
self._address_access_config = None
|
|
65
|
+
self._address_name = None
|
|
66
|
+
self._address_type = None
|
|
67
|
+
self._create_at = None
|
|
68
|
+
self._id = None
|
|
69
|
+
self._protocol_type = None
|
|
70
|
+
self._update_at = None
|
|
71
|
+
self.discriminator = None
|
|
72
|
+
|
|
73
|
+
if account_id is not None:
|
|
74
|
+
self.account_id = account_id
|
|
75
|
+
if address_access_config is not None:
|
|
76
|
+
self.address_access_config = address_access_config
|
|
77
|
+
if address_name is not None:
|
|
78
|
+
self.address_name = address_name
|
|
79
|
+
if address_type is not None:
|
|
80
|
+
self.address_type = address_type
|
|
81
|
+
if create_at is not None:
|
|
82
|
+
self.create_at = create_at
|
|
83
|
+
if id is not None:
|
|
84
|
+
self.id = id
|
|
85
|
+
if protocol_type is not None:
|
|
86
|
+
self.protocol_type = protocol_type
|
|
87
|
+
if update_at is not None:
|
|
88
|
+
self.update_at = update_at
|
|
89
|
+
|
|
90
|
+
@property
|
|
91
|
+
def account_id(self):
|
|
92
|
+
"""Gets the account_id of this ItemListForListAddressesOutput. # noqa: E501
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
:return: The account_id of this ItemListForListAddressesOutput. # noqa: E501
|
|
96
|
+
:rtype: str
|
|
97
|
+
"""
|
|
98
|
+
return self._account_id
|
|
99
|
+
|
|
100
|
+
@account_id.setter
|
|
101
|
+
def account_id(self, account_id):
|
|
102
|
+
"""Sets the account_id of this ItemListForListAddressesOutput.
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
:param account_id: The account_id of this ItemListForListAddressesOutput. # noqa: E501
|
|
106
|
+
:type: str
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
self._account_id = account_id
|
|
110
|
+
|
|
111
|
+
@property
|
|
112
|
+
def address_access_config(self):
|
|
113
|
+
"""Gets the address_access_config of this ItemListForListAddressesOutput. # noqa: E501
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
:return: The address_access_config of this ItemListForListAddressesOutput. # noqa: E501
|
|
117
|
+
:rtype: AddressAccessConfigForListAddressesOutput
|
|
118
|
+
"""
|
|
119
|
+
return self._address_access_config
|
|
120
|
+
|
|
121
|
+
@address_access_config.setter
|
|
122
|
+
def address_access_config(self, address_access_config):
|
|
123
|
+
"""Sets the address_access_config of this ItemListForListAddressesOutput.
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
:param address_access_config: The address_access_config of this ItemListForListAddressesOutput. # noqa: E501
|
|
127
|
+
:type: AddressAccessConfigForListAddressesOutput
|
|
128
|
+
"""
|
|
129
|
+
|
|
130
|
+
self._address_access_config = address_access_config
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
def address_name(self):
|
|
134
|
+
"""Gets the address_name of this ItemListForListAddressesOutput. # noqa: E501
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
:return: The address_name of this ItemListForListAddressesOutput. # noqa: E501
|
|
138
|
+
:rtype: str
|
|
139
|
+
"""
|
|
140
|
+
return self._address_name
|
|
141
|
+
|
|
142
|
+
@address_name.setter
|
|
143
|
+
def address_name(self, address_name):
|
|
144
|
+
"""Sets the address_name of this ItemListForListAddressesOutput.
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
:param address_name: The address_name of this ItemListForListAddressesOutput. # noqa: E501
|
|
148
|
+
:type: str
|
|
149
|
+
"""
|
|
150
|
+
|
|
151
|
+
self._address_name = address_name
|
|
152
|
+
|
|
153
|
+
@property
|
|
154
|
+
def address_type(self):
|
|
155
|
+
"""Gets the address_type of this ItemListForListAddressesOutput. # noqa: E501
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
:return: The address_type of this ItemListForListAddressesOutput. # noqa: E501
|
|
159
|
+
:rtype: str
|
|
160
|
+
"""
|
|
161
|
+
return self._address_type
|
|
162
|
+
|
|
163
|
+
@address_type.setter
|
|
164
|
+
def address_type(self, address_type):
|
|
165
|
+
"""Sets the address_type of this ItemListForListAddressesOutput.
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
:param address_type: The address_type of this ItemListForListAddressesOutput. # noqa: E501
|
|
169
|
+
:type: str
|
|
170
|
+
"""
|
|
171
|
+
|
|
172
|
+
self._address_type = address_type
|
|
173
|
+
|
|
174
|
+
@property
|
|
175
|
+
def create_at(self):
|
|
176
|
+
"""Gets the create_at of this ItemListForListAddressesOutput. # noqa: E501
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
:return: The create_at of this ItemListForListAddressesOutput. # noqa: E501
|
|
180
|
+
:rtype: str
|
|
181
|
+
"""
|
|
182
|
+
return self._create_at
|
|
183
|
+
|
|
184
|
+
@create_at.setter
|
|
185
|
+
def create_at(self, create_at):
|
|
186
|
+
"""Sets the create_at of this ItemListForListAddressesOutput.
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
:param create_at: The create_at of this ItemListForListAddressesOutput. # noqa: E501
|
|
190
|
+
:type: str
|
|
191
|
+
"""
|
|
192
|
+
|
|
193
|
+
self._create_at = create_at
|
|
194
|
+
|
|
195
|
+
@property
|
|
196
|
+
def id(self):
|
|
197
|
+
"""Gets the id of this ItemListForListAddressesOutput. # noqa: E501
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
:return: The id of this ItemListForListAddressesOutput. # noqa: E501
|
|
201
|
+
:rtype: str
|
|
202
|
+
"""
|
|
203
|
+
return self._id
|
|
204
|
+
|
|
205
|
+
@id.setter
|
|
206
|
+
def id(self, id):
|
|
207
|
+
"""Sets the id of this ItemListForListAddressesOutput.
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
:param id: The id of this ItemListForListAddressesOutput. # noqa: E501
|
|
211
|
+
:type: str
|
|
212
|
+
"""
|
|
213
|
+
|
|
214
|
+
self._id = id
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
def protocol_type(self):
|
|
218
|
+
"""Gets the protocol_type of this ItemListForListAddressesOutput. # noqa: E501
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
:return: The protocol_type of this ItemListForListAddressesOutput. # noqa: E501
|
|
222
|
+
:rtype: str
|
|
223
|
+
"""
|
|
224
|
+
return self._protocol_type
|
|
225
|
+
|
|
226
|
+
@protocol_type.setter
|
|
227
|
+
def protocol_type(self, protocol_type):
|
|
228
|
+
"""Sets the protocol_type of this ItemListForListAddressesOutput.
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
:param protocol_type: The protocol_type of this ItemListForListAddressesOutput. # noqa: E501
|
|
232
|
+
:type: str
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
self._protocol_type = protocol_type
|
|
236
|
+
|
|
237
|
+
@property
|
|
238
|
+
def update_at(self):
|
|
239
|
+
"""Gets the update_at of this ItemListForListAddressesOutput. # noqa: E501
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
:return: The update_at of this ItemListForListAddressesOutput. # noqa: E501
|
|
243
|
+
:rtype: str
|
|
244
|
+
"""
|
|
245
|
+
return self._update_at
|
|
246
|
+
|
|
247
|
+
@update_at.setter
|
|
248
|
+
def update_at(self, update_at):
|
|
249
|
+
"""Sets the update_at of this ItemListForListAddressesOutput.
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
:param update_at: The update_at of this ItemListForListAddressesOutput. # noqa: E501
|
|
253
|
+
:type: str
|
|
254
|
+
"""
|
|
255
|
+
|
|
256
|
+
self._update_at = update_at
|
|
257
|
+
|
|
258
|
+
def to_dict(self):
|
|
259
|
+
"""Returns the model properties as a dict"""
|
|
260
|
+
result = {}
|
|
261
|
+
|
|
262
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
263
|
+
value = getattr(self, attr)
|
|
264
|
+
if isinstance(value, list):
|
|
265
|
+
result[attr] = list(map(
|
|
266
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
267
|
+
value
|
|
268
|
+
))
|
|
269
|
+
elif hasattr(value, "to_dict"):
|
|
270
|
+
result[attr] = value.to_dict()
|
|
271
|
+
elif isinstance(value, dict):
|
|
272
|
+
result[attr] = dict(map(
|
|
273
|
+
lambda item: (item[0], item[1].to_dict())
|
|
274
|
+
if hasattr(item[1], "to_dict") else item,
|
|
275
|
+
value.items()
|
|
276
|
+
))
|
|
277
|
+
else:
|
|
278
|
+
result[attr] = value
|
|
279
|
+
if issubclass(ItemListForListAddressesOutput, dict):
|
|
280
|
+
for key, value in self.items():
|
|
281
|
+
result[key] = value
|
|
282
|
+
|
|
283
|
+
return result
|
|
284
|
+
|
|
285
|
+
def to_str(self):
|
|
286
|
+
"""Returns the string representation of the model"""
|
|
287
|
+
return pprint.pformat(self.to_dict())
|
|
288
|
+
|
|
289
|
+
def __repr__(self):
|
|
290
|
+
"""For `print` and `pprint`"""
|
|
291
|
+
return self.to_str()
|
|
292
|
+
|
|
293
|
+
def __eq__(self, other):
|
|
294
|
+
"""Returns true if both objects are equal"""
|
|
295
|
+
if not isinstance(other, ItemListForListAddressesOutput):
|
|
296
|
+
return False
|
|
297
|
+
|
|
298
|
+
return self.to_dict() == other.to_dict()
|
|
299
|
+
|
|
300
|
+
def __ne__(self, other):
|
|
301
|
+
"""Returns true if both objects are not equal"""
|
|
302
|
+
if not isinstance(other, ItemListForListAddressesOutput):
|
|
303
|
+
return True
|
|
304
|
+
|
|
305
|
+
return self.to_dict() != other.to_dict()
|