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,200 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListFsTasksRequest:
|
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
|
+
'share_id': 'str',
|
21
|
+
'feature': 'str',
|
22
|
+
'marker': 'str',
|
23
|
+
'limit': 'int'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'share_id': 'share_id',
|
28
|
+
'feature': 'feature',
|
29
|
+
'marker': 'marker',
|
30
|
+
'limit': 'limit'
|
31
|
+
}
|
32
|
+
|
33
|
+
def __init__(self, share_id=None, feature=None, marker=None, limit=None):
|
34
|
+
r"""ListFsTasksRequest
|
35
|
+
|
36
|
+
The model defined in huaweicloud sdk
|
37
|
+
|
38
|
+
:param share_id: 文件系统id
|
39
|
+
:type share_id: str
|
40
|
+
:param feature: 任务类型。例,DU任务取值为dir-usage
|
41
|
+
:type feature: str
|
42
|
+
:param marker: marker填写为上一页返回的最后一条记录的task_id,作为下一次分页的起始值。比如,marker为d651ea2b-2b20-4c6d-8bbf-2adcec18dac9,limit为100,表示从d651ea2b-2b20-4c6d-8bbf-2adcec18dac9后返回最多100条满足查询条件的记录。
|
43
|
+
:type marker: str
|
44
|
+
:param limit: limit, 取值为正整数. 默认为20,最大值为100
|
45
|
+
:type limit: int
|
46
|
+
"""
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
self._share_id = None
|
51
|
+
self._feature = None
|
52
|
+
self._marker = None
|
53
|
+
self._limit = None
|
54
|
+
self.discriminator = None
|
55
|
+
|
56
|
+
self.share_id = share_id
|
57
|
+
self.feature = feature
|
58
|
+
if marker is not None:
|
59
|
+
self.marker = marker
|
60
|
+
if limit is not None:
|
61
|
+
self.limit = limit
|
62
|
+
|
63
|
+
@property
|
64
|
+
def share_id(self):
|
65
|
+
r"""Gets the share_id of this ListFsTasksRequest.
|
66
|
+
|
67
|
+
文件系统id
|
68
|
+
|
69
|
+
:return: The share_id of this ListFsTasksRequest.
|
70
|
+
:rtype: str
|
71
|
+
"""
|
72
|
+
return self._share_id
|
73
|
+
|
74
|
+
@share_id.setter
|
75
|
+
def share_id(self, share_id):
|
76
|
+
r"""Sets the share_id of this ListFsTasksRequest.
|
77
|
+
|
78
|
+
文件系统id
|
79
|
+
|
80
|
+
:param share_id: The share_id of this ListFsTasksRequest.
|
81
|
+
:type share_id: str
|
82
|
+
"""
|
83
|
+
self._share_id = share_id
|
84
|
+
|
85
|
+
@property
|
86
|
+
def feature(self):
|
87
|
+
r"""Gets the feature of this ListFsTasksRequest.
|
88
|
+
|
89
|
+
任务类型。例,DU任务取值为dir-usage
|
90
|
+
|
91
|
+
:return: The feature of this ListFsTasksRequest.
|
92
|
+
:rtype: str
|
93
|
+
"""
|
94
|
+
return self._feature
|
95
|
+
|
96
|
+
@feature.setter
|
97
|
+
def feature(self, feature):
|
98
|
+
r"""Sets the feature of this ListFsTasksRequest.
|
99
|
+
|
100
|
+
任务类型。例,DU任务取值为dir-usage
|
101
|
+
|
102
|
+
:param feature: The feature of this ListFsTasksRequest.
|
103
|
+
:type feature: str
|
104
|
+
"""
|
105
|
+
self._feature = feature
|
106
|
+
|
107
|
+
@property
|
108
|
+
def marker(self):
|
109
|
+
r"""Gets the marker of this ListFsTasksRequest.
|
110
|
+
|
111
|
+
marker填写为上一页返回的最后一条记录的task_id,作为下一次分页的起始值。比如,marker为d651ea2b-2b20-4c6d-8bbf-2adcec18dac9,limit为100,表示从d651ea2b-2b20-4c6d-8bbf-2adcec18dac9后返回最多100条满足查询条件的记录。
|
112
|
+
|
113
|
+
:return: The marker of this ListFsTasksRequest.
|
114
|
+
:rtype: str
|
115
|
+
"""
|
116
|
+
return self._marker
|
117
|
+
|
118
|
+
@marker.setter
|
119
|
+
def marker(self, marker):
|
120
|
+
r"""Sets the marker of this ListFsTasksRequest.
|
121
|
+
|
122
|
+
marker填写为上一页返回的最后一条记录的task_id,作为下一次分页的起始值。比如,marker为d651ea2b-2b20-4c6d-8bbf-2adcec18dac9,limit为100,表示从d651ea2b-2b20-4c6d-8bbf-2adcec18dac9后返回最多100条满足查询条件的记录。
|
123
|
+
|
124
|
+
:param marker: The marker of this ListFsTasksRequest.
|
125
|
+
:type marker: str
|
126
|
+
"""
|
127
|
+
self._marker = marker
|
128
|
+
|
129
|
+
@property
|
130
|
+
def limit(self):
|
131
|
+
r"""Gets the limit of this ListFsTasksRequest.
|
132
|
+
|
133
|
+
limit, 取值为正整数. 默认为20,最大值为100
|
134
|
+
|
135
|
+
:return: The limit of this ListFsTasksRequest.
|
136
|
+
:rtype: int
|
137
|
+
"""
|
138
|
+
return self._limit
|
139
|
+
|
140
|
+
@limit.setter
|
141
|
+
def limit(self, limit):
|
142
|
+
r"""Sets the limit of this ListFsTasksRequest.
|
143
|
+
|
144
|
+
limit, 取值为正整数. 默认为20,最大值为100
|
145
|
+
|
146
|
+
:param limit: The limit of this ListFsTasksRequest.
|
147
|
+
:type limit: int
|
148
|
+
"""
|
149
|
+
self._limit = limit
|
150
|
+
|
151
|
+
def to_dict(self):
|
152
|
+
"""Returns the model properties as a dict"""
|
153
|
+
result = {}
|
154
|
+
|
155
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
156
|
+
value = getattr(self, attr)
|
157
|
+
if isinstance(value, list):
|
158
|
+
result[attr] = list(map(
|
159
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
160
|
+
value
|
161
|
+
))
|
162
|
+
elif hasattr(value, "to_dict"):
|
163
|
+
result[attr] = value.to_dict()
|
164
|
+
elif isinstance(value, dict):
|
165
|
+
result[attr] = dict(map(
|
166
|
+
lambda item: (item[0], item[1].to_dict())
|
167
|
+
if hasattr(item[1], "to_dict") else item,
|
168
|
+
value.items()
|
169
|
+
))
|
170
|
+
else:
|
171
|
+
if attr in self.sensitive_list:
|
172
|
+
result[attr] = "****"
|
173
|
+
else:
|
174
|
+
result[attr] = value
|
175
|
+
|
176
|
+
return result
|
177
|
+
|
178
|
+
def to_str(self):
|
179
|
+
"""Returns the string representation of the model"""
|
180
|
+
import simplejson as json
|
181
|
+
if six.PY2:
|
182
|
+
import sys
|
183
|
+
reload(sys)
|
184
|
+
sys.setdefaultencoding("utf-8")
|
185
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
186
|
+
|
187
|
+
def __repr__(self):
|
188
|
+
"""For `print`"""
|
189
|
+
return self.to_str()
|
190
|
+
|
191
|
+
def __eq__(self, other):
|
192
|
+
"""Returns true if both objects are equal"""
|
193
|
+
if not isinstance(other, ListFsTasksRequest):
|
194
|
+
return False
|
195
|
+
|
196
|
+
return self.__dict__ == other.__dict__
|
197
|
+
|
198
|
+
def __ne__(self, other):
|
199
|
+
"""Returns true if both objects are not equal"""
|
200
|
+
return not self == other
|
@@ -0,0 +1,141 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
|
+
|
8
|
+
|
9
|
+
class ListFsTasksResponse(SdkResponse):
|
10
|
+
|
11
|
+
"""
|
12
|
+
Attributes:
|
13
|
+
openapi_types (dict): The key is attribute name
|
14
|
+
and the value is attribute type.
|
15
|
+
attribute_map (dict): The key is attribute name
|
16
|
+
and the value is json key in definition.
|
17
|
+
"""
|
18
|
+
sensitive_list = []
|
19
|
+
|
20
|
+
openapi_types = {
|
21
|
+
'tasks': 'list[OneFsTaskResp]',
|
22
|
+
'x_request_id': 'str'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'tasks': 'tasks',
|
27
|
+
'x_request_id': 'X-request-id'
|
28
|
+
}
|
29
|
+
|
30
|
+
def __init__(self, tasks=None, x_request_id=None):
|
31
|
+
r"""ListFsTasksResponse
|
32
|
+
|
33
|
+
The model defined in huaweicloud sdk
|
34
|
+
|
35
|
+
:param tasks: 任务列表
|
36
|
+
:type tasks: list[:class:`huaweicloudsdksfsturbo.v1.OneFsTaskResp`]
|
37
|
+
:param x_request_id:
|
38
|
+
:type x_request_id: str
|
39
|
+
"""
|
40
|
+
|
41
|
+
super(ListFsTasksResponse, self).__init__()
|
42
|
+
|
43
|
+
self._tasks = None
|
44
|
+
self._x_request_id = None
|
45
|
+
self.discriminator = None
|
46
|
+
|
47
|
+
if tasks is not None:
|
48
|
+
self.tasks = tasks
|
49
|
+
if x_request_id is not None:
|
50
|
+
self.x_request_id = x_request_id
|
51
|
+
|
52
|
+
@property
|
53
|
+
def tasks(self):
|
54
|
+
r"""Gets the tasks of this ListFsTasksResponse.
|
55
|
+
|
56
|
+
任务列表
|
57
|
+
|
58
|
+
:return: The tasks of this ListFsTasksResponse.
|
59
|
+
:rtype: list[:class:`huaweicloudsdksfsturbo.v1.OneFsTaskResp`]
|
60
|
+
"""
|
61
|
+
return self._tasks
|
62
|
+
|
63
|
+
@tasks.setter
|
64
|
+
def tasks(self, tasks):
|
65
|
+
r"""Sets the tasks of this ListFsTasksResponse.
|
66
|
+
|
67
|
+
任务列表
|
68
|
+
|
69
|
+
:param tasks: The tasks of this ListFsTasksResponse.
|
70
|
+
:type tasks: list[:class:`huaweicloudsdksfsturbo.v1.OneFsTaskResp`]
|
71
|
+
"""
|
72
|
+
self._tasks = tasks
|
73
|
+
|
74
|
+
@property
|
75
|
+
def x_request_id(self):
|
76
|
+
r"""Gets the x_request_id of this ListFsTasksResponse.
|
77
|
+
|
78
|
+
:return: The x_request_id of this ListFsTasksResponse.
|
79
|
+
:rtype: str
|
80
|
+
"""
|
81
|
+
return self._x_request_id
|
82
|
+
|
83
|
+
@x_request_id.setter
|
84
|
+
def x_request_id(self, x_request_id):
|
85
|
+
r"""Sets the x_request_id of this ListFsTasksResponse.
|
86
|
+
|
87
|
+
:param x_request_id: The x_request_id of this ListFsTasksResponse.
|
88
|
+
:type x_request_id: str
|
89
|
+
"""
|
90
|
+
self._x_request_id = x_request_id
|
91
|
+
|
92
|
+
def to_dict(self):
|
93
|
+
"""Returns the model properties as a dict"""
|
94
|
+
result = {}
|
95
|
+
|
96
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
97
|
+
value = getattr(self, attr)
|
98
|
+
if isinstance(value, list):
|
99
|
+
result[attr] = list(map(
|
100
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
101
|
+
value
|
102
|
+
))
|
103
|
+
elif hasattr(value, "to_dict"):
|
104
|
+
result[attr] = value.to_dict()
|
105
|
+
elif isinstance(value, dict):
|
106
|
+
result[attr] = dict(map(
|
107
|
+
lambda item: (item[0], item[1].to_dict())
|
108
|
+
if hasattr(item[1], "to_dict") else item,
|
109
|
+
value.items()
|
110
|
+
))
|
111
|
+
else:
|
112
|
+
if attr in self.sensitive_list:
|
113
|
+
result[attr] = "****"
|
114
|
+
else:
|
115
|
+
result[attr] = value
|
116
|
+
|
117
|
+
return result
|
118
|
+
|
119
|
+
def to_str(self):
|
120
|
+
"""Returns the string representation of the model"""
|
121
|
+
import simplejson as json
|
122
|
+
if six.PY2:
|
123
|
+
import sys
|
124
|
+
reload(sys)
|
125
|
+
sys.setdefaultencoding("utf-8")
|
126
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
127
|
+
|
128
|
+
def __repr__(self):
|
129
|
+
"""For `print`"""
|
130
|
+
return self.to_str()
|
131
|
+
|
132
|
+
def __eq__(self, other):
|
133
|
+
"""Returns true if both objects are equal"""
|
134
|
+
if not isinstance(other, ListFsTasksResponse):
|
135
|
+
return False
|
136
|
+
|
137
|
+
return self.__dict__ == other.__dict__
|
138
|
+
|
139
|
+
def __ne__(self, other):
|
140
|
+
"""Returns true if both objects are not equal"""
|
141
|
+
return not self == other
|
@@ -0,0 +1,288 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ListHpcCacheTasksRequest:
|
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
|
+
'share_id': 'str',
|
21
|
+
'type': 'str',
|
22
|
+
'status': 'str',
|
23
|
+
'offset': 'int',
|
24
|
+
'limit': 'int',
|
25
|
+
'start_time': 'str',
|
26
|
+
'end_time': 'str'
|
27
|
+
}
|
28
|
+
|
29
|
+
attribute_map = {
|
30
|
+
'share_id': 'share_id',
|
31
|
+
'type': 'type',
|
32
|
+
'status': 'status',
|
33
|
+
'offset': 'offset',
|
34
|
+
'limit': 'limit',
|
35
|
+
'start_time': 'start_time',
|
36
|
+
'end_time': 'end_time'
|
37
|
+
}
|
38
|
+
|
39
|
+
def __init__(self, share_id=None, type=None, status=None, offset=None, limit=None, start_time=None, end_time=None):
|
40
|
+
r"""ListHpcCacheTasksRequest
|
41
|
+
|
42
|
+
The model defined in huaweicloud sdk
|
43
|
+
|
44
|
+
:param share_id: 文件系统ID
|
45
|
+
:type share_id: str
|
46
|
+
:param type: 任务类型
|
47
|
+
:type type: str
|
48
|
+
:param status: 任务状态
|
49
|
+
:type status: str
|
50
|
+
:param offset: offset,默认值为 0
|
51
|
+
:type offset: int
|
52
|
+
:param limit: limit,默认值为 1000
|
53
|
+
:type limit: int
|
54
|
+
:param start_time: start_time
|
55
|
+
:type start_time: str
|
56
|
+
:param end_time: end_time
|
57
|
+
:type end_time: str
|
58
|
+
"""
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
self._share_id = None
|
63
|
+
self._type = None
|
64
|
+
self._status = None
|
65
|
+
self._offset = None
|
66
|
+
self._limit = None
|
67
|
+
self._start_time = None
|
68
|
+
self._end_time = None
|
69
|
+
self.discriminator = None
|
70
|
+
|
71
|
+
self.share_id = share_id
|
72
|
+
if type is not None:
|
73
|
+
self.type = type
|
74
|
+
if status is not None:
|
75
|
+
self.status = status
|
76
|
+
if offset is not None:
|
77
|
+
self.offset = offset
|
78
|
+
if limit is not None:
|
79
|
+
self.limit = limit
|
80
|
+
if start_time is not None:
|
81
|
+
self.start_time = start_time
|
82
|
+
if end_time is not None:
|
83
|
+
self.end_time = end_time
|
84
|
+
|
85
|
+
@property
|
86
|
+
def share_id(self):
|
87
|
+
r"""Gets the share_id of this ListHpcCacheTasksRequest.
|
88
|
+
|
89
|
+
文件系统ID
|
90
|
+
|
91
|
+
:return: The share_id of this ListHpcCacheTasksRequest.
|
92
|
+
:rtype: str
|
93
|
+
"""
|
94
|
+
return self._share_id
|
95
|
+
|
96
|
+
@share_id.setter
|
97
|
+
def share_id(self, share_id):
|
98
|
+
r"""Sets the share_id of this ListHpcCacheTasksRequest.
|
99
|
+
|
100
|
+
文件系统ID
|
101
|
+
|
102
|
+
:param share_id: The share_id of this ListHpcCacheTasksRequest.
|
103
|
+
:type share_id: str
|
104
|
+
"""
|
105
|
+
self._share_id = share_id
|
106
|
+
|
107
|
+
@property
|
108
|
+
def type(self):
|
109
|
+
r"""Gets the type of this ListHpcCacheTasksRequest.
|
110
|
+
|
111
|
+
任务类型
|
112
|
+
|
113
|
+
:return: The type of this ListHpcCacheTasksRequest.
|
114
|
+
:rtype: str
|
115
|
+
"""
|
116
|
+
return self._type
|
117
|
+
|
118
|
+
@type.setter
|
119
|
+
def type(self, type):
|
120
|
+
r"""Sets the type of this ListHpcCacheTasksRequest.
|
121
|
+
|
122
|
+
任务类型
|
123
|
+
|
124
|
+
:param type: The type of this ListHpcCacheTasksRequest.
|
125
|
+
:type type: str
|
126
|
+
"""
|
127
|
+
self._type = type
|
128
|
+
|
129
|
+
@property
|
130
|
+
def status(self):
|
131
|
+
r"""Gets the status of this ListHpcCacheTasksRequest.
|
132
|
+
|
133
|
+
任务状态
|
134
|
+
|
135
|
+
:return: The status of this ListHpcCacheTasksRequest.
|
136
|
+
:rtype: str
|
137
|
+
"""
|
138
|
+
return self._status
|
139
|
+
|
140
|
+
@status.setter
|
141
|
+
def status(self, status):
|
142
|
+
r"""Sets the status of this ListHpcCacheTasksRequest.
|
143
|
+
|
144
|
+
任务状态
|
145
|
+
|
146
|
+
:param status: The status of this ListHpcCacheTasksRequest.
|
147
|
+
:type status: str
|
148
|
+
"""
|
149
|
+
self._status = status
|
150
|
+
|
151
|
+
@property
|
152
|
+
def offset(self):
|
153
|
+
r"""Gets the offset of this ListHpcCacheTasksRequest.
|
154
|
+
|
155
|
+
offset,默认值为 0
|
156
|
+
|
157
|
+
:return: The offset of this ListHpcCacheTasksRequest.
|
158
|
+
:rtype: int
|
159
|
+
"""
|
160
|
+
return self._offset
|
161
|
+
|
162
|
+
@offset.setter
|
163
|
+
def offset(self, offset):
|
164
|
+
r"""Sets the offset of this ListHpcCacheTasksRequest.
|
165
|
+
|
166
|
+
offset,默认值为 0
|
167
|
+
|
168
|
+
:param offset: The offset of this ListHpcCacheTasksRequest.
|
169
|
+
:type offset: int
|
170
|
+
"""
|
171
|
+
self._offset = offset
|
172
|
+
|
173
|
+
@property
|
174
|
+
def limit(self):
|
175
|
+
r"""Gets the limit of this ListHpcCacheTasksRequest.
|
176
|
+
|
177
|
+
limit,默认值为 1000
|
178
|
+
|
179
|
+
:return: The limit of this ListHpcCacheTasksRequest.
|
180
|
+
:rtype: int
|
181
|
+
"""
|
182
|
+
return self._limit
|
183
|
+
|
184
|
+
@limit.setter
|
185
|
+
def limit(self, limit):
|
186
|
+
r"""Sets the limit of this ListHpcCacheTasksRequest.
|
187
|
+
|
188
|
+
limit,默认值为 1000
|
189
|
+
|
190
|
+
:param limit: The limit of this ListHpcCacheTasksRequest.
|
191
|
+
:type limit: int
|
192
|
+
"""
|
193
|
+
self._limit = limit
|
194
|
+
|
195
|
+
@property
|
196
|
+
def start_time(self):
|
197
|
+
r"""Gets the start_time of this ListHpcCacheTasksRequest.
|
198
|
+
|
199
|
+
start_time
|
200
|
+
|
201
|
+
:return: The start_time of this ListHpcCacheTasksRequest.
|
202
|
+
:rtype: str
|
203
|
+
"""
|
204
|
+
return self._start_time
|
205
|
+
|
206
|
+
@start_time.setter
|
207
|
+
def start_time(self, start_time):
|
208
|
+
r"""Sets the start_time of this ListHpcCacheTasksRequest.
|
209
|
+
|
210
|
+
start_time
|
211
|
+
|
212
|
+
:param start_time: The start_time of this ListHpcCacheTasksRequest.
|
213
|
+
:type start_time: str
|
214
|
+
"""
|
215
|
+
self._start_time = start_time
|
216
|
+
|
217
|
+
@property
|
218
|
+
def end_time(self):
|
219
|
+
r"""Gets the end_time of this ListHpcCacheTasksRequest.
|
220
|
+
|
221
|
+
end_time
|
222
|
+
|
223
|
+
:return: The end_time of this ListHpcCacheTasksRequest.
|
224
|
+
:rtype: str
|
225
|
+
"""
|
226
|
+
return self._end_time
|
227
|
+
|
228
|
+
@end_time.setter
|
229
|
+
def end_time(self, end_time):
|
230
|
+
r"""Sets the end_time of this ListHpcCacheTasksRequest.
|
231
|
+
|
232
|
+
end_time
|
233
|
+
|
234
|
+
:param end_time: The end_time of this ListHpcCacheTasksRequest.
|
235
|
+
:type end_time: str
|
236
|
+
"""
|
237
|
+
self._end_time = end_time
|
238
|
+
|
239
|
+
def to_dict(self):
|
240
|
+
"""Returns the model properties as a dict"""
|
241
|
+
result = {}
|
242
|
+
|
243
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
244
|
+
value = getattr(self, attr)
|
245
|
+
if isinstance(value, list):
|
246
|
+
result[attr] = list(map(
|
247
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
248
|
+
value
|
249
|
+
))
|
250
|
+
elif hasattr(value, "to_dict"):
|
251
|
+
result[attr] = value.to_dict()
|
252
|
+
elif isinstance(value, dict):
|
253
|
+
result[attr] = dict(map(
|
254
|
+
lambda item: (item[0], item[1].to_dict())
|
255
|
+
if hasattr(item[1], "to_dict") else item,
|
256
|
+
value.items()
|
257
|
+
))
|
258
|
+
else:
|
259
|
+
if attr in self.sensitive_list:
|
260
|
+
result[attr] = "****"
|
261
|
+
else:
|
262
|
+
result[attr] = value
|
263
|
+
|
264
|
+
return result
|
265
|
+
|
266
|
+
def to_str(self):
|
267
|
+
"""Returns the string representation of the model"""
|
268
|
+
import simplejson as json
|
269
|
+
if six.PY2:
|
270
|
+
import sys
|
271
|
+
reload(sys)
|
272
|
+
sys.setdefaultencoding("utf-8")
|
273
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
274
|
+
|
275
|
+
def __repr__(self):
|
276
|
+
"""For `print`"""
|
277
|
+
return self.to_str()
|
278
|
+
|
279
|
+
def __eq__(self, other):
|
280
|
+
"""Returns true if both objects are equal"""
|
281
|
+
if not isinstance(other, ListHpcCacheTasksRequest):
|
282
|
+
return False
|
283
|
+
|
284
|
+
return self.__dict__ == other.__dict__
|
285
|
+
|
286
|
+
def __ne__(self, other):
|
287
|
+
"""Returns true if both objects are not equal"""
|
288
|
+
return not self == other
|