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,252 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ShowBackendTargetInfoResponseBody:
|
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
|
+
'target_id': 'str',
|
21
|
+
'creation_time': 'str',
|
22
|
+
'file_system_path': 'str',
|
23
|
+
'failure_details': 'FailureDetailsMessage',
|
24
|
+
'lifecycle': 'str',
|
25
|
+
'obs': 'ObsDataRepository'
|
26
|
+
}
|
27
|
+
|
28
|
+
attribute_map = {
|
29
|
+
'target_id': 'target_id',
|
30
|
+
'creation_time': 'creation_time',
|
31
|
+
'file_system_path': 'file_system_path',
|
32
|
+
'failure_details': 'failure_details',
|
33
|
+
'lifecycle': 'lifecycle',
|
34
|
+
'obs': 'obs'
|
35
|
+
}
|
36
|
+
|
37
|
+
def __init__(self, target_id=None, creation_time=None, file_system_path=None, failure_details=None, lifecycle=None, obs=None):
|
38
|
+
r"""ShowBackendTargetInfoResponseBody
|
39
|
+
|
40
|
+
The model defined in huaweicloud sdk
|
41
|
+
|
42
|
+
:param target_id: 绑定关系ID
|
43
|
+
:type target_id: str
|
44
|
+
:param creation_time: 绑定关系创建时间
|
45
|
+
:type creation_time: str
|
46
|
+
:param file_system_path: 联动目录名称
|
47
|
+
:type file_system_path: str
|
48
|
+
:param failure_details:
|
49
|
+
:type failure_details: :class:`huaweicloudsdksfsturbo.v1.FailureDetailsMessage`
|
50
|
+
:param lifecycle: 绑定状态
|
51
|
+
:type lifecycle: str
|
52
|
+
:param obs:
|
53
|
+
:type obs: :class:`huaweicloudsdksfsturbo.v1.ObsDataRepository`
|
54
|
+
"""
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
self._target_id = None
|
59
|
+
self._creation_time = None
|
60
|
+
self._file_system_path = None
|
61
|
+
self._failure_details = None
|
62
|
+
self._lifecycle = None
|
63
|
+
self._obs = None
|
64
|
+
self.discriminator = None
|
65
|
+
|
66
|
+
if target_id is not None:
|
67
|
+
self.target_id = target_id
|
68
|
+
if creation_time is not None:
|
69
|
+
self.creation_time = creation_time
|
70
|
+
if file_system_path is not None:
|
71
|
+
self.file_system_path = file_system_path
|
72
|
+
if failure_details is not None:
|
73
|
+
self.failure_details = failure_details
|
74
|
+
if lifecycle is not None:
|
75
|
+
self.lifecycle = lifecycle
|
76
|
+
if obs is not None:
|
77
|
+
self.obs = obs
|
78
|
+
|
79
|
+
@property
|
80
|
+
def target_id(self):
|
81
|
+
r"""Gets the target_id of this ShowBackendTargetInfoResponseBody.
|
82
|
+
|
83
|
+
绑定关系ID
|
84
|
+
|
85
|
+
:return: The target_id of this ShowBackendTargetInfoResponseBody.
|
86
|
+
:rtype: str
|
87
|
+
"""
|
88
|
+
return self._target_id
|
89
|
+
|
90
|
+
@target_id.setter
|
91
|
+
def target_id(self, target_id):
|
92
|
+
r"""Sets the target_id of this ShowBackendTargetInfoResponseBody.
|
93
|
+
|
94
|
+
绑定关系ID
|
95
|
+
|
96
|
+
:param target_id: The target_id of this ShowBackendTargetInfoResponseBody.
|
97
|
+
:type target_id: str
|
98
|
+
"""
|
99
|
+
self._target_id = target_id
|
100
|
+
|
101
|
+
@property
|
102
|
+
def creation_time(self):
|
103
|
+
r"""Gets the creation_time of this ShowBackendTargetInfoResponseBody.
|
104
|
+
|
105
|
+
绑定关系创建时间
|
106
|
+
|
107
|
+
:return: The creation_time of this ShowBackendTargetInfoResponseBody.
|
108
|
+
:rtype: str
|
109
|
+
"""
|
110
|
+
return self._creation_time
|
111
|
+
|
112
|
+
@creation_time.setter
|
113
|
+
def creation_time(self, creation_time):
|
114
|
+
r"""Sets the creation_time of this ShowBackendTargetInfoResponseBody.
|
115
|
+
|
116
|
+
绑定关系创建时间
|
117
|
+
|
118
|
+
:param creation_time: The creation_time of this ShowBackendTargetInfoResponseBody.
|
119
|
+
:type creation_time: str
|
120
|
+
"""
|
121
|
+
self._creation_time = creation_time
|
122
|
+
|
123
|
+
@property
|
124
|
+
def file_system_path(self):
|
125
|
+
r"""Gets the file_system_path of this ShowBackendTargetInfoResponseBody.
|
126
|
+
|
127
|
+
联动目录名称
|
128
|
+
|
129
|
+
:return: The file_system_path of this ShowBackendTargetInfoResponseBody.
|
130
|
+
:rtype: str
|
131
|
+
"""
|
132
|
+
return self._file_system_path
|
133
|
+
|
134
|
+
@file_system_path.setter
|
135
|
+
def file_system_path(self, file_system_path):
|
136
|
+
r"""Sets the file_system_path of this ShowBackendTargetInfoResponseBody.
|
137
|
+
|
138
|
+
联动目录名称
|
139
|
+
|
140
|
+
:param file_system_path: The file_system_path of this ShowBackendTargetInfoResponseBody.
|
141
|
+
:type file_system_path: str
|
142
|
+
"""
|
143
|
+
self._file_system_path = file_system_path
|
144
|
+
|
145
|
+
@property
|
146
|
+
def failure_details(self):
|
147
|
+
r"""Gets the failure_details of this ShowBackendTargetInfoResponseBody.
|
148
|
+
|
149
|
+
:return: The failure_details of this ShowBackendTargetInfoResponseBody.
|
150
|
+
:rtype: :class:`huaweicloudsdksfsturbo.v1.FailureDetailsMessage`
|
151
|
+
"""
|
152
|
+
return self._failure_details
|
153
|
+
|
154
|
+
@failure_details.setter
|
155
|
+
def failure_details(self, failure_details):
|
156
|
+
r"""Sets the failure_details of this ShowBackendTargetInfoResponseBody.
|
157
|
+
|
158
|
+
:param failure_details: The failure_details of this ShowBackendTargetInfoResponseBody.
|
159
|
+
:type failure_details: :class:`huaweicloudsdksfsturbo.v1.FailureDetailsMessage`
|
160
|
+
"""
|
161
|
+
self._failure_details = failure_details
|
162
|
+
|
163
|
+
@property
|
164
|
+
def lifecycle(self):
|
165
|
+
r"""Gets the lifecycle of this ShowBackendTargetInfoResponseBody.
|
166
|
+
|
167
|
+
绑定状态
|
168
|
+
|
169
|
+
:return: The lifecycle of this ShowBackendTargetInfoResponseBody.
|
170
|
+
:rtype: str
|
171
|
+
"""
|
172
|
+
return self._lifecycle
|
173
|
+
|
174
|
+
@lifecycle.setter
|
175
|
+
def lifecycle(self, lifecycle):
|
176
|
+
r"""Sets the lifecycle of this ShowBackendTargetInfoResponseBody.
|
177
|
+
|
178
|
+
绑定状态
|
179
|
+
|
180
|
+
:param lifecycle: The lifecycle of this ShowBackendTargetInfoResponseBody.
|
181
|
+
:type lifecycle: str
|
182
|
+
"""
|
183
|
+
self._lifecycle = lifecycle
|
184
|
+
|
185
|
+
@property
|
186
|
+
def obs(self):
|
187
|
+
r"""Gets the obs of this ShowBackendTargetInfoResponseBody.
|
188
|
+
|
189
|
+
:return: The obs of this ShowBackendTargetInfoResponseBody.
|
190
|
+
:rtype: :class:`huaweicloudsdksfsturbo.v1.ObsDataRepository`
|
191
|
+
"""
|
192
|
+
return self._obs
|
193
|
+
|
194
|
+
@obs.setter
|
195
|
+
def obs(self, obs):
|
196
|
+
r"""Sets the obs of this ShowBackendTargetInfoResponseBody.
|
197
|
+
|
198
|
+
:param obs: The obs of this ShowBackendTargetInfoResponseBody.
|
199
|
+
:type obs: :class:`huaweicloudsdksfsturbo.v1.ObsDataRepository`
|
200
|
+
"""
|
201
|
+
self._obs = obs
|
202
|
+
|
203
|
+
def to_dict(self):
|
204
|
+
"""Returns the model properties as a dict"""
|
205
|
+
result = {}
|
206
|
+
|
207
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
208
|
+
value = getattr(self, attr)
|
209
|
+
if isinstance(value, list):
|
210
|
+
result[attr] = list(map(
|
211
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
212
|
+
value
|
213
|
+
))
|
214
|
+
elif hasattr(value, "to_dict"):
|
215
|
+
result[attr] = value.to_dict()
|
216
|
+
elif isinstance(value, dict):
|
217
|
+
result[attr] = dict(map(
|
218
|
+
lambda item: (item[0], item[1].to_dict())
|
219
|
+
if hasattr(item[1], "to_dict") else item,
|
220
|
+
value.items()
|
221
|
+
))
|
222
|
+
else:
|
223
|
+
if attr in self.sensitive_list:
|
224
|
+
result[attr] = "****"
|
225
|
+
else:
|
226
|
+
result[attr] = value
|
227
|
+
|
228
|
+
return result
|
229
|
+
|
230
|
+
def to_str(self):
|
231
|
+
"""Returns the string representation of the model"""
|
232
|
+
import simplejson as json
|
233
|
+
if six.PY2:
|
234
|
+
import sys
|
235
|
+
reload(sys)
|
236
|
+
sys.setdefaultencoding("utf-8")
|
237
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
238
|
+
|
239
|
+
def __repr__(self):
|
240
|
+
"""For `print`"""
|
241
|
+
return self.to_str()
|
242
|
+
|
243
|
+
def __eq__(self, other):
|
244
|
+
"""Returns true if both objects are equal"""
|
245
|
+
if not isinstance(other, ShowBackendTargetInfoResponseBody):
|
246
|
+
return False
|
247
|
+
|
248
|
+
return self.__dict__ == other.__dict__
|
249
|
+
|
250
|
+
def __ne__(self, other):
|
251
|
+
"""Returns true if both objects are not equal"""
|
252
|
+
return not self == other
|
@@ -0,0 +1,139 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ShowClientIpInfoRequest:
|
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
|
+
'body': 'ShowClientIpInfoRequestBody'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'share_id': 'share_id',
|
26
|
+
'body': 'body'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, share_id=None, body=None):
|
30
|
+
r"""ShowClientIpInfoRequest
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param share_id: 文件系统ID
|
35
|
+
:type share_id: str
|
36
|
+
:param body: Body of the ShowClientIpInfoRequest
|
37
|
+
:type body: :class:`huaweicloudsdksfsturbo.v1.ShowClientIpInfoRequestBody`
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._share_id = None
|
43
|
+
self._body = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
self.share_id = share_id
|
47
|
+
if body is not None:
|
48
|
+
self.body = body
|
49
|
+
|
50
|
+
@property
|
51
|
+
def share_id(self):
|
52
|
+
r"""Gets the share_id of this ShowClientIpInfoRequest.
|
53
|
+
|
54
|
+
文件系统ID
|
55
|
+
|
56
|
+
:return: The share_id of this ShowClientIpInfoRequest.
|
57
|
+
:rtype: str
|
58
|
+
"""
|
59
|
+
return self._share_id
|
60
|
+
|
61
|
+
@share_id.setter
|
62
|
+
def share_id(self, share_id):
|
63
|
+
r"""Sets the share_id of this ShowClientIpInfoRequest.
|
64
|
+
|
65
|
+
文件系统ID
|
66
|
+
|
67
|
+
:param share_id: The share_id of this ShowClientIpInfoRequest.
|
68
|
+
:type share_id: str
|
69
|
+
"""
|
70
|
+
self._share_id = share_id
|
71
|
+
|
72
|
+
@property
|
73
|
+
def body(self):
|
74
|
+
r"""Gets the body of this ShowClientIpInfoRequest.
|
75
|
+
|
76
|
+
:return: The body of this ShowClientIpInfoRequest.
|
77
|
+
:rtype: :class:`huaweicloudsdksfsturbo.v1.ShowClientIpInfoRequestBody`
|
78
|
+
"""
|
79
|
+
return self._body
|
80
|
+
|
81
|
+
@body.setter
|
82
|
+
def body(self, body):
|
83
|
+
r"""Sets the body of this ShowClientIpInfoRequest.
|
84
|
+
|
85
|
+
:param body: The body of this ShowClientIpInfoRequest.
|
86
|
+
:type body: :class:`huaweicloudsdksfsturbo.v1.ShowClientIpInfoRequestBody`
|
87
|
+
"""
|
88
|
+
self._body = body
|
89
|
+
|
90
|
+
def to_dict(self):
|
91
|
+
"""Returns the model properties as a dict"""
|
92
|
+
result = {}
|
93
|
+
|
94
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
95
|
+
value = getattr(self, attr)
|
96
|
+
if isinstance(value, list):
|
97
|
+
result[attr] = list(map(
|
98
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
99
|
+
value
|
100
|
+
))
|
101
|
+
elif hasattr(value, "to_dict"):
|
102
|
+
result[attr] = value.to_dict()
|
103
|
+
elif isinstance(value, dict):
|
104
|
+
result[attr] = dict(map(
|
105
|
+
lambda item: (item[0], item[1].to_dict())
|
106
|
+
if hasattr(item[1], "to_dict") else item,
|
107
|
+
value.items()
|
108
|
+
))
|
109
|
+
else:
|
110
|
+
if attr in self.sensitive_list:
|
111
|
+
result[attr] = "****"
|
112
|
+
else:
|
113
|
+
result[attr] = value
|
114
|
+
|
115
|
+
return result
|
116
|
+
|
117
|
+
def to_str(self):
|
118
|
+
"""Returns the string representation of the model"""
|
119
|
+
import simplejson as json
|
120
|
+
if six.PY2:
|
121
|
+
import sys
|
122
|
+
reload(sys)
|
123
|
+
sys.setdefaultencoding("utf-8")
|
124
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
125
|
+
|
126
|
+
def __repr__(self):
|
127
|
+
"""For `print`"""
|
128
|
+
return self.to_str()
|
129
|
+
|
130
|
+
def __eq__(self, other):
|
131
|
+
"""Returns true if both objects are equal"""
|
132
|
+
if not isinstance(other, ShowClientIpInfoRequest):
|
133
|
+
return False
|
134
|
+
|
135
|
+
return self.__dict__ == other.__dict__
|
136
|
+
|
137
|
+
def __ne__(self, other):
|
138
|
+
"""Returns true if both objects are not equal"""
|
139
|
+
return not self == other
|
@@ -0,0 +1,110 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ShowClientIpInfoRequestBody:
|
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
|
+
'get_client_ips': 'ClientIpInfo'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'get_client_ips': 'get_client_ips'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, get_client_ips=None):
|
28
|
+
r"""ShowClientIpInfoRequestBody
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param get_client_ips:
|
33
|
+
:type get_client_ips: :class:`huaweicloudsdksfsturbo.v1.ClientIpInfo`
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._get_client_ips = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.get_client_ips = get_client_ips
|
42
|
+
|
43
|
+
@property
|
44
|
+
def get_client_ips(self):
|
45
|
+
r"""Gets the get_client_ips of this ShowClientIpInfoRequestBody.
|
46
|
+
|
47
|
+
:return: The get_client_ips of this ShowClientIpInfoRequestBody.
|
48
|
+
:rtype: :class:`huaweicloudsdksfsturbo.v1.ClientIpInfo`
|
49
|
+
"""
|
50
|
+
return self._get_client_ips
|
51
|
+
|
52
|
+
@get_client_ips.setter
|
53
|
+
def get_client_ips(self, get_client_ips):
|
54
|
+
r"""Sets the get_client_ips of this ShowClientIpInfoRequestBody.
|
55
|
+
|
56
|
+
:param get_client_ips: The get_client_ips of this ShowClientIpInfoRequestBody.
|
57
|
+
:type get_client_ips: :class:`huaweicloudsdksfsturbo.v1.ClientIpInfo`
|
58
|
+
"""
|
59
|
+
self._get_client_ips = get_client_ips
|
60
|
+
|
61
|
+
def to_dict(self):
|
62
|
+
"""Returns the model properties as a dict"""
|
63
|
+
result = {}
|
64
|
+
|
65
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
66
|
+
value = getattr(self, attr)
|
67
|
+
if isinstance(value, list):
|
68
|
+
result[attr] = list(map(
|
69
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
70
|
+
value
|
71
|
+
))
|
72
|
+
elif hasattr(value, "to_dict"):
|
73
|
+
result[attr] = value.to_dict()
|
74
|
+
elif isinstance(value, dict):
|
75
|
+
result[attr] = dict(map(
|
76
|
+
lambda item: (item[0], item[1].to_dict())
|
77
|
+
if hasattr(item[1], "to_dict") else item,
|
78
|
+
value.items()
|
79
|
+
))
|
80
|
+
else:
|
81
|
+
if attr in self.sensitive_list:
|
82
|
+
result[attr] = "****"
|
83
|
+
else:
|
84
|
+
result[attr] = value
|
85
|
+
|
86
|
+
return result
|
87
|
+
|
88
|
+
def to_str(self):
|
89
|
+
"""Returns the string representation of the model"""
|
90
|
+
import simplejson as json
|
91
|
+
if six.PY2:
|
92
|
+
import sys
|
93
|
+
reload(sys)
|
94
|
+
sys.setdefaultencoding("utf-8")
|
95
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
96
|
+
|
97
|
+
def __repr__(self):
|
98
|
+
"""For `print`"""
|
99
|
+
return self.to_str()
|
100
|
+
|
101
|
+
def __eq__(self, other):
|
102
|
+
"""Returns true if both objects are equal"""
|
103
|
+
if not isinstance(other, ShowClientIpInfoRequestBody):
|
104
|
+
return False
|
105
|
+
|
106
|
+
return self.__dict__ == other.__dict__
|
107
|
+
|
108
|
+
def __ne__(self, other):
|
109
|
+
"""Returns true if both objects are not equal"""
|
110
|
+
return not self == other
|
@@ -0,0 +1,170 @@
|
|
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 ShowClientIpInfoResponse(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
|
+
'id': 'str',
|
22
|
+
'ips': 'list[str]',
|
23
|
+
'x_request_id': 'str'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'id': 'id',
|
28
|
+
'ips': 'ips',
|
29
|
+
'x_request_id': 'X-request-id'
|
30
|
+
}
|
31
|
+
|
32
|
+
def __init__(self, id=None, ips=None, x_request_id=None):
|
33
|
+
r"""ShowClientIpInfoResponse
|
34
|
+
|
35
|
+
The model defined in huaweicloud sdk
|
36
|
+
|
37
|
+
:param id: 文件系统ID
|
38
|
+
:type id: str
|
39
|
+
:param ips: 已挂载客户端的IP
|
40
|
+
:type ips: list[str]
|
41
|
+
:param x_request_id:
|
42
|
+
:type x_request_id: str
|
43
|
+
"""
|
44
|
+
|
45
|
+
super(ShowClientIpInfoResponse, self).__init__()
|
46
|
+
|
47
|
+
self._id = None
|
48
|
+
self._ips = None
|
49
|
+
self._x_request_id = None
|
50
|
+
self.discriminator = None
|
51
|
+
|
52
|
+
if id is not None:
|
53
|
+
self.id = id
|
54
|
+
if ips is not None:
|
55
|
+
self.ips = ips
|
56
|
+
if x_request_id is not None:
|
57
|
+
self.x_request_id = x_request_id
|
58
|
+
|
59
|
+
@property
|
60
|
+
def id(self):
|
61
|
+
r"""Gets the id of this ShowClientIpInfoResponse.
|
62
|
+
|
63
|
+
文件系统ID
|
64
|
+
|
65
|
+
:return: The id of this ShowClientIpInfoResponse.
|
66
|
+
:rtype: str
|
67
|
+
"""
|
68
|
+
return self._id
|
69
|
+
|
70
|
+
@id.setter
|
71
|
+
def id(self, id):
|
72
|
+
r"""Sets the id of this ShowClientIpInfoResponse.
|
73
|
+
|
74
|
+
文件系统ID
|
75
|
+
|
76
|
+
:param id: The id of this ShowClientIpInfoResponse.
|
77
|
+
:type id: str
|
78
|
+
"""
|
79
|
+
self._id = id
|
80
|
+
|
81
|
+
@property
|
82
|
+
def ips(self):
|
83
|
+
r"""Gets the ips of this ShowClientIpInfoResponse.
|
84
|
+
|
85
|
+
已挂载客户端的IP
|
86
|
+
|
87
|
+
:return: The ips of this ShowClientIpInfoResponse.
|
88
|
+
:rtype: list[str]
|
89
|
+
"""
|
90
|
+
return self._ips
|
91
|
+
|
92
|
+
@ips.setter
|
93
|
+
def ips(self, ips):
|
94
|
+
r"""Sets the ips of this ShowClientIpInfoResponse.
|
95
|
+
|
96
|
+
已挂载客户端的IP
|
97
|
+
|
98
|
+
:param ips: The ips of this ShowClientIpInfoResponse.
|
99
|
+
:type ips: list[str]
|
100
|
+
"""
|
101
|
+
self._ips = ips
|
102
|
+
|
103
|
+
@property
|
104
|
+
def x_request_id(self):
|
105
|
+
r"""Gets the x_request_id of this ShowClientIpInfoResponse.
|
106
|
+
|
107
|
+
:return: The x_request_id of this ShowClientIpInfoResponse.
|
108
|
+
:rtype: str
|
109
|
+
"""
|
110
|
+
return self._x_request_id
|
111
|
+
|
112
|
+
@x_request_id.setter
|
113
|
+
def x_request_id(self, x_request_id):
|
114
|
+
r"""Sets the x_request_id of this ShowClientIpInfoResponse.
|
115
|
+
|
116
|
+
:param x_request_id: The x_request_id of this ShowClientIpInfoResponse.
|
117
|
+
:type x_request_id: str
|
118
|
+
"""
|
119
|
+
self._x_request_id = x_request_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, ShowClientIpInfoResponse):
|
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
|