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,112 @@
|
|
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 DeleteHpcCacheTaskResponse(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
|
+
'x_request_id': 'str'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'x_request_id': 'X-request-id'
|
26
|
+
}
|
27
|
+
|
28
|
+
def __init__(self, x_request_id=None):
|
29
|
+
r"""DeleteHpcCacheTaskResponse
|
30
|
+
|
31
|
+
The model defined in huaweicloud sdk
|
32
|
+
|
33
|
+
:param x_request_id:
|
34
|
+
:type x_request_id: str
|
35
|
+
"""
|
36
|
+
|
37
|
+
super(DeleteHpcCacheTaskResponse, self).__init__()
|
38
|
+
|
39
|
+
self._x_request_id = None
|
40
|
+
self.discriminator = None
|
41
|
+
|
42
|
+
if x_request_id is not None:
|
43
|
+
self.x_request_id = x_request_id
|
44
|
+
|
45
|
+
@property
|
46
|
+
def x_request_id(self):
|
47
|
+
r"""Gets the x_request_id of this DeleteHpcCacheTaskResponse.
|
48
|
+
|
49
|
+
:return: The x_request_id of this DeleteHpcCacheTaskResponse.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._x_request_id
|
53
|
+
|
54
|
+
@x_request_id.setter
|
55
|
+
def x_request_id(self, x_request_id):
|
56
|
+
r"""Sets the x_request_id of this DeleteHpcCacheTaskResponse.
|
57
|
+
|
58
|
+
:param x_request_id: The x_request_id of this DeleteHpcCacheTaskResponse.
|
59
|
+
:type x_request_id: str
|
60
|
+
"""
|
61
|
+
self._x_request_id = x_request_id
|
62
|
+
|
63
|
+
def to_dict(self):
|
64
|
+
"""Returns the model properties as a dict"""
|
65
|
+
result = {}
|
66
|
+
|
67
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
68
|
+
value = getattr(self, attr)
|
69
|
+
if isinstance(value, list):
|
70
|
+
result[attr] = list(map(
|
71
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
72
|
+
value
|
73
|
+
))
|
74
|
+
elif hasattr(value, "to_dict"):
|
75
|
+
result[attr] = value.to_dict()
|
76
|
+
elif isinstance(value, dict):
|
77
|
+
result[attr] = dict(map(
|
78
|
+
lambda item: (item[0], item[1].to_dict())
|
79
|
+
if hasattr(item[1], "to_dict") else item,
|
80
|
+
value.items()
|
81
|
+
))
|
82
|
+
else:
|
83
|
+
if attr in self.sensitive_list:
|
84
|
+
result[attr] = "****"
|
85
|
+
else:
|
86
|
+
result[attr] = value
|
87
|
+
|
88
|
+
return result
|
89
|
+
|
90
|
+
def to_str(self):
|
91
|
+
"""Returns the string representation of the model"""
|
92
|
+
import simplejson as json
|
93
|
+
if six.PY2:
|
94
|
+
import sys
|
95
|
+
reload(sys)
|
96
|
+
sys.setdefaultencoding("utf-8")
|
97
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
98
|
+
|
99
|
+
def __repr__(self):
|
100
|
+
"""For `print`"""
|
101
|
+
return self.to_str()
|
102
|
+
|
103
|
+
def __eq__(self, other):
|
104
|
+
"""Returns true if both objects are equal"""
|
105
|
+
if not isinstance(other, DeleteHpcCacheTaskResponse):
|
106
|
+
return False
|
107
|
+
|
108
|
+
return self.__dict__ == other.__dict__
|
109
|
+
|
110
|
+
def __ne__(self, other):
|
111
|
+
"""Returns true if both objects are not equal"""
|
112
|
+
return not self == other
|
@@ -0,0 +1,114 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class DeleteLdapConfigRequest:
|
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
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'share_id': 'share_id'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, share_id=None):
|
28
|
+
r"""DeleteLdapConfigRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param share_id: 文件系统ID
|
33
|
+
:type share_id: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._share_id = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.share_id = share_id
|
42
|
+
|
43
|
+
@property
|
44
|
+
def share_id(self):
|
45
|
+
r"""Gets the share_id of this DeleteLdapConfigRequest.
|
46
|
+
|
47
|
+
文件系统ID
|
48
|
+
|
49
|
+
:return: The share_id of this DeleteLdapConfigRequest.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._share_id
|
53
|
+
|
54
|
+
@share_id.setter
|
55
|
+
def share_id(self, share_id):
|
56
|
+
r"""Sets the share_id of this DeleteLdapConfigRequest.
|
57
|
+
|
58
|
+
文件系统ID
|
59
|
+
|
60
|
+
:param share_id: The share_id of this DeleteLdapConfigRequest.
|
61
|
+
:type share_id: str
|
62
|
+
"""
|
63
|
+
self._share_id = share_id
|
64
|
+
|
65
|
+
def to_dict(self):
|
66
|
+
"""Returns the model properties as a dict"""
|
67
|
+
result = {}
|
68
|
+
|
69
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
70
|
+
value = getattr(self, attr)
|
71
|
+
if isinstance(value, list):
|
72
|
+
result[attr] = list(map(
|
73
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
74
|
+
value
|
75
|
+
))
|
76
|
+
elif hasattr(value, "to_dict"):
|
77
|
+
result[attr] = value.to_dict()
|
78
|
+
elif isinstance(value, dict):
|
79
|
+
result[attr] = dict(map(
|
80
|
+
lambda item: (item[0], item[1].to_dict())
|
81
|
+
if hasattr(item[1], "to_dict") else item,
|
82
|
+
value.items()
|
83
|
+
))
|
84
|
+
else:
|
85
|
+
if attr in self.sensitive_list:
|
86
|
+
result[attr] = "****"
|
87
|
+
else:
|
88
|
+
result[attr] = value
|
89
|
+
|
90
|
+
return result
|
91
|
+
|
92
|
+
def to_str(self):
|
93
|
+
"""Returns the string representation of the model"""
|
94
|
+
import simplejson as json
|
95
|
+
if six.PY2:
|
96
|
+
import sys
|
97
|
+
reload(sys)
|
98
|
+
sys.setdefaultencoding("utf-8")
|
99
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
100
|
+
|
101
|
+
def __repr__(self):
|
102
|
+
"""For `print`"""
|
103
|
+
return self.to_str()
|
104
|
+
|
105
|
+
def __eq__(self, other):
|
106
|
+
"""Returns true if both objects are equal"""
|
107
|
+
if not isinstance(other, DeleteLdapConfigRequest):
|
108
|
+
return False
|
109
|
+
|
110
|
+
return self.__dict__ == other.__dict__
|
111
|
+
|
112
|
+
def __ne__(self, other):
|
113
|
+
"""Returns true if both objects are not equal"""
|
114
|
+
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 DeleteLdapConfigResponse(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
|
+
'job_id': 'str',
|
22
|
+
'x_request_id': 'str'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'job_id': 'jobId',
|
27
|
+
'x_request_id': 'X-request-id'
|
28
|
+
}
|
29
|
+
|
30
|
+
def __init__(self, job_id=None, x_request_id=None):
|
31
|
+
r"""DeleteLdapConfigResponse
|
32
|
+
|
33
|
+
The model defined in huaweicloud sdk
|
34
|
+
|
35
|
+
:param job_id: LDAP异步任务的id。可通过查询job的状态详情接口查询job的执行状态。
|
36
|
+
:type job_id: str
|
37
|
+
:param x_request_id:
|
38
|
+
:type x_request_id: str
|
39
|
+
"""
|
40
|
+
|
41
|
+
super(DeleteLdapConfigResponse, self).__init__()
|
42
|
+
|
43
|
+
self._job_id = None
|
44
|
+
self._x_request_id = None
|
45
|
+
self.discriminator = None
|
46
|
+
|
47
|
+
if job_id is not None:
|
48
|
+
self.job_id = job_id
|
49
|
+
if x_request_id is not None:
|
50
|
+
self.x_request_id = x_request_id
|
51
|
+
|
52
|
+
@property
|
53
|
+
def job_id(self):
|
54
|
+
r"""Gets the job_id of this DeleteLdapConfigResponse.
|
55
|
+
|
56
|
+
LDAP异步任务的id。可通过查询job的状态详情接口查询job的执行状态。
|
57
|
+
|
58
|
+
:return: The job_id of this DeleteLdapConfigResponse.
|
59
|
+
:rtype: str
|
60
|
+
"""
|
61
|
+
return self._job_id
|
62
|
+
|
63
|
+
@job_id.setter
|
64
|
+
def job_id(self, job_id):
|
65
|
+
r"""Sets the job_id of this DeleteLdapConfigResponse.
|
66
|
+
|
67
|
+
LDAP异步任务的id。可通过查询job的状态详情接口查询job的执行状态。
|
68
|
+
|
69
|
+
:param job_id: The job_id of this DeleteLdapConfigResponse.
|
70
|
+
:type job_id: str
|
71
|
+
"""
|
72
|
+
self._job_id = job_id
|
73
|
+
|
74
|
+
@property
|
75
|
+
def x_request_id(self):
|
76
|
+
r"""Gets the x_request_id of this DeleteLdapConfigResponse.
|
77
|
+
|
78
|
+
:return: The x_request_id of this DeleteLdapConfigResponse.
|
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 DeleteLdapConfigResponse.
|
86
|
+
|
87
|
+
:param x_request_id: The x_request_id of this DeleteLdapConfigResponse.
|
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, DeleteLdapConfigResponse):
|
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,142 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class DeletePermRuleRequest:
|
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
|
+
'rule_id': 'str'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'share_id': 'share_id',
|
26
|
+
'rule_id': 'rule_id'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, share_id=None, rule_id=None):
|
30
|
+
r"""DeletePermRuleRequest
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param share_id: 文件系统ID
|
35
|
+
:type share_id: str
|
36
|
+
:param rule_id: 权限规则id
|
37
|
+
:type rule_id: str
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._share_id = None
|
43
|
+
self._rule_id = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
self.share_id = share_id
|
47
|
+
self.rule_id = rule_id
|
48
|
+
|
49
|
+
@property
|
50
|
+
def share_id(self):
|
51
|
+
r"""Gets the share_id of this DeletePermRuleRequest.
|
52
|
+
|
53
|
+
文件系统ID
|
54
|
+
|
55
|
+
:return: The share_id of this DeletePermRuleRequest.
|
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 DeletePermRuleRequest.
|
63
|
+
|
64
|
+
文件系统ID
|
65
|
+
|
66
|
+
:param share_id: The share_id of this DeletePermRuleRequest.
|
67
|
+
:type share_id: str
|
68
|
+
"""
|
69
|
+
self._share_id = share_id
|
70
|
+
|
71
|
+
@property
|
72
|
+
def rule_id(self):
|
73
|
+
r"""Gets the rule_id of this DeletePermRuleRequest.
|
74
|
+
|
75
|
+
权限规则id
|
76
|
+
|
77
|
+
:return: The rule_id of this DeletePermRuleRequest.
|
78
|
+
:rtype: str
|
79
|
+
"""
|
80
|
+
return self._rule_id
|
81
|
+
|
82
|
+
@rule_id.setter
|
83
|
+
def rule_id(self, rule_id):
|
84
|
+
r"""Sets the rule_id of this DeletePermRuleRequest.
|
85
|
+
|
86
|
+
权限规则id
|
87
|
+
|
88
|
+
:param rule_id: The rule_id of this DeletePermRuleRequest.
|
89
|
+
:type rule_id: str
|
90
|
+
"""
|
91
|
+
self._rule_id = rule_id
|
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, DeletePermRuleRequest):
|
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,85 @@
|
|
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 DeletePermRuleResponse(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
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
}
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""DeletePermRuleResponse
|
28
|
+
|
29
|
+
The model defined in huaweicloud sdk
|
30
|
+
|
31
|
+
"""
|
32
|
+
|
33
|
+
super(DeletePermRuleResponse, self).__init__()
|
34
|
+
self.discriminator = None
|
35
|
+
|
36
|
+
def to_dict(self):
|
37
|
+
"""Returns the model properties as a dict"""
|
38
|
+
result = {}
|
39
|
+
|
40
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
41
|
+
value = getattr(self, attr)
|
42
|
+
if isinstance(value, list):
|
43
|
+
result[attr] = list(map(
|
44
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
45
|
+
value
|
46
|
+
))
|
47
|
+
elif hasattr(value, "to_dict"):
|
48
|
+
result[attr] = value.to_dict()
|
49
|
+
elif isinstance(value, dict):
|
50
|
+
result[attr] = dict(map(
|
51
|
+
lambda item: (item[0], item[1].to_dict())
|
52
|
+
if hasattr(item[1], "to_dict") else item,
|
53
|
+
value.items()
|
54
|
+
))
|
55
|
+
else:
|
56
|
+
if attr in self.sensitive_list:
|
57
|
+
result[attr] = "****"
|
58
|
+
else:
|
59
|
+
result[attr] = value
|
60
|
+
|
61
|
+
return result
|
62
|
+
|
63
|
+
def to_str(self):
|
64
|
+
"""Returns the string representation of the model"""
|
65
|
+
import simplejson as json
|
66
|
+
if six.PY2:
|
67
|
+
import sys
|
68
|
+
reload(sys)
|
69
|
+
sys.setdefaultencoding("utf-8")
|
70
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
71
|
+
|
72
|
+
def __repr__(self):
|
73
|
+
"""For `print`"""
|
74
|
+
return self.to_str()
|
75
|
+
|
76
|
+
def __eq__(self, other):
|
77
|
+
"""Returns true if both objects are equal"""
|
78
|
+
if not isinstance(other, DeletePermRuleResponse):
|
79
|
+
return False
|
80
|
+
|
81
|
+
return self.__dict__ == other.__dict__
|
82
|
+
|
83
|
+
def __ne__(self, other):
|
84
|
+
"""Returns true if both objects are not equal"""
|
85
|
+
return not self == other
|
@@ -0,0 +1,114 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class DeleteShareRequest:
|
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
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'share_id': 'share_id'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, share_id=None):
|
28
|
+
r"""DeleteShareRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param share_id: 文件系统ID
|
33
|
+
:type share_id: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._share_id = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.share_id = share_id
|
42
|
+
|
43
|
+
@property
|
44
|
+
def share_id(self):
|
45
|
+
r"""Gets the share_id of this DeleteShareRequest.
|
46
|
+
|
47
|
+
文件系统ID
|
48
|
+
|
49
|
+
:return: The share_id of this DeleteShareRequest.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._share_id
|
53
|
+
|
54
|
+
@share_id.setter
|
55
|
+
def share_id(self, share_id):
|
56
|
+
r"""Sets the share_id of this DeleteShareRequest.
|
57
|
+
|
58
|
+
文件系统ID
|
59
|
+
|
60
|
+
:param share_id: The share_id of this DeleteShareRequest.
|
61
|
+
:type share_id: str
|
62
|
+
"""
|
63
|
+
self._share_id = share_id
|
64
|
+
|
65
|
+
def to_dict(self):
|
66
|
+
"""Returns the model properties as a dict"""
|
67
|
+
result = {}
|
68
|
+
|
69
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
70
|
+
value = getattr(self, attr)
|
71
|
+
if isinstance(value, list):
|
72
|
+
result[attr] = list(map(
|
73
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
74
|
+
value
|
75
|
+
))
|
76
|
+
elif hasattr(value, "to_dict"):
|
77
|
+
result[attr] = value.to_dict()
|
78
|
+
elif isinstance(value, dict):
|
79
|
+
result[attr] = dict(map(
|
80
|
+
lambda item: (item[0], item[1].to_dict())
|
81
|
+
if hasattr(item[1], "to_dict") else item,
|
82
|
+
value.items()
|
83
|
+
))
|
84
|
+
else:
|
85
|
+
if attr in self.sensitive_list:
|
86
|
+
result[attr] = "****"
|
87
|
+
else:
|
88
|
+
result[attr] = value
|
89
|
+
|
90
|
+
return result
|
91
|
+
|
92
|
+
def to_str(self):
|
93
|
+
"""Returns the string representation of the model"""
|
94
|
+
import simplejson as json
|
95
|
+
if six.PY2:
|
96
|
+
import sys
|
97
|
+
reload(sys)
|
98
|
+
sys.setdefaultencoding("utf-8")
|
99
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
100
|
+
|
101
|
+
def __repr__(self):
|
102
|
+
"""For `print`"""
|
103
|
+
return self.to_str()
|
104
|
+
|
105
|
+
def __eq__(self, other):
|
106
|
+
"""Returns true if both objects are equal"""
|
107
|
+
if not isinstance(other, DeleteShareRequest):
|
108
|
+
return False
|
109
|
+
|
110
|
+
return self.__dict__ == other.__dict__
|
111
|
+
|
112
|
+
def __ne__(self, other):
|
113
|
+
"""Returns true if both objects are not equal"""
|
114
|
+
return not self == other
|