huaweicloudsdksfsturbo 3.1.160__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.
- huaweicloudsdksfsturbo/__init__.py +0 -0
- huaweicloudsdksfsturbo/v1/__init__.py +187 -0
- huaweicloudsdksfsturbo/v1/model/__init__.py +184 -0
- huaweicloudsdksfsturbo/v1/model/action_progress.py +115 -0
- huaweicloudsdksfsturbo/v1/model/add_active_directory_domain_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/add_active_directory_domain_request_body.py +313 -0
- huaweicloudsdksfsturbo/v1/model/add_active_directory_domain_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/auto_export_policy.py +173 -0
- huaweicloudsdksfsturbo/v1/model/batch_add_shared_tags_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/batch_add_shared_tags_request_body.py +142 -0
- huaweicloudsdksfsturbo/v1/model/batch_add_shared_tags_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/bss_info.py +200 -0
- huaweicloudsdksfsturbo/v1/model/bss_info_extend.py +115 -0
- huaweicloudsdksfsturbo/v1/model/change_security_group.py +114 -0
- huaweicloudsdksfsturbo/v1/model/change_security_group_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/change_security_group_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/change_security_group_response.py +116 -0
- huaweicloudsdksfsturbo/v1/model/change_share_charge_mode_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/change_share_charge_mode_v2_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/change_share_charge_mode_v2_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/change_share_name_req.py +110 -0
- huaweicloudsdksfsturbo/v1/model/change_share_name_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/change_share_name_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/client_ip_info.py +115 -0
- huaweicloudsdksfsturbo/v1/model/config_nas_target.py +170 -0
- huaweicloudsdksfsturbo/v1/model/create_backend_target_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/create_backend_target_request_body.py +138 -0
- huaweicloudsdksfsturbo/v1/model/create_backend_target_response.py +278 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_request_body.py +172 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_response.py +232 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_request_body.py +201 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_task_request.py +167 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_task_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_req.py +253 -0
- huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/create_ldap_config_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/create_ldap_config_request_body.py +345 -0
- huaweicloudsdksfsturbo/v1/model/create_ldap_config_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/create_perm_rule_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/create_perm_rule_response.py +116 -0
- huaweicloudsdksfsturbo/v1/model/create_perm_rules_request_body.py +114 -0
- huaweicloudsdksfsturbo/v1/model/create_share_request.py +111 -0
- huaweicloudsdksfsturbo/v1/model/create_share_request_body.py +135 -0
- huaweicloudsdksfsturbo/v1/model/create_share_response.py +174 -0
- huaweicloudsdksfsturbo/v1/model/create_shared_tag_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/create_shared_tag_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/create_shared_tag_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/delete_active_directory_domain_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/delete_active_directory_domain_request_body.py +142 -0
- huaweicloudsdksfsturbo/v1/model/delete_active_directory_domain_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/delete_backend_target_request.py +171 -0
- huaweicloudsdksfsturbo/v1/model/delete_backend_target_response.py +199 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_quota_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_quota_request_body.py +114 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_quota_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_request_body.py +114 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_task_request.py +170 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_task_response.py +112 -0
- huaweicloudsdksfsturbo/v1/model/delete_hpc_cache_task_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/delete_hpc_cache_task_response.py +112 -0
- huaweicloudsdksfsturbo/v1/model/delete_ldap_config_request.py +114 -0
- huaweicloudsdksfsturbo/v1/model/delete_ldap_config_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/delete_perm_rule_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/delete_perm_rule_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/delete_share_request.py +114 -0
- huaweicloudsdksfsturbo/v1/model/delete_share_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/delete_shared_tag_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/delete_shared_tag_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/expand_share_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/expand_share_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/expand_share_response.py +145 -0
- huaweicloudsdksfsturbo/v1/model/extend.py +168 -0
- huaweicloudsdksfsturbo/v1/model/failure_details_message.py +114 -0
- huaweicloudsdksfsturbo/v1/model/fs_dir_req.py +114 -0
- huaweicloudsdksfsturbo/v1/model/fs_dir_uasge.py +114 -0
- huaweicloudsdksfsturbo/v1/model/fs_du_info.py +198 -0
- huaweicloudsdksfsturbo/v1/model/fs_file_count.py +289 -0
- huaweicloudsdksfsturbo/v1/model/get_sub_job_detail.py +289 -0
- huaweicloudsdksfsturbo/v1/model/list_backend_targets_request.py +172 -0
- huaweicloudsdksfsturbo/v1/model/list_backend_targets_response.py +170 -0
- huaweicloudsdksfsturbo/v1/model/list_fs_tasks_request.py +200 -0
- huaweicloudsdksfsturbo/v1/model/list_fs_tasks_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/list_hpc_cache_tasks_request.py +288 -0
- huaweicloudsdksfsturbo/v1/model/list_hpc_cache_tasks_response.py +170 -0
- huaweicloudsdksfsturbo/v1/model/list_perm_rules_request.py +172 -0
- huaweicloudsdksfsturbo/v1/model/list_perm_rules_response.py +116 -0
- huaweicloudsdksfsturbo/v1/model/list_share_types_request.py +144 -0
- huaweicloudsdksfsturbo/v1/model/list_share_types_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/list_shared_tags_request.py +144 -0
- huaweicloudsdksfsturbo/v1/model/list_shared_tags_response.py +116 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_request.py +111 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_request_body.py +259 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_resource.py +202 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_response.py +170 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_request.py +144 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_response.py +145 -0
- huaweicloudsdksfsturbo/v1/model/metadata.py +231 -0
- huaweicloudsdksfsturbo/v1/model/obs_data_repository.py +192 -0
- huaweicloudsdksfsturbo/v1/model/obs_data_repository_policy.py +111 -0
- huaweicloudsdksfsturbo/v1/model/obs_target_attributes.py +202 -0
- huaweicloudsdksfsturbo/v1/model/one_fs_task_resp.py +223 -0
- huaweicloudsdksfsturbo/v1/model/one_hpc_cache_task_info_resp.py +366 -0
- huaweicloudsdksfsturbo/v1/model/one_perm_rule_request_info.py +170 -0
- huaweicloudsdksfsturbo/v1/model/one_perm_rule_response_info.py +198 -0
- huaweicloudsdksfsturbo/v1/model/req_config_hpc_cache_backend.py +110 -0
- huaweicloudsdksfsturbo/v1/model/req_update_hpc_cache_data.py +171 -0
- huaweicloudsdksfsturbo/v1/model/req_update_hpc_cache_info.py +138 -0
- huaweicloudsdksfsturbo/v1/model/resource_tag.py +142 -0
- huaweicloudsdksfsturbo/v1/model/set_hpc_cache_backend_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/set_hpc_cache_backend_response.py +112 -0
- huaweicloudsdksfsturbo/v1/model/share.py +451 -0
- huaweicloudsdksfsturbo/v1/model/share_info.py +919 -0
- huaweicloudsdksfsturbo/v1/model/share_info_feature.py +173 -0
- huaweicloudsdksfsturbo/v1/model/share_info_features.py +111 -0
- huaweicloudsdksfsturbo/v1/model/share_name.py +114 -0
- huaweicloudsdksfsturbo/v1/model/share_type_available_zone.py +144 -0
- huaweicloudsdksfsturbo/v1/model/share_type_response_body.py +368 -0
- huaweicloudsdksfsturbo/v1/model/share_type_usage.py +161 -0
- huaweicloudsdksfsturbo/v1/model/share_type_usage_bandwidth.py +144 -0
- huaweicloudsdksfsturbo/v1/model/share_type_usage_capacity.py +144 -0
- huaweicloudsdksfsturbo/v1/model/share_type_usage_quantity.py +144 -0
- huaweicloudsdksfsturbo/v1/model/share_types_attribution.py +186 -0
- huaweicloudsdksfsturbo/v1/model/share_types_attribution_bandwidth.py +231 -0
- huaweicloudsdksfsturbo/v1/model/share_types_attribution_capacity.py +173 -0
- huaweicloudsdksfsturbo/v1/model/share_types_attribution_iops.py +144 -0
- huaweicloudsdksfsturbo/v1/model/share_types_attribution_single_channel4_k_latency.py +144 -0
- huaweicloudsdksfsturbo/v1/model/show_active_directory_domain_request.py +114 -0
- huaweicloudsdksfsturbo/v1/model/show_active_directory_domain_response.py +286 -0
- huaweicloudsdksfsturbo/v1/model/show_backend_target_info_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/show_backend_target_info_response.py +278 -0
- huaweicloudsdksfsturbo/v1/model/show_backend_target_info_response_body.py +252 -0
- huaweicloudsdksfsturbo/v1/model/show_client_ip_info_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/show_client_ip_info_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/show_client_ip_info_response.py +170 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_quota_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_quota_response.py +232 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_response.py +203 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_usage_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_usage_response.py +137 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_task_request.py +170 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_task_response.py +253 -0
- huaweicloudsdksfsturbo/v1/model/show_hpc_cache_task_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/show_hpc_cache_task_response.py +402 -0
- huaweicloudsdksfsturbo/v1/model/show_job_detail_request.py +114 -0
- huaweicloudsdksfsturbo/v1/model/show_job_detail_response.py +344 -0
- huaweicloudsdksfsturbo/v1/model/show_ldap_config_request.py +114 -0
- huaweicloudsdksfsturbo/v1/model/show_ldap_config_response.py +344 -0
- huaweicloudsdksfsturbo/v1/model/show_perm_rule_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/show_perm_rule_response.py +203 -0
- huaweicloudsdksfsturbo/v1/model/show_share_request.py +114 -0
- huaweicloudsdksfsturbo/v1/model/show_share_response.py +920 -0
- huaweicloudsdksfsturbo/v1/model/show_shared_tags_request.py +114 -0
- huaweicloudsdksfsturbo/v1/model/show_shared_tags_response.py +116 -0
- huaweicloudsdksfsturbo/v1/model/tag.py +142 -0
- huaweicloudsdksfsturbo/v1/model/update_active_directory_domain_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/update_active_directory_domain_request_body.py +313 -0
- huaweicloudsdksfsturbo/v1/model/update_active_directory_domain_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_request_body.py +172 -0
- huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_response.py +232 -0
- huaweicloudsdksfsturbo/v1/model/update_hpc_share_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/update_hpc_share_request_body.py +142 -0
- huaweicloudsdksfsturbo/v1/model/update_hpc_share_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/update_ldap_config_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/update_ldap_config_request_body.py +347 -0
- huaweicloudsdksfsturbo/v1/model/update_ldap_config_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_request.py +167 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_response.py +166 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_request.py +167 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_response.py +166 -0
- huaweicloudsdksfsturbo/v1/model/update_one_perm_rule_request_info.py +144 -0
- huaweicloudsdksfsturbo/v1/model/update_perm_rule_request.py +167 -0
- huaweicloudsdksfsturbo/v1/model/update_perm_rule_response.py +203 -0
- huaweicloudsdksfsturbo/v1/region/__init__.py +0 -0
- huaweicloudsdksfsturbo/v1/region/sfsturbo_region.py +118 -0
- huaweicloudsdksfsturbo/v1/sfsturbo_async_client.py +3722 -0
- huaweicloudsdksfsturbo/v1/sfsturbo_client.py +3719 -0
- huaweicloudsdksfsturbo-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdksfsturbo-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdksfsturbo-3.1.160.dist-info/RECORD +191 -0
- huaweicloudsdksfsturbo-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdksfsturbo-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,223 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class OneFsTaskResp:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'task_id': 'str',
|
21
|
+
'status': 'str',
|
22
|
+
'dir_usage': 'FsDuInfo',
|
23
|
+
'begin_time': 'str',
|
24
|
+
'end_time': 'str'
|
25
|
+
}
|
26
|
+
|
27
|
+
attribute_map = {
|
28
|
+
'task_id': 'task_id',
|
29
|
+
'status': 'status',
|
30
|
+
'dir_usage': 'dir_usage',
|
31
|
+
'begin_time': 'begin_time',
|
32
|
+
'end_time': 'end_time'
|
33
|
+
}
|
34
|
+
|
35
|
+
def __init__(self, task_id=None, status=None, dir_usage=None, begin_time=None, end_time=None):
|
36
|
+
r"""OneFsTaskResp
|
37
|
+
|
38
|
+
The model defined in huaweicloud sdk
|
39
|
+
|
40
|
+
:param task_id: 任务ID
|
41
|
+
:type task_id: str
|
42
|
+
:param status: 任务状态, SUCCESS表示成功,DOING表示正在执行,FAIL表示失败
|
43
|
+
:type status: str
|
44
|
+
:param dir_usage:
|
45
|
+
:type dir_usage: :class:`huaweicloudsdksfsturbo.v1.FsDuInfo`
|
46
|
+
:param begin_time: 任务开始时间,UTC时间,例如:2006-01-02 15:04:05'
|
47
|
+
:type begin_time: str
|
48
|
+
:param end_time: 任务结束时间,UTC时间,例如:2006-01-02 15:04:06'
|
49
|
+
:type end_time: str
|
50
|
+
"""
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
self._task_id = None
|
55
|
+
self._status = None
|
56
|
+
self._dir_usage = None
|
57
|
+
self._begin_time = None
|
58
|
+
self._end_time = None
|
59
|
+
self.discriminator = None
|
60
|
+
|
61
|
+
self.task_id = task_id
|
62
|
+
self.status = status
|
63
|
+
if dir_usage is not None:
|
64
|
+
self.dir_usage = dir_usage
|
65
|
+
self.begin_time = begin_time
|
66
|
+
self.end_time = end_time
|
67
|
+
|
68
|
+
@property
|
69
|
+
def task_id(self):
|
70
|
+
r"""Gets the task_id of this OneFsTaskResp.
|
71
|
+
|
72
|
+
任务ID
|
73
|
+
|
74
|
+
:return: The task_id of this OneFsTaskResp.
|
75
|
+
:rtype: str
|
76
|
+
"""
|
77
|
+
return self._task_id
|
78
|
+
|
79
|
+
@task_id.setter
|
80
|
+
def task_id(self, task_id):
|
81
|
+
r"""Sets the task_id of this OneFsTaskResp.
|
82
|
+
|
83
|
+
任务ID
|
84
|
+
|
85
|
+
:param task_id: The task_id of this OneFsTaskResp.
|
86
|
+
:type task_id: str
|
87
|
+
"""
|
88
|
+
self._task_id = task_id
|
89
|
+
|
90
|
+
@property
|
91
|
+
def status(self):
|
92
|
+
r"""Gets the status of this OneFsTaskResp.
|
93
|
+
|
94
|
+
任务状态, SUCCESS表示成功,DOING表示正在执行,FAIL表示失败
|
95
|
+
|
96
|
+
:return: The status of this OneFsTaskResp.
|
97
|
+
:rtype: str
|
98
|
+
"""
|
99
|
+
return self._status
|
100
|
+
|
101
|
+
@status.setter
|
102
|
+
def status(self, status):
|
103
|
+
r"""Sets the status of this OneFsTaskResp.
|
104
|
+
|
105
|
+
任务状态, SUCCESS表示成功,DOING表示正在执行,FAIL表示失败
|
106
|
+
|
107
|
+
:param status: The status of this OneFsTaskResp.
|
108
|
+
:type status: str
|
109
|
+
"""
|
110
|
+
self._status = status
|
111
|
+
|
112
|
+
@property
|
113
|
+
def dir_usage(self):
|
114
|
+
r"""Gets the dir_usage of this OneFsTaskResp.
|
115
|
+
|
116
|
+
:return: The dir_usage of this OneFsTaskResp.
|
117
|
+
:rtype: :class:`huaweicloudsdksfsturbo.v1.FsDuInfo`
|
118
|
+
"""
|
119
|
+
return self._dir_usage
|
120
|
+
|
121
|
+
@dir_usage.setter
|
122
|
+
def dir_usage(self, dir_usage):
|
123
|
+
r"""Sets the dir_usage of this OneFsTaskResp.
|
124
|
+
|
125
|
+
:param dir_usage: The dir_usage of this OneFsTaskResp.
|
126
|
+
:type dir_usage: :class:`huaweicloudsdksfsturbo.v1.FsDuInfo`
|
127
|
+
"""
|
128
|
+
self._dir_usage = dir_usage
|
129
|
+
|
130
|
+
@property
|
131
|
+
def begin_time(self):
|
132
|
+
r"""Gets the begin_time of this OneFsTaskResp.
|
133
|
+
|
134
|
+
任务开始时间,UTC时间,例如:2006-01-02 15:04:05'
|
135
|
+
|
136
|
+
:return: The begin_time of this OneFsTaskResp.
|
137
|
+
:rtype: str
|
138
|
+
"""
|
139
|
+
return self._begin_time
|
140
|
+
|
141
|
+
@begin_time.setter
|
142
|
+
def begin_time(self, begin_time):
|
143
|
+
r"""Sets the begin_time of this OneFsTaskResp.
|
144
|
+
|
145
|
+
任务开始时间,UTC时间,例如:2006-01-02 15:04:05'
|
146
|
+
|
147
|
+
:param begin_time: The begin_time of this OneFsTaskResp.
|
148
|
+
:type begin_time: str
|
149
|
+
"""
|
150
|
+
self._begin_time = begin_time
|
151
|
+
|
152
|
+
@property
|
153
|
+
def end_time(self):
|
154
|
+
r"""Gets the end_time of this OneFsTaskResp.
|
155
|
+
|
156
|
+
任务结束时间,UTC时间,例如:2006-01-02 15:04:06'
|
157
|
+
|
158
|
+
:return: The end_time of this OneFsTaskResp.
|
159
|
+
:rtype: str
|
160
|
+
"""
|
161
|
+
return self._end_time
|
162
|
+
|
163
|
+
@end_time.setter
|
164
|
+
def end_time(self, end_time):
|
165
|
+
r"""Sets the end_time of this OneFsTaskResp.
|
166
|
+
|
167
|
+
任务结束时间,UTC时间,例如:2006-01-02 15:04:06'
|
168
|
+
|
169
|
+
:param end_time: The end_time of this OneFsTaskResp.
|
170
|
+
:type end_time: str
|
171
|
+
"""
|
172
|
+
self._end_time = end_time
|
173
|
+
|
174
|
+
def to_dict(self):
|
175
|
+
"""Returns the model properties as a dict"""
|
176
|
+
result = {}
|
177
|
+
|
178
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
179
|
+
value = getattr(self, attr)
|
180
|
+
if isinstance(value, list):
|
181
|
+
result[attr] = list(map(
|
182
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
183
|
+
value
|
184
|
+
))
|
185
|
+
elif hasattr(value, "to_dict"):
|
186
|
+
result[attr] = value.to_dict()
|
187
|
+
elif isinstance(value, dict):
|
188
|
+
result[attr] = dict(map(
|
189
|
+
lambda item: (item[0], item[1].to_dict())
|
190
|
+
if hasattr(item[1], "to_dict") else item,
|
191
|
+
value.items()
|
192
|
+
))
|
193
|
+
else:
|
194
|
+
if attr in self.sensitive_list:
|
195
|
+
result[attr] = "****"
|
196
|
+
else:
|
197
|
+
result[attr] = value
|
198
|
+
|
199
|
+
return result
|
200
|
+
|
201
|
+
def to_str(self):
|
202
|
+
"""Returns the string representation of the model"""
|
203
|
+
import simplejson as json
|
204
|
+
if six.PY2:
|
205
|
+
import sys
|
206
|
+
reload(sys)
|
207
|
+
sys.setdefaultencoding("utf-8")
|
208
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
209
|
+
|
210
|
+
def __repr__(self):
|
211
|
+
"""For `print`"""
|
212
|
+
return self.to_str()
|
213
|
+
|
214
|
+
def __eq__(self, other):
|
215
|
+
"""Returns true if both objects are equal"""
|
216
|
+
if not isinstance(other, OneFsTaskResp):
|
217
|
+
return False
|
218
|
+
|
219
|
+
return self.__dict__ == other.__dict__
|
220
|
+
|
221
|
+
def __ne__(self, other):
|
222
|
+
"""Returns true if both objects are not equal"""
|
223
|
+
return not self == other
|
@@ -0,0 +1,366 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class OneHpcCacheTaskInfoResp:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'task_id': 'str',
|
21
|
+
'type': 'str',
|
22
|
+
'status': 'str',
|
23
|
+
'src_target': 'str',
|
24
|
+
'src_prefix': 'str',
|
25
|
+
'dest_target': 'str',
|
26
|
+
'dest_prefix': 'str',
|
27
|
+
'start_time': 'str',
|
28
|
+
'end_time': 'str',
|
29
|
+
'message': 'str'
|
30
|
+
}
|
31
|
+
|
32
|
+
attribute_map = {
|
33
|
+
'task_id': 'task_id',
|
34
|
+
'type': 'type',
|
35
|
+
'status': 'status',
|
36
|
+
'src_target': 'src_target',
|
37
|
+
'src_prefix': 'src_prefix',
|
38
|
+
'dest_target': 'dest_target',
|
39
|
+
'dest_prefix': 'dest_prefix',
|
40
|
+
'start_time': 'start_time',
|
41
|
+
'end_time': 'end_time',
|
42
|
+
'message': 'message'
|
43
|
+
}
|
44
|
+
|
45
|
+
def __init__(self, task_id=None, type=None, status=None, src_target=None, src_prefix=None, dest_target=None, dest_prefix=None, start_time=None, end_time=None, message=None):
|
46
|
+
r"""OneHpcCacheTaskInfoResp
|
47
|
+
|
48
|
+
The model defined in huaweicloud sdk
|
49
|
+
|
50
|
+
:param task_id: 任务ID
|
51
|
+
:type task_id: str
|
52
|
+
:param type: 任务类型
|
53
|
+
:type type: str
|
54
|
+
:param status: 任务状态
|
55
|
+
:type status: str
|
56
|
+
:param src_target: 联动目录名称
|
57
|
+
:type src_target: str
|
58
|
+
:param src_prefix: 导入导出任务的源端路径前缀
|
59
|
+
:type src_prefix: str
|
60
|
+
:param dest_target: 和src_target保持一致
|
61
|
+
:type dest_target: str
|
62
|
+
:param dest_prefix: 和src_prefix保持一致
|
63
|
+
:type dest_prefix: str
|
64
|
+
:param start_time: 任务开始时间
|
65
|
+
:type start_time: str
|
66
|
+
:param end_time: 任务结束时间
|
67
|
+
:type end_time: str
|
68
|
+
:param message: 任务执行结果信息
|
69
|
+
:type message: str
|
70
|
+
"""
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
self._task_id = None
|
75
|
+
self._type = None
|
76
|
+
self._status = None
|
77
|
+
self._src_target = None
|
78
|
+
self._src_prefix = None
|
79
|
+
self._dest_target = None
|
80
|
+
self._dest_prefix = None
|
81
|
+
self._start_time = None
|
82
|
+
self._end_time = None
|
83
|
+
self._message = None
|
84
|
+
self.discriminator = None
|
85
|
+
|
86
|
+
self.task_id = task_id
|
87
|
+
self.type = type
|
88
|
+
self.status = status
|
89
|
+
self.src_target = src_target
|
90
|
+
self.src_prefix = src_prefix
|
91
|
+
self.dest_target = dest_target
|
92
|
+
self.dest_prefix = dest_prefix
|
93
|
+
self.start_time = start_time
|
94
|
+
self.end_time = end_time
|
95
|
+
self.message = message
|
96
|
+
|
97
|
+
@property
|
98
|
+
def task_id(self):
|
99
|
+
r"""Gets the task_id of this OneHpcCacheTaskInfoResp.
|
100
|
+
|
101
|
+
任务ID
|
102
|
+
|
103
|
+
:return: The task_id of this OneHpcCacheTaskInfoResp.
|
104
|
+
:rtype: str
|
105
|
+
"""
|
106
|
+
return self._task_id
|
107
|
+
|
108
|
+
@task_id.setter
|
109
|
+
def task_id(self, task_id):
|
110
|
+
r"""Sets the task_id of this OneHpcCacheTaskInfoResp.
|
111
|
+
|
112
|
+
任务ID
|
113
|
+
|
114
|
+
:param task_id: The task_id of this OneHpcCacheTaskInfoResp.
|
115
|
+
:type task_id: str
|
116
|
+
"""
|
117
|
+
self._task_id = task_id
|
118
|
+
|
119
|
+
@property
|
120
|
+
def type(self):
|
121
|
+
r"""Gets the type of this OneHpcCacheTaskInfoResp.
|
122
|
+
|
123
|
+
任务类型
|
124
|
+
|
125
|
+
:return: The type of this OneHpcCacheTaskInfoResp.
|
126
|
+
:rtype: str
|
127
|
+
"""
|
128
|
+
return self._type
|
129
|
+
|
130
|
+
@type.setter
|
131
|
+
def type(self, type):
|
132
|
+
r"""Sets the type of this OneHpcCacheTaskInfoResp.
|
133
|
+
|
134
|
+
任务类型
|
135
|
+
|
136
|
+
:param type: The type of this OneHpcCacheTaskInfoResp.
|
137
|
+
:type type: str
|
138
|
+
"""
|
139
|
+
self._type = type
|
140
|
+
|
141
|
+
@property
|
142
|
+
def status(self):
|
143
|
+
r"""Gets the status of this OneHpcCacheTaskInfoResp.
|
144
|
+
|
145
|
+
任务状态
|
146
|
+
|
147
|
+
:return: The status of this OneHpcCacheTaskInfoResp.
|
148
|
+
:rtype: str
|
149
|
+
"""
|
150
|
+
return self._status
|
151
|
+
|
152
|
+
@status.setter
|
153
|
+
def status(self, status):
|
154
|
+
r"""Sets the status of this OneHpcCacheTaskInfoResp.
|
155
|
+
|
156
|
+
任务状态
|
157
|
+
|
158
|
+
:param status: The status of this OneHpcCacheTaskInfoResp.
|
159
|
+
:type status: str
|
160
|
+
"""
|
161
|
+
self._status = status
|
162
|
+
|
163
|
+
@property
|
164
|
+
def src_target(self):
|
165
|
+
r"""Gets the src_target of this OneHpcCacheTaskInfoResp.
|
166
|
+
|
167
|
+
联动目录名称
|
168
|
+
|
169
|
+
:return: The src_target of this OneHpcCacheTaskInfoResp.
|
170
|
+
:rtype: str
|
171
|
+
"""
|
172
|
+
return self._src_target
|
173
|
+
|
174
|
+
@src_target.setter
|
175
|
+
def src_target(self, src_target):
|
176
|
+
r"""Sets the src_target of this OneHpcCacheTaskInfoResp.
|
177
|
+
|
178
|
+
联动目录名称
|
179
|
+
|
180
|
+
:param src_target: The src_target of this OneHpcCacheTaskInfoResp.
|
181
|
+
:type src_target: str
|
182
|
+
"""
|
183
|
+
self._src_target = src_target
|
184
|
+
|
185
|
+
@property
|
186
|
+
def src_prefix(self):
|
187
|
+
r"""Gets the src_prefix of this OneHpcCacheTaskInfoResp.
|
188
|
+
|
189
|
+
导入导出任务的源端路径前缀
|
190
|
+
|
191
|
+
:return: The src_prefix of this OneHpcCacheTaskInfoResp.
|
192
|
+
:rtype: str
|
193
|
+
"""
|
194
|
+
return self._src_prefix
|
195
|
+
|
196
|
+
@src_prefix.setter
|
197
|
+
def src_prefix(self, src_prefix):
|
198
|
+
r"""Sets the src_prefix of this OneHpcCacheTaskInfoResp.
|
199
|
+
|
200
|
+
导入导出任务的源端路径前缀
|
201
|
+
|
202
|
+
:param src_prefix: The src_prefix of this OneHpcCacheTaskInfoResp.
|
203
|
+
:type src_prefix: str
|
204
|
+
"""
|
205
|
+
self._src_prefix = src_prefix
|
206
|
+
|
207
|
+
@property
|
208
|
+
def dest_target(self):
|
209
|
+
r"""Gets the dest_target of this OneHpcCacheTaskInfoResp.
|
210
|
+
|
211
|
+
和src_target保持一致
|
212
|
+
|
213
|
+
:return: The dest_target of this OneHpcCacheTaskInfoResp.
|
214
|
+
:rtype: str
|
215
|
+
"""
|
216
|
+
return self._dest_target
|
217
|
+
|
218
|
+
@dest_target.setter
|
219
|
+
def dest_target(self, dest_target):
|
220
|
+
r"""Sets the dest_target of this OneHpcCacheTaskInfoResp.
|
221
|
+
|
222
|
+
和src_target保持一致
|
223
|
+
|
224
|
+
:param dest_target: The dest_target of this OneHpcCacheTaskInfoResp.
|
225
|
+
:type dest_target: str
|
226
|
+
"""
|
227
|
+
self._dest_target = dest_target
|
228
|
+
|
229
|
+
@property
|
230
|
+
def dest_prefix(self):
|
231
|
+
r"""Gets the dest_prefix of this OneHpcCacheTaskInfoResp.
|
232
|
+
|
233
|
+
和src_prefix保持一致
|
234
|
+
|
235
|
+
:return: The dest_prefix of this OneHpcCacheTaskInfoResp.
|
236
|
+
:rtype: str
|
237
|
+
"""
|
238
|
+
return self._dest_prefix
|
239
|
+
|
240
|
+
@dest_prefix.setter
|
241
|
+
def dest_prefix(self, dest_prefix):
|
242
|
+
r"""Sets the dest_prefix of this OneHpcCacheTaskInfoResp.
|
243
|
+
|
244
|
+
和src_prefix保持一致
|
245
|
+
|
246
|
+
:param dest_prefix: The dest_prefix of this OneHpcCacheTaskInfoResp.
|
247
|
+
:type dest_prefix: str
|
248
|
+
"""
|
249
|
+
self._dest_prefix = dest_prefix
|
250
|
+
|
251
|
+
@property
|
252
|
+
def start_time(self):
|
253
|
+
r"""Gets the start_time of this OneHpcCacheTaskInfoResp.
|
254
|
+
|
255
|
+
任务开始时间
|
256
|
+
|
257
|
+
:return: The start_time of this OneHpcCacheTaskInfoResp.
|
258
|
+
:rtype: str
|
259
|
+
"""
|
260
|
+
return self._start_time
|
261
|
+
|
262
|
+
@start_time.setter
|
263
|
+
def start_time(self, start_time):
|
264
|
+
r"""Sets the start_time of this OneHpcCacheTaskInfoResp.
|
265
|
+
|
266
|
+
任务开始时间
|
267
|
+
|
268
|
+
:param start_time: The start_time of this OneHpcCacheTaskInfoResp.
|
269
|
+
:type start_time: str
|
270
|
+
"""
|
271
|
+
self._start_time = start_time
|
272
|
+
|
273
|
+
@property
|
274
|
+
def end_time(self):
|
275
|
+
r"""Gets the end_time of this OneHpcCacheTaskInfoResp.
|
276
|
+
|
277
|
+
任务结束时间
|
278
|
+
|
279
|
+
:return: The end_time of this OneHpcCacheTaskInfoResp.
|
280
|
+
:rtype: str
|
281
|
+
"""
|
282
|
+
return self._end_time
|
283
|
+
|
284
|
+
@end_time.setter
|
285
|
+
def end_time(self, end_time):
|
286
|
+
r"""Sets the end_time of this OneHpcCacheTaskInfoResp.
|
287
|
+
|
288
|
+
任务结束时间
|
289
|
+
|
290
|
+
:param end_time: The end_time of this OneHpcCacheTaskInfoResp.
|
291
|
+
:type end_time: str
|
292
|
+
"""
|
293
|
+
self._end_time = end_time
|
294
|
+
|
295
|
+
@property
|
296
|
+
def message(self):
|
297
|
+
r"""Gets the message of this OneHpcCacheTaskInfoResp.
|
298
|
+
|
299
|
+
任务执行结果信息
|
300
|
+
|
301
|
+
:return: The message of this OneHpcCacheTaskInfoResp.
|
302
|
+
:rtype: str
|
303
|
+
"""
|
304
|
+
return self._message
|
305
|
+
|
306
|
+
@message.setter
|
307
|
+
def message(self, message):
|
308
|
+
r"""Sets the message of this OneHpcCacheTaskInfoResp.
|
309
|
+
|
310
|
+
任务执行结果信息
|
311
|
+
|
312
|
+
:param message: The message of this OneHpcCacheTaskInfoResp.
|
313
|
+
:type message: str
|
314
|
+
"""
|
315
|
+
self._message = message
|
316
|
+
|
317
|
+
def to_dict(self):
|
318
|
+
"""Returns the model properties as a dict"""
|
319
|
+
result = {}
|
320
|
+
|
321
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
322
|
+
value = getattr(self, attr)
|
323
|
+
if isinstance(value, list):
|
324
|
+
result[attr] = list(map(
|
325
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
326
|
+
value
|
327
|
+
))
|
328
|
+
elif hasattr(value, "to_dict"):
|
329
|
+
result[attr] = value.to_dict()
|
330
|
+
elif isinstance(value, dict):
|
331
|
+
result[attr] = dict(map(
|
332
|
+
lambda item: (item[0], item[1].to_dict())
|
333
|
+
if hasattr(item[1], "to_dict") else item,
|
334
|
+
value.items()
|
335
|
+
))
|
336
|
+
else:
|
337
|
+
if attr in self.sensitive_list:
|
338
|
+
result[attr] = "****"
|
339
|
+
else:
|
340
|
+
result[attr] = value
|
341
|
+
|
342
|
+
return result
|
343
|
+
|
344
|
+
def to_str(self):
|
345
|
+
"""Returns the string representation of the model"""
|
346
|
+
import simplejson as json
|
347
|
+
if six.PY2:
|
348
|
+
import sys
|
349
|
+
reload(sys)
|
350
|
+
sys.setdefaultencoding("utf-8")
|
351
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
352
|
+
|
353
|
+
def __repr__(self):
|
354
|
+
"""For `print`"""
|
355
|
+
return self.to_str()
|
356
|
+
|
357
|
+
def __eq__(self, other):
|
358
|
+
"""Returns true if both objects are equal"""
|
359
|
+
if not isinstance(other, OneHpcCacheTaskInfoResp):
|
360
|
+
return False
|
361
|
+
|
362
|
+
return self.__dict__ == other.__dict__
|
363
|
+
|
364
|
+
def __ne__(self, other):
|
365
|
+
"""Returns true if both objects are not equal"""
|
366
|
+
return not self == other
|