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,203 @@
|
|
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 ShowFsDirResponse(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
|
+
'path': 'str',
|
22
|
+
'mode': 'int',
|
23
|
+
'uid': 'int',
|
24
|
+
'gid': 'int'
|
25
|
+
}
|
26
|
+
|
27
|
+
attribute_map = {
|
28
|
+
'path': 'path',
|
29
|
+
'mode': 'mode',
|
30
|
+
'uid': 'uid',
|
31
|
+
'gid': 'gid'
|
32
|
+
}
|
33
|
+
|
34
|
+
def __init__(self, path=None, mode=None, uid=None, gid=None):
|
35
|
+
r"""ShowFsDirResponse
|
36
|
+
|
37
|
+
The model defined in huaweicloud sdk
|
38
|
+
|
39
|
+
:param path: 目录全路径
|
40
|
+
:type path: str
|
41
|
+
:param mode: 目录权限,仅20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB、HPC缓存型文件系统返回该字段。第三位表示目录所有者的权限,第四位表示目录所属用户组的权限,第五位表示其他用户的权限。目录所有者由uid指定,目录所属用户组由gid指定,不是目录所有者且不在目录所属用户组的用户为其他用户。例如:40755中第三位7代表目录所有者对该目录具有读、写、执行权限;第四位5代表目录所属用户组对该目录具有读、执行权限;第五位5代表其他用户对该目录具有读、执行权限。
|
42
|
+
:type mode: int
|
43
|
+
:param uid: 目录所有者的用户id,仅20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB、HPC缓存型文件系统返回该字段。
|
44
|
+
:type uid: int
|
45
|
+
:param gid: 目录所属用户组id,仅20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB、HPC缓存型文件系统返回该字段。
|
46
|
+
:type gid: int
|
47
|
+
"""
|
48
|
+
|
49
|
+
super(ShowFsDirResponse, self).__init__()
|
50
|
+
|
51
|
+
self._path = None
|
52
|
+
self._mode = None
|
53
|
+
self._uid = None
|
54
|
+
self._gid = None
|
55
|
+
self.discriminator = None
|
56
|
+
|
57
|
+
if path is not None:
|
58
|
+
self.path = path
|
59
|
+
if mode is not None:
|
60
|
+
self.mode = mode
|
61
|
+
if uid is not None:
|
62
|
+
self.uid = uid
|
63
|
+
if gid is not None:
|
64
|
+
self.gid = gid
|
65
|
+
|
66
|
+
@property
|
67
|
+
def path(self):
|
68
|
+
r"""Gets the path of this ShowFsDirResponse.
|
69
|
+
|
70
|
+
目录全路径
|
71
|
+
|
72
|
+
:return: The path of this ShowFsDirResponse.
|
73
|
+
:rtype: str
|
74
|
+
"""
|
75
|
+
return self._path
|
76
|
+
|
77
|
+
@path.setter
|
78
|
+
def path(self, path):
|
79
|
+
r"""Sets the path of this ShowFsDirResponse.
|
80
|
+
|
81
|
+
目录全路径
|
82
|
+
|
83
|
+
:param path: The path of this ShowFsDirResponse.
|
84
|
+
:type path: str
|
85
|
+
"""
|
86
|
+
self._path = path
|
87
|
+
|
88
|
+
@property
|
89
|
+
def mode(self):
|
90
|
+
r"""Gets the mode of this ShowFsDirResponse.
|
91
|
+
|
92
|
+
目录权限,仅20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB、HPC缓存型文件系统返回该字段。第三位表示目录所有者的权限,第四位表示目录所属用户组的权限,第五位表示其他用户的权限。目录所有者由uid指定,目录所属用户组由gid指定,不是目录所有者且不在目录所属用户组的用户为其他用户。例如:40755中第三位7代表目录所有者对该目录具有读、写、执行权限;第四位5代表目录所属用户组对该目录具有读、执行权限;第五位5代表其他用户对该目录具有读、执行权限。
|
93
|
+
|
94
|
+
:return: The mode of this ShowFsDirResponse.
|
95
|
+
:rtype: int
|
96
|
+
"""
|
97
|
+
return self._mode
|
98
|
+
|
99
|
+
@mode.setter
|
100
|
+
def mode(self, mode):
|
101
|
+
r"""Sets the mode of this ShowFsDirResponse.
|
102
|
+
|
103
|
+
目录权限,仅20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB、HPC缓存型文件系统返回该字段。第三位表示目录所有者的权限,第四位表示目录所属用户组的权限,第五位表示其他用户的权限。目录所有者由uid指定,目录所属用户组由gid指定,不是目录所有者且不在目录所属用户组的用户为其他用户。例如:40755中第三位7代表目录所有者对该目录具有读、写、执行权限;第四位5代表目录所属用户组对该目录具有读、执行权限;第五位5代表其他用户对该目录具有读、执行权限。
|
104
|
+
|
105
|
+
:param mode: The mode of this ShowFsDirResponse.
|
106
|
+
:type mode: int
|
107
|
+
"""
|
108
|
+
self._mode = mode
|
109
|
+
|
110
|
+
@property
|
111
|
+
def uid(self):
|
112
|
+
r"""Gets the uid of this ShowFsDirResponse.
|
113
|
+
|
114
|
+
目录所有者的用户id,仅20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB、HPC缓存型文件系统返回该字段。
|
115
|
+
|
116
|
+
:return: The uid of this ShowFsDirResponse.
|
117
|
+
:rtype: int
|
118
|
+
"""
|
119
|
+
return self._uid
|
120
|
+
|
121
|
+
@uid.setter
|
122
|
+
def uid(self, uid):
|
123
|
+
r"""Sets the uid of this ShowFsDirResponse.
|
124
|
+
|
125
|
+
目录所有者的用户id,仅20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB、HPC缓存型文件系统返回该字段。
|
126
|
+
|
127
|
+
:param uid: The uid of this ShowFsDirResponse.
|
128
|
+
:type uid: int
|
129
|
+
"""
|
130
|
+
self._uid = uid
|
131
|
+
|
132
|
+
@property
|
133
|
+
def gid(self):
|
134
|
+
r"""Gets the gid of this ShowFsDirResponse.
|
135
|
+
|
136
|
+
目录所属用户组id,仅20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB、HPC缓存型文件系统返回该字段。
|
137
|
+
|
138
|
+
:return: The gid of this ShowFsDirResponse.
|
139
|
+
:rtype: int
|
140
|
+
"""
|
141
|
+
return self._gid
|
142
|
+
|
143
|
+
@gid.setter
|
144
|
+
def gid(self, gid):
|
145
|
+
r"""Sets the gid of this ShowFsDirResponse.
|
146
|
+
|
147
|
+
目录所属用户组id,仅20MB/s/TiB、40MB/s/TiB、125MB/s/TiB、250MB/s/TiB、500MB/s/TiB、1000MB/s/TiB、HPC缓存型文件系统返回该字段。
|
148
|
+
|
149
|
+
:param gid: The gid of this ShowFsDirResponse.
|
150
|
+
:type gid: int
|
151
|
+
"""
|
152
|
+
self._gid = gid
|
153
|
+
|
154
|
+
def to_dict(self):
|
155
|
+
"""Returns the model properties as a dict"""
|
156
|
+
result = {}
|
157
|
+
|
158
|
+
for attr, _ in six.iteritems(self.openapi_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
|
+
if attr in self.sensitive_list:
|
175
|
+
result[attr] = "****"
|
176
|
+
else:
|
177
|
+
result[attr] = value
|
178
|
+
|
179
|
+
return result
|
180
|
+
|
181
|
+
def to_str(self):
|
182
|
+
"""Returns the string representation of the model"""
|
183
|
+
import simplejson as json
|
184
|
+
if six.PY2:
|
185
|
+
import sys
|
186
|
+
reload(sys)
|
187
|
+
sys.setdefaultencoding("utf-8")
|
188
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
189
|
+
|
190
|
+
def __repr__(self):
|
191
|
+
"""For `print`"""
|
192
|
+
return self.to_str()
|
193
|
+
|
194
|
+
def __eq__(self, other):
|
195
|
+
"""Returns true if both objects are equal"""
|
196
|
+
if not isinstance(other, ShowFsDirResponse):
|
197
|
+
return False
|
198
|
+
|
199
|
+
return self.__dict__ == other.__dict__
|
200
|
+
|
201
|
+
def __ne__(self, other):
|
202
|
+
"""Returns true if both objects are not equal"""
|
203
|
+
return not self == other
|
@@ -0,0 +1,142 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ShowFsDirUsageRequest:
|
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
|
+
'path': 'str'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'share_id': 'share_id',
|
26
|
+
'path': 'path'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, share_id=None, path=None):
|
30
|
+
r"""ShowFsDirUsageRequest
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param share_id: 文件系统ID
|
35
|
+
:type share_id: str
|
36
|
+
:param path: 文件系统内合法的目录全路径
|
37
|
+
:type path: str
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._share_id = None
|
43
|
+
self._path = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
self.share_id = share_id
|
47
|
+
self.path = path
|
48
|
+
|
49
|
+
@property
|
50
|
+
def share_id(self):
|
51
|
+
r"""Gets the share_id of this ShowFsDirUsageRequest.
|
52
|
+
|
53
|
+
文件系统ID
|
54
|
+
|
55
|
+
:return: The share_id of this ShowFsDirUsageRequest.
|
56
|
+
:rtype: str
|
57
|
+
"""
|
58
|
+
return self._share_id
|
59
|
+
|
60
|
+
@share_id.setter
|
61
|
+
def share_id(self, share_id):
|
62
|
+
r"""Sets the share_id of this ShowFsDirUsageRequest.
|
63
|
+
|
64
|
+
文件系统ID
|
65
|
+
|
66
|
+
:param share_id: The share_id of this ShowFsDirUsageRequest.
|
67
|
+
:type share_id: str
|
68
|
+
"""
|
69
|
+
self._share_id = share_id
|
70
|
+
|
71
|
+
@property
|
72
|
+
def path(self):
|
73
|
+
r"""Gets the path of this ShowFsDirUsageRequest.
|
74
|
+
|
75
|
+
文件系统内合法的目录全路径
|
76
|
+
|
77
|
+
:return: The path of this ShowFsDirUsageRequest.
|
78
|
+
:rtype: str
|
79
|
+
"""
|
80
|
+
return self._path
|
81
|
+
|
82
|
+
@path.setter
|
83
|
+
def path(self, path):
|
84
|
+
r"""Sets the path of this ShowFsDirUsageRequest.
|
85
|
+
|
86
|
+
文件系统内合法的目录全路径
|
87
|
+
|
88
|
+
:param path: The path of this ShowFsDirUsageRequest.
|
89
|
+
:type path: str
|
90
|
+
"""
|
91
|
+
self._path = path
|
92
|
+
|
93
|
+
def to_dict(self):
|
94
|
+
"""Returns the model properties as a dict"""
|
95
|
+
result = {}
|
96
|
+
|
97
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
98
|
+
value = getattr(self, attr)
|
99
|
+
if isinstance(value, list):
|
100
|
+
result[attr] = list(map(
|
101
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
102
|
+
value
|
103
|
+
))
|
104
|
+
elif hasattr(value, "to_dict"):
|
105
|
+
result[attr] = value.to_dict()
|
106
|
+
elif isinstance(value, dict):
|
107
|
+
result[attr] = dict(map(
|
108
|
+
lambda item: (item[0], item[1].to_dict())
|
109
|
+
if hasattr(item[1], "to_dict") else item,
|
110
|
+
value.items()
|
111
|
+
))
|
112
|
+
else:
|
113
|
+
if attr in self.sensitive_list:
|
114
|
+
result[attr] = "****"
|
115
|
+
else:
|
116
|
+
result[attr] = value
|
117
|
+
|
118
|
+
return result
|
119
|
+
|
120
|
+
def to_str(self):
|
121
|
+
"""Returns the string representation of the model"""
|
122
|
+
import simplejson as json
|
123
|
+
if six.PY2:
|
124
|
+
import sys
|
125
|
+
reload(sys)
|
126
|
+
sys.setdefaultencoding("utf-8")
|
127
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
128
|
+
|
129
|
+
def __repr__(self):
|
130
|
+
"""For `print`"""
|
131
|
+
return self.to_str()
|
132
|
+
|
133
|
+
def __eq__(self, other):
|
134
|
+
"""Returns true if both objects are equal"""
|
135
|
+
if not isinstance(other, ShowFsDirUsageRequest):
|
136
|
+
return False
|
137
|
+
|
138
|
+
return self.__dict__ == other.__dict__
|
139
|
+
|
140
|
+
def __ne__(self, other):
|
141
|
+
"""Returns true if both objects are not equal"""
|
142
|
+
return not self == other
|
@@ -0,0 +1,137 @@
|
|
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 ShowFsDirUsageResponse(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
|
+
'dir_usage': 'FsDirUasge',
|
22
|
+
'x_request_id': 'str'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'dir_usage': 'dir_usage',
|
27
|
+
'x_request_id': 'X-request-id'
|
28
|
+
}
|
29
|
+
|
30
|
+
def __init__(self, dir_usage=None, x_request_id=None):
|
31
|
+
r"""ShowFsDirUsageResponse
|
32
|
+
|
33
|
+
The model defined in huaweicloud sdk
|
34
|
+
|
35
|
+
:param dir_usage:
|
36
|
+
:type dir_usage: :class:`huaweicloudsdksfsturbo.v1.FsDirUasge`
|
37
|
+
:param x_request_id:
|
38
|
+
:type x_request_id: str
|
39
|
+
"""
|
40
|
+
|
41
|
+
super(ShowFsDirUsageResponse, self).__init__()
|
42
|
+
|
43
|
+
self._dir_usage = None
|
44
|
+
self._x_request_id = None
|
45
|
+
self.discriminator = None
|
46
|
+
|
47
|
+
if dir_usage is not None:
|
48
|
+
self.dir_usage = dir_usage
|
49
|
+
if x_request_id is not None:
|
50
|
+
self.x_request_id = x_request_id
|
51
|
+
|
52
|
+
@property
|
53
|
+
def dir_usage(self):
|
54
|
+
r"""Gets the dir_usage of this ShowFsDirUsageResponse.
|
55
|
+
|
56
|
+
:return: The dir_usage of this ShowFsDirUsageResponse.
|
57
|
+
:rtype: :class:`huaweicloudsdksfsturbo.v1.FsDirUasge`
|
58
|
+
"""
|
59
|
+
return self._dir_usage
|
60
|
+
|
61
|
+
@dir_usage.setter
|
62
|
+
def dir_usage(self, dir_usage):
|
63
|
+
r"""Sets the dir_usage of this ShowFsDirUsageResponse.
|
64
|
+
|
65
|
+
:param dir_usage: The dir_usage of this ShowFsDirUsageResponse.
|
66
|
+
:type dir_usage: :class:`huaweicloudsdksfsturbo.v1.FsDirUasge`
|
67
|
+
"""
|
68
|
+
self._dir_usage = dir_usage
|
69
|
+
|
70
|
+
@property
|
71
|
+
def x_request_id(self):
|
72
|
+
r"""Gets the x_request_id of this ShowFsDirUsageResponse.
|
73
|
+
|
74
|
+
:return: The x_request_id of this ShowFsDirUsageResponse.
|
75
|
+
:rtype: str
|
76
|
+
"""
|
77
|
+
return self._x_request_id
|
78
|
+
|
79
|
+
@x_request_id.setter
|
80
|
+
def x_request_id(self, x_request_id):
|
81
|
+
r"""Sets the x_request_id of this ShowFsDirUsageResponse.
|
82
|
+
|
83
|
+
:param x_request_id: The x_request_id of this ShowFsDirUsageResponse.
|
84
|
+
:type x_request_id: str
|
85
|
+
"""
|
86
|
+
self._x_request_id = x_request_id
|
87
|
+
|
88
|
+
def to_dict(self):
|
89
|
+
"""Returns the model properties as a dict"""
|
90
|
+
result = {}
|
91
|
+
|
92
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
93
|
+
value = getattr(self, attr)
|
94
|
+
if isinstance(value, list):
|
95
|
+
result[attr] = list(map(
|
96
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
97
|
+
value
|
98
|
+
))
|
99
|
+
elif hasattr(value, "to_dict"):
|
100
|
+
result[attr] = value.to_dict()
|
101
|
+
elif isinstance(value, dict):
|
102
|
+
result[attr] = dict(map(
|
103
|
+
lambda item: (item[0], item[1].to_dict())
|
104
|
+
if hasattr(item[1], "to_dict") else item,
|
105
|
+
value.items()
|
106
|
+
))
|
107
|
+
else:
|
108
|
+
if attr in self.sensitive_list:
|
109
|
+
result[attr] = "****"
|
110
|
+
else:
|
111
|
+
result[attr] = value
|
112
|
+
|
113
|
+
return result
|
114
|
+
|
115
|
+
def to_str(self):
|
116
|
+
"""Returns the string representation of the model"""
|
117
|
+
import simplejson as json
|
118
|
+
if six.PY2:
|
119
|
+
import sys
|
120
|
+
reload(sys)
|
121
|
+
sys.setdefaultencoding("utf-8")
|
122
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
123
|
+
|
124
|
+
def __repr__(self):
|
125
|
+
"""For `print`"""
|
126
|
+
return self.to_str()
|
127
|
+
|
128
|
+
def __eq__(self, other):
|
129
|
+
"""Returns true if both objects are equal"""
|
130
|
+
if not isinstance(other, ShowFsDirUsageResponse):
|
131
|
+
return False
|
132
|
+
|
133
|
+
return self.__dict__ == other.__dict__
|
134
|
+
|
135
|
+
def __ne__(self, other):
|
136
|
+
"""Returns true if both objects are not equal"""
|
137
|
+
return not self == other
|
@@ -0,0 +1,170 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ShowFsTaskRequest:
|
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
|
+
'task_id': 'str'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'share_id': 'share_id',
|
27
|
+
'feature': 'feature',
|
28
|
+
'task_id': 'task_id'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, share_id=None, feature=None, task_id=None):
|
32
|
+
r"""ShowFsTaskRequest
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param share_id: 文件系统id
|
37
|
+
:type share_id: str
|
38
|
+
:param feature: 任务类型。例,DU任务取值为dir-usage
|
39
|
+
:type feature: str
|
40
|
+
:param task_id: 任务ID
|
41
|
+
:type task_id: str
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._share_id = None
|
47
|
+
self._feature = None
|
48
|
+
self._task_id = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
self.share_id = share_id
|
52
|
+
self.feature = feature
|
53
|
+
self.task_id = task_id
|
54
|
+
|
55
|
+
@property
|
56
|
+
def share_id(self):
|
57
|
+
r"""Gets the share_id of this ShowFsTaskRequest.
|
58
|
+
|
59
|
+
文件系统id
|
60
|
+
|
61
|
+
:return: The share_id of this ShowFsTaskRequest.
|
62
|
+
:rtype: str
|
63
|
+
"""
|
64
|
+
return self._share_id
|
65
|
+
|
66
|
+
@share_id.setter
|
67
|
+
def share_id(self, share_id):
|
68
|
+
r"""Sets the share_id of this ShowFsTaskRequest.
|
69
|
+
|
70
|
+
文件系统id
|
71
|
+
|
72
|
+
:param share_id: The share_id of this ShowFsTaskRequest.
|
73
|
+
:type share_id: str
|
74
|
+
"""
|
75
|
+
self._share_id = share_id
|
76
|
+
|
77
|
+
@property
|
78
|
+
def feature(self):
|
79
|
+
r"""Gets the feature of this ShowFsTaskRequest.
|
80
|
+
|
81
|
+
任务类型。例,DU任务取值为dir-usage
|
82
|
+
|
83
|
+
:return: The feature of this ShowFsTaskRequest.
|
84
|
+
:rtype: str
|
85
|
+
"""
|
86
|
+
return self._feature
|
87
|
+
|
88
|
+
@feature.setter
|
89
|
+
def feature(self, feature):
|
90
|
+
r"""Sets the feature of this ShowFsTaskRequest.
|
91
|
+
|
92
|
+
任务类型。例,DU任务取值为dir-usage
|
93
|
+
|
94
|
+
:param feature: The feature of this ShowFsTaskRequest.
|
95
|
+
:type feature: str
|
96
|
+
"""
|
97
|
+
self._feature = feature
|
98
|
+
|
99
|
+
@property
|
100
|
+
def task_id(self):
|
101
|
+
r"""Gets the task_id of this ShowFsTaskRequest.
|
102
|
+
|
103
|
+
任务ID
|
104
|
+
|
105
|
+
:return: The task_id of this ShowFsTaskRequest.
|
106
|
+
:rtype: str
|
107
|
+
"""
|
108
|
+
return self._task_id
|
109
|
+
|
110
|
+
@task_id.setter
|
111
|
+
def task_id(self, task_id):
|
112
|
+
r"""Sets the task_id of this ShowFsTaskRequest.
|
113
|
+
|
114
|
+
任务ID
|
115
|
+
|
116
|
+
:param task_id: The task_id of this ShowFsTaskRequest.
|
117
|
+
:type task_id: str
|
118
|
+
"""
|
119
|
+
self._task_id = task_id
|
120
|
+
|
121
|
+
def to_dict(self):
|
122
|
+
"""Returns the model properties as a dict"""
|
123
|
+
result = {}
|
124
|
+
|
125
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
126
|
+
value = getattr(self, attr)
|
127
|
+
if isinstance(value, list):
|
128
|
+
result[attr] = list(map(
|
129
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
130
|
+
value
|
131
|
+
))
|
132
|
+
elif hasattr(value, "to_dict"):
|
133
|
+
result[attr] = value.to_dict()
|
134
|
+
elif isinstance(value, dict):
|
135
|
+
result[attr] = dict(map(
|
136
|
+
lambda item: (item[0], item[1].to_dict())
|
137
|
+
if hasattr(item[1], "to_dict") else item,
|
138
|
+
value.items()
|
139
|
+
))
|
140
|
+
else:
|
141
|
+
if attr in self.sensitive_list:
|
142
|
+
result[attr] = "****"
|
143
|
+
else:
|
144
|
+
result[attr] = value
|
145
|
+
|
146
|
+
return result
|
147
|
+
|
148
|
+
def to_str(self):
|
149
|
+
"""Returns the string representation of the model"""
|
150
|
+
import simplejson as json
|
151
|
+
if six.PY2:
|
152
|
+
import sys
|
153
|
+
reload(sys)
|
154
|
+
sys.setdefaultencoding("utf-8")
|
155
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
156
|
+
|
157
|
+
def __repr__(self):
|
158
|
+
"""For `print`"""
|
159
|
+
return self.to_str()
|
160
|
+
|
161
|
+
def __eq__(self, other):
|
162
|
+
"""Returns true if both objects are equal"""
|
163
|
+
if not isinstance(other, ShowFsTaskRequest):
|
164
|
+
return False
|
165
|
+
|
166
|
+
return self.__dict__ == other.__dict__
|
167
|
+
|
168
|
+
def __ne__(self, other):
|
169
|
+
"""Returns true if both objects are not equal"""
|
170
|
+
return not self == other
|