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,227 @@
|
|
|
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 ListConfigForGetTaskOutput(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
|
+
'generate_report': 'bool',
|
|
37
|
+
'list_include_begin_time': 'str',
|
|
38
|
+
'list_include_bucket_keys': 'ListIncludeBucketKeysForGetTaskOutput',
|
|
39
|
+
'list_include_end_time': 'str',
|
|
40
|
+
'list_include_prefixes': 'list[str]'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
attribute_map = {
|
|
44
|
+
'generate_report': 'GenerateReport',
|
|
45
|
+
'list_include_begin_time': 'ListIncludeBeginTime',
|
|
46
|
+
'list_include_bucket_keys': 'ListIncludeBucketKeys',
|
|
47
|
+
'list_include_end_time': 'ListIncludeEndTime',
|
|
48
|
+
'list_include_prefixes': 'ListIncludePrefixes'
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
def __init__(self, generate_report=None, list_include_begin_time=None, list_include_bucket_keys=None, list_include_end_time=None, list_include_prefixes=None, _configuration=None): # noqa: E501
|
|
52
|
+
"""ListConfigForGetTaskOutput - a model defined in Swagger""" # noqa: E501
|
|
53
|
+
if _configuration is None:
|
|
54
|
+
_configuration = Configuration()
|
|
55
|
+
self._configuration = _configuration
|
|
56
|
+
|
|
57
|
+
self._generate_report = None
|
|
58
|
+
self._list_include_begin_time = None
|
|
59
|
+
self._list_include_bucket_keys = None
|
|
60
|
+
self._list_include_end_time = None
|
|
61
|
+
self._list_include_prefixes = None
|
|
62
|
+
self.discriminator = None
|
|
63
|
+
|
|
64
|
+
if generate_report is not None:
|
|
65
|
+
self.generate_report = generate_report
|
|
66
|
+
if list_include_begin_time is not None:
|
|
67
|
+
self.list_include_begin_time = list_include_begin_time
|
|
68
|
+
if list_include_bucket_keys is not None:
|
|
69
|
+
self.list_include_bucket_keys = list_include_bucket_keys
|
|
70
|
+
if list_include_end_time is not None:
|
|
71
|
+
self.list_include_end_time = list_include_end_time
|
|
72
|
+
if list_include_prefixes is not None:
|
|
73
|
+
self.list_include_prefixes = list_include_prefixes
|
|
74
|
+
|
|
75
|
+
@property
|
|
76
|
+
def generate_report(self):
|
|
77
|
+
"""Gets the generate_report of this ListConfigForGetTaskOutput. # noqa: E501
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:return: The generate_report of this ListConfigForGetTaskOutput. # noqa: E501
|
|
81
|
+
:rtype: bool
|
|
82
|
+
"""
|
|
83
|
+
return self._generate_report
|
|
84
|
+
|
|
85
|
+
@generate_report.setter
|
|
86
|
+
def generate_report(self, generate_report):
|
|
87
|
+
"""Sets the generate_report of this ListConfigForGetTaskOutput.
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
:param generate_report: The generate_report of this ListConfigForGetTaskOutput. # noqa: E501
|
|
91
|
+
:type: bool
|
|
92
|
+
"""
|
|
93
|
+
|
|
94
|
+
self._generate_report = generate_report
|
|
95
|
+
|
|
96
|
+
@property
|
|
97
|
+
def list_include_begin_time(self):
|
|
98
|
+
"""Gets the list_include_begin_time of this ListConfigForGetTaskOutput. # noqa: E501
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:return: The list_include_begin_time of this ListConfigForGetTaskOutput. # noqa: E501
|
|
102
|
+
:rtype: str
|
|
103
|
+
"""
|
|
104
|
+
return self._list_include_begin_time
|
|
105
|
+
|
|
106
|
+
@list_include_begin_time.setter
|
|
107
|
+
def list_include_begin_time(self, list_include_begin_time):
|
|
108
|
+
"""Sets the list_include_begin_time of this ListConfigForGetTaskOutput.
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
:param list_include_begin_time: The list_include_begin_time of this ListConfigForGetTaskOutput. # noqa: E501
|
|
112
|
+
:type: str
|
|
113
|
+
"""
|
|
114
|
+
|
|
115
|
+
self._list_include_begin_time = list_include_begin_time
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
def list_include_bucket_keys(self):
|
|
119
|
+
"""Gets the list_include_bucket_keys of this ListConfigForGetTaskOutput. # noqa: E501
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:return: The list_include_bucket_keys of this ListConfigForGetTaskOutput. # noqa: E501
|
|
123
|
+
:rtype: ListIncludeBucketKeysForGetTaskOutput
|
|
124
|
+
"""
|
|
125
|
+
return self._list_include_bucket_keys
|
|
126
|
+
|
|
127
|
+
@list_include_bucket_keys.setter
|
|
128
|
+
def list_include_bucket_keys(self, list_include_bucket_keys):
|
|
129
|
+
"""Sets the list_include_bucket_keys of this ListConfigForGetTaskOutput.
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
:param list_include_bucket_keys: The list_include_bucket_keys of this ListConfigForGetTaskOutput. # noqa: E501
|
|
133
|
+
:type: ListIncludeBucketKeysForGetTaskOutput
|
|
134
|
+
"""
|
|
135
|
+
|
|
136
|
+
self._list_include_bucket_keys = list_include_bucket_keys
|
|
137
|
+
|
|
138
|
+
@property
|
|
139
|
+
def list_include_end_time(self):
|
|
140
|
+
"""Gets the list_include_end_time of this ListConfigForGetTaskOutput. # noqa: E501
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
:return: The list_include_end_time of this ListConfigForGetTaskOutput. # noqa: E501
|
|
144
|
+
:rtype: str
|
|
145
|
+
"""
|
|
146
|
+
return self._list_include_end_time
|
|
147
|
+
|
|
148
|
+
@list_include_end_time.setter
|
|
149
|
+
def list_include_end_time(self, list_include_end_time):
|
|
150
|
+
"""Sets the list_include_end_time of this ListConfigForGetTaskOutput.
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
:param list_include_end_time: The list_include_end_time of this ListConfigForGetTaskOutput. # noqa: E501
|
|
154
|
+
:type: str
|
|
155
|
+
"""
|
|
156
|
+
|
|
157
|
+
self._list_include_end_time = list_include_end_time
|
|
158
|
+
|
|
159
|
+
@property
|
|
160
|
+
def list_include_prefixes(self):
|
|
161
|
+
"""Gets the list_include_prefixes of this ListConfigForGetTaskOutput. # noqa: E501
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
:return: The list_include_prefixes of this ListConfigForGetTaskOutput. # noqa: E501
|
|
165
|
+
:rtype: list[str]
|
|
166
|
+
"""
|
|
167
|
+
return self._list_include_prefixes
|
|
168
|
+
|
|
169
|
+
@list_include_prefixes.setter
|
|
170
|
+
def list_include_prefixes(self, list_include_prefixes):
|
|
171
|
+
"""Sets the list_include_prefixes of this ListConfigForGetTaskOutput.
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
:param list_include_prefixes: The list_include_prefixes of this ListConfigForGetTaskOutput. # noqa: E501
|
|
175
|
+
:type: list[str]
|
|
176
|
+
"""
|
|
177
|
+
|
|
178
|
+
self._list_include_prefixes = list_include_prefixes
|
|
179
|
+
|
|
180
|
+
def to_dict(self):
|
|
181
|
+
"""Returns the model properties as a dict"""
|
|
182
|
+
result = {}
|
|
183
|
+
|
|
184
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
185
|
+
value = getattr(self, attr)
|
|
186
|
+
if isinstance(value, list):
|
|
187
|
+
result[attr] = list(map(
|
|
188
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
189
|
+
value
|
|
190
|
+
))
|
|
191
|
+
elif hasattr(value, "to_dict"):
|
|
192
|
+
result[attr] = value.to_dict()
|
|
193
|
+
elif isinstance(value, dict):
|
|
194
|
+
result[attr] = dict(map(
|
|
195
|
+
lambda item: (item[0], item[1].to_dict())
|
|
196
|
+
if hasattr(item[1], "to_dict") else item,
|
|
197
|
+
value.items()
|
|
198
|
+
))
|
|
199
|
+
else:
|
|
200
|
+
result[attr] = value
|
|
201
|
+
if issubclass(ListConfigForGetTaskOutput, dict):
|
|
202
|
+
for key, value in self.items():
|
|
203
|
+
result[key] = value
|
|
204
|
+
|
|
205
|
+
return result
|
|
206
|
+
|
|
207
|
+
def to_str(self):
|
|
208
|
+
"""Returns the string representation of the model"""
|
|
209
|
+
return pprint.pformat(self.to_dict())
|
|
210
|
+
|
|
211
|
+
def __repr__(self):
|
|
212
|
+
"""For `print` and `pprint`"""
|
|
213
|
+
return self.to_str()
|
|
214
|
+
|
|
215
|
+
def __eq__(self, other):
|
|
216
|
+
"""Returns true if both objects are equal"""
|
|
217
|
+
if not isinstance(other, ListConfigForGetTaskOutput):
|
|
218
|
+
return False
|
|
219
|
+
|
|
220
|
+
return self.to_dict() == other.to_dict()
|
|
221
|
+
|
|
222
|
+
def __ne__(self, other):
|
|
223
|
+
"""Returns true if both objects are not equal"""
|
|
224
|
+
if not isinstance(other, ListConfigForGetTaskOutput):
|
|
225
|
+
return True
|
|
226
|
+
|
|
227
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,227 @@
|
|
|
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 ListConfigForListTasksOutput(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
|
+
'generate_report': 'bool',
|
|
37
|
+
'list_include_begin_time': 'str',
|
|
38
|
+
'list_include_bucket_keys': 'ListIncludeBucketKeysForListTasksOutput',
|
|
39
|
+
'list_include_end_time': 'str',
|
|
40
|
+
'list_include_prefixes': 'list[str]'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
attribute_map = {
|
|
44
|
+
'generate_report': 'GenerateReport',
|
|
45
|
+
'list_include_begin_time': 'ListIncludeBeginTime',
|
|
46
|
+
'list_include_bucket_keys': 'ListIncludeBucketKeys',
|
|
47
|
+
'list_include_end_time': 'ListIncludeEndTime',
|
|
48
|
+
'list_include_prefixes': 'ListIncludePrefixes'
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
def __init__(self, generate_report=None, list_include_begin_time=None, list_include_bucket_keys=None, list_include_end_time=None, list_include_prefixes=None, _configuration=None): # noqa: E501
|
|
52
|
+
"""ListConfigForListTasksOutput - a model defined in Swagger""" # noqa: E501
|
|
53
|
+
if _configuration is None:
|
|
54
|
+
_configuration = Configuration()
|
|
55
|
+
self._configuration = _configuration
|
|
56
|
+
|
|
57
|
+
self._generate_report = None
|
|
58
|
+
self._list_include_begin_time = None
|
|
59
|
+
self._list_include_bucket_keys = None
|
|
60
|
+
self._list_include_end_time = None
|
|
61
|
+
self._list_include_prefixes = None
|
|
62
|
+
self.discriminator = None
|
|
63
|
+
|
|
64
|
+
if generate_report is not None:
|
|
65
|
+
self.generate_report = generate_report
|
|
66
|
+
if list_include_begin_time is not None:
|
|
67
|
+
self.list_include_begin_time = list_include_begin_time
|
|
68
|
+
if list_include_bucket_keys is not None:
|
|
69
|
+
self.list_include_bucket_keys = list_include_bucket_keys
|
|
70
|
+
if list_include_end_time is not None:
|
|
71
|
+
self.list_include_end_time = list_include_end_time
|
|
72
|
+
if list_include_prefixes is not None:
|
|
73
|
+
self.list_include_prefixes = list_include_prefixes
|
|
74
|
+
|
|
75
|
+
@property
|
|
76
|
+
def generate_report(self):
|
|
77
|
+
"""Gets the generate_report of this ListConfigForListTasksOutput. # noqa: E501
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:return: The generate_report of this ListConfigForListTasksOutput. # noqa: E501
|
|
81
|
+
:rtype: bool
|
|
82
|
+
"""
|
|
83
|
+
return self._generate_report
|
|
84
|
+
|
|
85
|
+
@generate_report.setter
|
|
86
|
+
def generate_report(self, generate_report):
|
|
87
|
+
"""Sets the generate_report of this ListConfigForListTasksOutput.
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
:param generate_report: The generate_report of this ListConfigForListTasksOutput. # noqa: E501
|
|
91
|
+
:type: bool
|
|
92
|
+
"""
|
|
93
|
+
|
|
94
|
+
self._generate_report = generate_report
|
|
95
|
+
|
|
96
|
+
@property
|
|
97
|
+
def list_include_begin_time(self):
|
|
98
|
+
"""Gets the list_include_begin_time of this ListConfigForListTasksOutput. # noqa: E501
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:return: The list_include_begin_time of this ListConfigForListTasksOutput. # noqa: E501
|
|
102
|
+
:rtype: str
|
|
103
|
+
"""
|
|
104
|
+
return self._list_include_begin_time
|
|
105
|
+
|
|
106
|
+
@list_include_begin_time.setter
|
|
107
|
+
def list_include_begin_time(self, list_include_begin_time):
|
|
108
|
+
"""Sets the list_include_begin_time of this ListConfigForListTasksOutput.
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
:param list_include_begin_time: The list_include_begin_time of this ListConfigForListTasksOutput. # noqa: E501
|
|
112
|
+
:type: str
|
|
113
|
+
"""
|
|
114
|
+
|
|
115
|
+
self._list_include_begin_time = list_include_begin_time
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
def list_include_bucket_keys(self):
|
|
119
|
+
"""Gets the list_include_bucket_keys of this ListConfigForListTasksOutput. # noqa: E501
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:return: The list_include_bucket_keys of this ListConfigForListTasksOutput. # noqa: E501
|
|
123
|
+
:rtype: ListIncludeBucketKeysForListTasksOutput
|
|
124
|
+
"""
|
|
125
|
+
return self._list_include_bucket_keys
|
|
126
|
+
|
|
127
|
+
@list_include_bucket_keys.setter
|
|
128
|
+
def list_include_bucket_keys(self, list_include_bucket_keys):
|
|
129
|
+
"""Sets the list_include_bucket_keys of this ListConfigForListTasksOutput.
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
:param list_include_bucket_keys: The list_include_bucket_keys of this ListConfigForListTasksOutput. # noqa: E501
|
|
133
|
+
:type: ListIncludeBucketKeysForListTasksOutput
|
|
134
|
+
"""
|
|
135
|
+
|
|
136
|
+
self._list_include_bucket_keys = list_include_bucket_keys
|
|
137
|
+
|
|
138
|
+
@property
|
|
139
|
+
def list_include_end_time(self):
|
|
140
|
+
"""Gets the list_include_end_time of this ListConfigForListTasksOutput. # noqa: E501
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
:return: The list_include_end_time of this ListConfigForListTasksOutput. # noqa: E501
|
|
144
|
+
:rtype: str
|
|
145
|
+
"""
|
|
146
|
+
return self._list_include_end_time
|
|
147
|
+
|
|
148
|
+
@list_include_end_time.setter
|
|
149
|
+
def list_include_end_time(self, list_include_end_time):
|
|
150
|
+
"""Sets the list_include_end_time of this ListConfigForListTasksOutput.
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
:param list_include_end_time: The list_include_end_time of this ListConfigForListTasksOutput. # noqa: E501
|
|
154
|
+
:type: str
|
|
155
|
+
"""
|
|
156
|
+
|
|
157
|
+
self._list_include_end_time = list_include_end_time
|
|
158
|
+
|
|
159
|
+
@property
|
|
160
|
+
def list_include_prefixes(self):
|
|
161
|
+
"""Gets the list_include_prefixes of this ListConfigForListTasksOutput. # noqa: E501
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
:return: The list_include_prefixes of this ListConfigForListTasksOutput. # noqa: E501
|
|
165
|
+
:rtype: list[str]
|
|
166
|
+
"""
|
|
167
|
+
return self._list_include_prefixes
|
|
168
|
+
|
|
169
|
+
@list_include_prefixes.setter
|
|
170
|
+
def list_include_prefixes(self, list_include_prefixes):
|
|
171
|
+
"""Sets the list_include_prefixes of this ListConfigForListTasksOutput.
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
:param list_include_prefixes: The list_include_prefixes of this ListConfigForListTasksOutput. # noqa: E501
|
|
175
|
+
:type: list[str]
|
|
176
|
+
"""
|
|
177
|
+
|
|
178
|
+
self._list_include_prefixes = list_include_prefixes
|
|
179
|
+
|
|
180
|
+
def to_dict(self):
|
|
181
|
+
"""Returns the model properties as a dict"""
|
|
182
|
+
result = {}
|
|
183
|
+
|
|
184
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
185
|
+
value = getattr(self, attr)
|
|
186
|
+
if isinstance(value, list):
|
|
187
|
+
result[attr] = list(map(
|
|
188
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
189
|
+
value
|
|
190
|
+
))
|
|
191
|
+
elif hasattr(value, "to_dict"):
|
|
192
|
+
result[attr] = value.to_dict()
|
|
193
|
+
elif isinstance(value, dict):
|
|
194
|
+
result[attr] = dict(map(
|
|
195
|
+
lambda item: (item[0], item[1].to_dict())
|
|
196
|
+
if hasattr(item[1], "to_dict") else item,
|
|
197
|
+
value.items()
|
|
198
|
+
))
|
|
199
|
+
else:
|
|
200
|
+
result[attr] = value
|
|
201
|
+
if issubclass(ListConfigForListTasksOutput, dict):
|
|
202
|
+
for key, value in self.items():
|
|
203
|
+
result[key] = value
|
|
204
|
+
|
|
205
|
+
return result
|
|
206
|
+
|
|
207
|
+
def to_str(self):
|
|
208
|
+
"""Returns the string representation of the model"""
|
|
209
|
+
return pprint.pformat(self.to_dict())
|
|
210
|
+
|
|
211
|
+
def __repr__(self):
|
|
212
|
+
"""For `print` and `pprint`"""
|
|
213
|
+
return self.to_str()
|
|
214
|
+
|
|
215
|
+
def __eq__(self, other):
|
|
216
|
+
"""Returns true if both objects are equal"""
|
|
217
|
+
if not isinstance(other, ListConfigForListTasksOutput):
|
|
218
|
+
return False
|
|
219
|
+
|
|
220
|
+
return self.to_dict() == other.to_dict()
|
|
221
|
+
|
|
222
|
+
def __ne__(self, other):
|
|
223
|
+
"""Returns true if both objects are not equal"""
|
|
224
|
+
if not isinstance(other, ListConfigForListTasksOutput):
|
|
225
|
+
return True
|
|
226
|
+
|
|
227
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,201 @@
|
|
|
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 ListIncludeBucketKeysForCreateTaskInput(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
|
+
'ak': 'str',
|
|
37
|
+
'bucket': 'str',
|
|
38
|
+
'keys': 'list[str]',
|
|
39
|
+
'sk': 'str'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'ak': 'Ak',
|
|
44
|
+
'bucket': 'Bucket',
|
|
45
|
+
'keys': 'Keys',
|
|
46
|
+
'sk': 'Sk'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, ak=None, bucket=None, keys=None, sk=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""ListIncludeBucketKeysForCreateTaskInput - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._ak = None
|
|
56
|
+
self._bucket = None
|
|
57
|
+
self._keys = None
|
|
58
|
+
self._sk = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
if ak is not None:
|
|
62
|
+
self.ak = ak
|
|
63
|
+
if bucket is not None:
|
|
64
|
+
self.bucket = bucket
|
|
65
|
+
if keys is not None:
|
|
66
|
+
self.keys = keys
|
|
67
|
+
if sk is not None:
|
|
68
|
+
self.sk = sk
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def ak(self):
|
|
72
|
+
"""Gets the ak of this ListIncludeBucketKeysForCreateTaskInput. # noqa: E501
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:return: The ak of this ListIncludeBucketKeysForCreateTaskInput. # noqa: E501
|
|
76
|
+
:rtype: str
|
|
77
|
+
"""
|
|
78
|
+
return self._ak
|
|
79
|
+
|
|
80
|
+
@ak.setter
|
|
81
|
+
def ak(self, ak):
|
|
82
|
+
"""Sets the ak of this ListIncludeBucketKeysForCreateTaskInput.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:param ak: The ak of this ListIncludeBucketKeysForCreateTaskInput. # noqa: E501
|
|
86
|
+
:type: str
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
self._ak = ak
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def bucket(self):
|
|
93
|
+
"""Gets the bucket of this ListIncludeBucketKeysForCreateTaskInput. # noqa: E501
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:return: The bucket of this ListIncludeBucketKeysForCreateTaskInput. # noqa: E501
|
|
97
|
+
:rtype: str
|
|
98
|
+
"""
|
|
99
|
+
return self._bucket
|
|
100
|
+
|
|
101
|
+
@bucket.setter
|
|
102
|
+
def bucket(self, bucket):
|
|
103
|
+
"""Sets the bucket of this ListIncludeBucketKeysForCreateTaskInput.
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:param bucket: The bucket of this ListIncludeBucketKeysForCreateTaskInput. # noqa: E501
|
|
107
|
+
:type: str
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
self._bucket = bucket
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def keys(self):
|
|
114
|
+
"""Gets the keys of this ListIncludeBucketKeysForCreateTaskInput. # noqa: E501
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
:return: The keys of this ListIncludeBucketKeysForCreateTaskInput. # noqa: E501
|
|
118
|
+
:rtype: list[str]
|
|
119
|
+
"""
|
|
120
|
+
return self._keys
|
|
121
|
+
|
|
122
|
+
@keys.setter
|
|
123
|
+
def keys(self, keys):
|
|
124
|
+
"""Sets the keys of this ListIncludeBucketKeysForCreateTaskInput.
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:param keys: The keys of this ListIncludeBucketKeysForCreateTaskInput. # noqa: E501
|
|
128
|
+
:type: list[str]
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
self._keys = keys
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
def sk(self):
|
|
135
|
+
"""Gets the sk of this ListIncludeBucketKeysForCreateTaskInput. # noqa: E501
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
:return: The sk of this ListIncludeBucketKeysForCreateTaskInput. # noqa: E501
|
|
139
|
+
:rtype: str
|
|
140
|
+
"""
|
|
141
|
+
return self._sk
|
|
142
|
+
|
|
143
|
+
@sk.setter
|
|
144
|
+
def sk(self, sk):
|
|
145
|
+
"""Sets the sk of this ListIncludeBucketKeysForCreateTaskInput.
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:param sk: The sk of this ListIncludeBucketKeysForCreateTaskInput. # noqa: E501
|
|
149
|
+
:type: str
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
self._sk = sk
|
|
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(ListIncludeBucketKeysForCreateTaskInput, 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, ListIncludeBucketKeysForCreateTaskInput):
|
|
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, ListIncludeBucketKeysForCreateTaskInput):
|
|
199
|
+
return True
|
|
200
|
+
|
|
201
|
+
return self.to_dict() != other.to_dict()
|