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,264 @@
|
|
|
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 CreateTaskRequest(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'agent_group_id': 'str',
|
|
37
|
+
'destination_id': 'str',
|
|
38
|
+
'source_id': 'str',
|
|
39
|
+
'task_config': 'TaskConfigForCreateTaskInput',
|
|
40
|
+
'task_name': 'str',
|
|
41
|
+
'task_type': 'str'
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
attribute_map = {
|
|
45
|
+
'agent_group_id': 'AgentGroupId',
|
|
46
|
+
'destination_id': 'DestinationId',
|
|
47
|
+
'source_id': 'SourceId',
|
|
48
|
+
'task_config': 'TaskConfig',
|
|
49
|
+
'task_name': 'TaskName',
|
|
50
|
+
'task_type': 'TaskType'
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
def __init__(self, agent_group_id=None, destination_id=None, source_id=None, task_config=None, task_name=None, task_type=None, _configuration=None): # noqa: E501
|
|
54
|
+
"""CreateTaskRequest - a model defined in Swagger""" # noqa: E501
|
|
55
|
+
if _configuration is None:
|
|
56
|
+
_configuration = Configuration()
|
|
57
|
+
self._configuration = _configuration
|
|
58
|
+
|
|
59
|
+
self._agent_group_id = None
|
|
60
|
+
self._destination_id = None
|
|
61
|
+
self._source_id = None
|
|
62
|
+
self._task_config = None
|
|
63
|
+
self._task_name = None
|
|
64
|
+
self._task_type = None
|
|
65
|
+
self.discriminator = None
|
|
66
|
+
|
|
67
|
+
if agent_group_id is not None:
|
|
68
|
+
self.agent_group_id = agent_group_id
|
|
69
|
+
self.destination_id = destination_id
|
|
70
|
+
self.source_id = source_id
|
|
71
|
+
if task_config is not None:
|
|
72
|
+
self.task_config = task_config
|
|
73
|
+
self.task_name = task_name
|
|
74
|
+
self.task_type = task_type
|
|
75
|
+
|
|
76
|
+
@property
|
|
77
|
+
def agent_group_id(self):
|
|
78
|
+
"""Gets the agent_group_id of this CreateTaskRequest. # noqa: E501
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
:return: The agent_group_id of this CreateTaskRequest. # noqa: E501
|
|
82
|
+
:rtype: str
|
|
83
|
+
"""
|
|
84
|
+
return self._agent_group_id
|
|
85
|
+
|
|
86
|
+
@agent_group_id.setter
|
|
87
|
+
def agent_group_id(self, agent_group_id):
|
|
88
|
+
"""Sets the agent_group_id of this CreateTaskRequest.
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:param agent_group_id: The agent_group_id of this CreateTaskRequest. # noqa: E501
|
|
92
|
+
:type: str
|
|
93
|
+
"""
|
|
94
|
+
|
|
95
|
+
self._agent_group_id = agent_group_id
|
|
96
|
+
|
|
97
|
+
@property
|
|
98
|
+
def destination_id(self):
|
|
99
|
+
"""Gets the destination_id of this CreateTaskRequest. # noqa: E501
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
:return: The destination_id of this CreateTaskRequest. # noqa: E501
|
|
103
|
+
:rtype: str
|
|
104
|
+
"""
|
|
105
|
+
return self._destination_id
|
|
106
|
+
|
|
107
|
+
@destination_id.setter
|
|
108
|
+
def destination_id(self, destination_id):
|
|
109
|
+
"""Sets the destination_id of this CreateTaskRequest.
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:param destination_id: The destination_id of this CreateTaskRequest. # noqa: E501
|
|
113
|
+
:type: str
|
|
114
|
+
"""
|
|
115
|
+
if self._configuration.client_side_validation and destination_id is None:
|
|
116
|
+
raise ValueError("Invalid value for `destination_id`, must not be `None`") # noqa: E501
|
|
117
|
+
|
|
118
|
+
self._destination_id = destination_id
|
|
119
|
+
|
|
120
|
+
@property
|
|
121
|
+
def source_id(self):
|
|
122
|
+
"""Gets the source_id of this CreateTaskRequest. # noqa: E501
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
:return: The source_id of this CreateTaskRequest. # noqa: E501
|
|
126
|
+
:rtype: str
|
|
127
|
+
"""
|
|
128
|
+
return self._source_id
|
|
129
|
+
|
|
130
|
+
@source_id.setter
|
|
131
|
+
def source_id(self, source_id):
|
|
132
|
+
"""Sets the source_id of this CreateTaskRequest.
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
:param source_id: The source_id of this CreateTaskRequest. # noqa: E501
|
|
136
|
+
:type: str
|
|
137
|
+
"""
|
|
138
|
+
if self._configuration.client_side_validation and source_id is None:
|
|
139
|
+
raise ValueError("Invalid value for `source_id`, must not be `None`") # noqa: E501
|
|
140
|
+
|
|
141
|
+
self._source_id = source_id
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
def task_config(self):
|
|
145
|
+
"""Gets the task_config of this CreateTaskRequest. # noqa: E501
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:return: The task_config of this CreateTaskRequest. # noqa: E501
|
|
149
|
+
:rtype: TaskConfigForCreateTaskInput
|
|
150
|
+
"""
|
|
151
|
+
return self._task_config
|
|
152
|
+
|
|
153
|
+
@task_config.setter
|
|
154
|
+
def task_config(self, task_config):
|
|
155
|
+
"""Sets the task_config of this CreateTaskRequest.
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
:param task_config: The task_config of this CreateTaskRequest. # noqa: E501
|
|
159
|
+
:type: TaskConfigForCreateTaskInput
|
|
160
|
+
"""
|
|
161
|
+
|
|
162
|
+
self._task_config = task_config
|
|
163
|
+
|
|
164
|
+
@property
|
|
165
|
+
def task_name(self):
|
|
166
|
+
"""Gets the task_name of this CreateTaskRequest. # noqa: E501
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
:return: The task_name of this CreateTaskRequest. # noqa: E501
|
|
170
|
+
:rtype: str
|
|
171
|
+
"""
|
|
172
|
+
return self._task_name
|
|
173
|
+
|
|
174
|
+
@task_name.setter
|
|
175
|
+
def task_name(self, task_name):
|
|
176
|
+
"""Sets the task_name of this CreateTaskRequest.
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
:param task_name: The task_name of this CreateTaskRequest. # noqa: E501
|
|
180
|
+
:type: str
|
|
181
|
+
"""
|
|
182
|
+
if self._configuration.client_side_validation and task_name is None:
|
|
183
|
+
raise ValueError("Invalid value for `task_name`, must not be `None`") # noqa: E501
|
|
184
|
+
|
|
185
|
+
self._task_name = task_name
|
|
186
|
+
|
|
187
|
+
@property
|
|
188
|
+
def task_type(self):
|
|
189
|
+
"""Gets the task_type of this CreateTaskRequest. # noqa: E501
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
:return: The task_type of this CreateTaskRequest. # noqa: E501
|
|
193
|
+
:rtype: str
|
|
194
|
+
"""
|
|
195
|
+
return self._task_type
|
|
196
|
+
|
|
197
|
+
@task_type.setter
|
|
198
|
+
def task_type(self, task_type):
|
|
199
|
+
"""Sets the task_type of this CreateTaskRequest.
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
:param task_type: The task_type of this CreateTaskRequest. # noqa: E501
|
|
203
|
+
:type: str
|
|
204
|
+
"""
|
|
205
|
+
if self._configuration.client_side_validation and task_type is None:
|
|
206
|
+
raise ValueError("Invalid value for `task_type`, must not be `None`") # noqa: E501
|
|
207
|
+
allowed_values = ["HalfManaged"] # noqa: E501
|
|
208
|
+
if (self._configuration.client_side_validation and
|
|
209
|
+
task_type not in allowed_values):
|
|
210
|
+
raise ValueError(
|
|
211
|
+
"Invalid value for `task_type` ({0}), must be one of {1}" # noqa: E501
|
|
212
|
+
.format(task_type, allowed_values)
|
|
213
|
+
)
|
|
214
|
+
|
|
215
|
+
self._task_type = task_type
|
|
216
|
+
|
|
217
|
+
def to_dict(self):
|
|
218
|
+
"""Returns the model properties as a dict"""
|
|
219
|
+
result = {}
|
|
220
|
+
|
|
221
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
222
|
+
value = getattr(self, attr)
|
|
223
|
+
if isinstance(value, list):
|
|
224
|
+
result[attr] = list(map(
|
|
225
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
226
|
+
value
|
|
227
|
+
))
|
|
228
|
+
elif hasattr(value, "to_dict"):
|
|
229
|
+
result[attr] = value.to_dict()
|
|
230
|
+
elif isinstance(value, dict):
|
|
231
|
+
result[attr] = dict(map(
|
|
232
|
+
lambda item: (item[0], item[1].to_dict())
|
|
233
|
+
if hasattr(item[1], "to_dict") else item,
|
|
234
|
+
value.items()
|
|
235
|
+
))
|
|
236
|
+
else:
|
|
237
|
+
result[attr] = value
|
|
238
|
+
if issubclass(CreateTaskRequest, dict):
|
|
239
|
+
for key, value in self.items():
|
|
240
|
+
result[key] = value
|
|
241
|
+
|
|
242
|
+
return result
|
|
243
|
+
|
|
244
|
+
def to_str(self):
|
|
245
|
+
"""Returns the string representation of the model"""
|
|
246
|
+
return pprint.pformat(self.to_dict())
|
|
247
|
+
|
|
248
|
+
def __repr__(self):
|
|
249
|
+
"""For `print` and `pprint`"""
|
|
250
|
+
return self.to_str()
|
|
251
|
+
|
|
252
|
+
def __eq__(self, other):
|
|
253
|
+
"""Returns true if both objects are equal"""
|
|
254
|
+
if not isinstance(other, CreateTaskRequest):
|
|
255
|
+
return False
|
|
256
|
+
|
|
257
|
+
return self.to_dict() == other.to_dict()
|
|
258
|
+
|
|
259
|
+
def __ne__(self, other):
|
|
260
|
+
"""Returns true if both objects are not equal"""
|
|
261
|
+
if not isinstance(other, CreateTaskRequest):
|
|
262
|
+
return True
|
|
263
|
+
|
|
264
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,149 @@
|
|
|
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 CreateTaskResponse(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
|
+
'id': 'str'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'account_id': 'AccountId',
|
|
42
|
+
'id': 'Id'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, account_id=None, id=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""CreateTaskResponse - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._account_id = None
|
|
52
|
+
self._id = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if account_id is not None:
|
|
56
|
+
self.account_id = account_id
|
|
57
|
+
if id is not None:
|
|
58
|
+
self.id = id
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def account_id(self):
|
|
62
|
+
"""Gets the account_id of this CreateTaskResponse. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The account_id of this CreateTaskResponse. # noqa: E501
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._account_id
|
|
69
|
+
|
|
70
|
+
@account_id.setter
|
|
71
|
+
def account_id(self, account_id):
|
|
72
|
+
"""Sets the account_id of this CreateTaskResponse.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param account_id: The account_id of this CreateTaskResponse. # noqa: E501
|
|
76
|
+
:type: str
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
self._account_id = account_id
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def id(self):
|
|
83
|
+
"""Gets the id of this CreateTaskResponse. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The id of this CreateTaskResponse. # noqa: E501
|
|
87
|
+
:rtype: str
|
|
88
|
+
"""
|
|
89
|
+
return self._id
|
|
90
|
+
|
|
91
|
+
@id.setter
|
|
92
|
+
def id(self, id):
|
|
93
|
+
"""Sets the id of this CreateTaskResponse.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param id: The id of this CreateTaskResponse. # noqa: E501
|
|
97
|
+
:type: str
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
self._id = id
|
|
101
|
+
|
|
102
|
+
def to_dict(self):
|
|
103
|
+
"""Returns the model properties as a dict"""
|
|
104
|
+
result = {}
|
|
105
|
+
|
|
106
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
107
|
+
value = getattr(self, attr)
|
|
108
|
+
if isinstance(value, list):
|
|
109
|
+
result[attr] = list(map(
|
|
110
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
111
|
+
value
|
|
112
|
+
))
|
|
113
|
+
elif hasattr(value, "to_dict"):
|
|
114
|
+
result[attr] = value.to_dict()
|
|
115
|
+
elif isinstance(value, dict):
|
|
116
|
+
result[attr] = dict(map(
|
|
117
|
+
lambda item: (item[0], item[1].to_dict())
|
|
118
|
+
if hasattr(item[1], "to_dict") else item,
|
|
119
|
+
value.items()
|
|
120
|
+
))
|
|
121
|
+
else:
|
|
122
|
+
result[attr] = value
|
|
123
|
+
if issubclass(CreateTaskResponse, dict):
|
|
124
|
+
for key, value in self.items():
|
|
125
|
+
result[key] = value
|
|
126
|
+
|
|
127
|
+
return result
|
|
128
|
+
|
|
129
|
+
def to_str(self):
|
|
130
|
+
"""Returns the string representation of the model"""
|
|
131
|
+
return pprint.pformat(self.to_dict())
|
|
132
|
+
|
|
133
|
+
def __repr__(self):
|
|
134
|
+
"""For `print` and `pprint`"""
|
|
135
|
+
return self.to_str()
|
|
136
|
+
|
|
137
|
+
def __eq__(self, other):
|
|
138
|
+
"""Returns true if both objects are equal"""
|
|
139
|
+
if not isinstance(other, CreateTaskResponse):
|
|
140
|
+
return False
|
|
141
|
+
|
|
142
|
+
return self.to_dict() == other.to_dict()
|
|
143
|
+
|
|
144
|
+
def __ne__(self, other):
|
|
145
|
+
"""Returns true if both objects are not equal"""
|
|
146
|
+
if not isinstance(other, CreateTaskResponse):
|
|
147
|
+
return True
|
|
148
|
+
|
|
149
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,124 @@
|
|
|
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 DeleteAddressRequest(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
|
+
"""DeleteAddressRequest - a model defined in Swagger""" # noqa: E501
|
|
45
|
+
if _configuration is None:
|
|
46
|
+
_configuration = Configuration()
|
|
47
|
+
self._configuration = _configuration
|
|
48
|
+
|
|
49
|
+
self._id = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
self.id = id
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
def id(self):
|
|
56
|
+
"""Gets the id of this DeleteAddressRequest. # noqa: E501
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
:return: The id of this DeleteAddressRequest. # noqa: E501
|
|
60
|
+
:rtype: str
|
|
61
|
+
"""
|
|
62
|
+
return self._id
|
|
63
|
+
|
|
64
|
+
@id.setter
|
|
65
|
+
def id(self, id):
|
|
66
|
+
"""Sets the id of this DeleteAddressRequest.
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
:param id: The id of this DeleteAddressRequest. # noqa: E501
|
|
70
|
+
:type: str
|
|
71
|
+
"""
|
|
72
|
+
if self._configuration.client_side_validation and id is None:
|
|
73
|
+
raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
|
|
74
|
+
|
|
75
|
+
self._id = id
|
|
76
|
+
|
|
77
|
+
def to_dict(self):
|
|
78
|
+
"""Returns the model properties as a dict"""
|
|
79
|
+
result = {}
|
|
80
|
+
|
|
81
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
82
|
+
value = getattr(self, attr)
|
|
83
|
+
if isinstance(value, list):
|
|
84
|
+
result[attr] = list(map(
|
|
85
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
86
|
+
value
|
|
87
|
+
))
|
|
88
|
+
elif hasattr(value, "to_dict"):
|
|
89
|
+
result[attr] = value.to_dict()
|
|
90
|
+
elif isinstance(value, dict):
|
|
91
|
+
result[attr] = dict(map(
|
|
92
|
+
lambda item: (item[0], item[1].to_dict())
|
|
93
|
+
if hasattr(item[1], "to_dict") else item,
|
|
94
|
+
value.items()
|
|
95
|
+
))
|
|
96
|
+
else:
|
|
97
|
+
result[attr] = value
|
|
98
|
+
if issubclass(DeleteAddressRequest, dict):
|
|
99
|
+
for key, value in self.items():
|
|
100
|
+
result[key] = value
|
|
101
|
+
|
|
102
|
+
return result
|
|
103
|
+
|
|
104
|
+
def to_str(self):
|
|
105
|
+
"""Returns the string representation of the model"""
|
|
106
|
+
return pprint.pformat(self.to_dict())
|
|
107
|
+
|
|
108
|
+
def __repr__(self):
|
|
109
|
+
"""For `print` and `pprint`"""
|
|
110
|
+
return self.to_str()
|
|
111
|
+
|
|
112
|
+
def __eq__(self, other):
|
|
113
|
+
"""Returns true if both objects are equal"""
|
|
114
|
+
if not isinstance(other, DeleteAddressRequest):
|
|
115
|
+
return False
|
|
116
|
+
|
|
117
|
+
return self.to_dict() == other.to_dict()
|
|
118
|
+
|
|
119
|
+
def __ne__(self, other):
|
|
120
|
+
"""Returns true if both objects are not equal"""
|
|
121
|
+
if not isinstance(other, DeleteAddressRequest):
|
|
122
|
+
return True
|
|
123
|
+
|
|
124
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,149 @@
|
|
|
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 DeleteAddressResponse(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
|
+
'id': 'str'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'account_id': 'AccountId',
|
|
42
|
+
'id': 'Id'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, account_id=None, id=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""DeleteAddressResponse - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._account_id = None
|
|
52
|
+
self._id = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if account_id is not None:
|
|
56
|
+
self.account_id = account_id
|
|
57
|
+
if id is not None:
|
|
58
|
+
self.id = id
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def account_id(self):
|
|
62
|
+
"""Gets the account_id of this DeleteAddressResponse. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The account_id of this DeleteAddressResponse. # noqa: E501
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._account_id
|
|
69
|
+
|
|
70
|
+
@account_id.setter
|
|
71
|
+
def account_id(self, account_id):
|
|
72
|
+
"""Sets the account_id of this DeleteAddressResponse.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param account_id: The account_id of this DeleteAddressResponse. # noqa: E501
|
|
76
|
+
:type: str
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
self._account_id = account_id
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def id(self):
|
|
83
|
+
"""Gets the id of this DeleteAddressResponse. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The id of this DeleteAddressResponse. # noqa: E501
|
|
87
|
+
:rtype: str
|
|
88
|
+
"""
|
|
89
|
+
return self._id
|
|
90
|
+
|
|
91
|
+
@id.setter
|
|
92
|
+
def id(self, id):
|
|
93
|
+
"""Sets the id of this DeleteAddressResponse.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param id: The id of this DeleteAddressResponse. # noqa: E501
|
|
97
|
+
:type: str
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
self._id = id
|
|
101
|
+
|
|
102
|
+
def to_dict(self):
|
|
103
|
+
"""Returns the model properties as a dict"""
|
|
104
|
+
result = {}
|
|
105
|
+
|
|
106
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
107
|
+
value = getattr(self, attr)
|
|
108
|
+
if isinstance(value, list):
|
|
109
|
+
result[attr] = list(map(
|
|
110
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
111
|
+
value
|
|
112
|
+
))
|
|
113
|
+
elif hasattr(value, "to_dict"):
|
|
114
|
+
result[attr] = value.to_dict()
|
|
115
|
+
elif isinstance(value, dict):
|
|
116
|
+
result[attr] = dict(map(
|
|
117
|
+
lambda item: (item[0], item[1].to_dict())
|
|
118
|
+
if hasattr(item[1], "to_dict") else item,
|
|
119
|
+
value.items()
|
|
120
|
+
))
|
|
121
|
+
else:
|
|
122
|
+
result[attr] = value
|
|
123
|
+
if issubclass(DeleteAddressResponse, dict):
|
|
124
|
+
for key, value in self.items():
|
|
125
|
+
result[key] = value
|
|
126
|
+
|
|
127
|
+
return result
|
|
128
|
+
|
|
129
|
+
def to_str(self):
|
|
130
|
+
"""Returns the string representation of the model"""
|
|
131
|
+
return pprint.pformat(self.to_dict())
|
|
132
|
+
|
|
133
|
+
def __repr__(self):
|
|
134
|
+
"""For `print` and `pprint`"""
|
|
135
|
+
return self.to_str()
|
|
136
|
+
|
|
137
|
+
def __eq__(self, other):
|
|
138
|
+
"""Returns true if both objects are equal"""
|
|
139
|
+
if not isinstance(other, DeleteAddressResponse):
|
|
140
|
+
return False
|
|
141
|
+
|
|
142
|
+
return self.to_dict() == other.to_dict()
|
|
143
|
+
|
|
144
|
+
def __ne__(self, other):
|
|
145
|
+
"""Returns true if both objects are not equal"""
|
|
146
|
+
if not isinstance(other, DeleteAddressResponse):
|
|
147
|
+
return True
|
|
148
|
+
|
|
149
|
+
return self.to_dict() != other.to_dict()
|