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.
Files changed (191) hide show
  1. huaweicloudsdksfsturbo/__init__.py +0 -0
  2. huaweicloudsdksfsturbo/v1/__init__.py +187 -0
  3. huaweicloudsdksfsturbo/v1/model/__init__.py +184 -0
  4. huaweicloudsdksfsturbo/v1/model/action_progress.py +115 -0
  5. huaweicloudsdksfsturbo/v1/model/add_active_directory_domain_request.py +139 -0
  6. huaweicloudsdksfsturbo/v1/model/add_active_directory_domain_request_body.py +313 -0
  7. huaweicloudsdksfsturbo/v1/model/add_active_directory_domain_response.py +141 -0
  8. huaweicloudsdksfsturbo/v1/model/auto_export_policy.py +173 -0
  9. huaweicloudsdksfsturbo/v1/model/batch_add_shared_tags_request.py +139 -0
  10. huaweicloudsdksfsturbo/v1/model/batch_add_shared_tags_request_body.py +142 -0
  11. huaweicloudsdksfsturbo/v1/model/batch_add_shared_tags_response.py +85 -0
  12. huaweicloudsdksfsturbo/v1/model/bss_info.py +200 -0
  13. huaweicloudsdksfsturbo/v1/model/bss_info_extend.py +115 -0
  14. huaweicloudsdksfsturbo/v1/model/change_security_group.py +114 -0
  15. huaweicloudsdksfsturbo/v1/model/change_security_group_request.py +139 -0
  16. huaweicloudsdksfsturbo/v1/model/change_security_group_request_body.py +110 -0
  17. huaweicloudsdksfsturbo/v1/model/change_security_group_response.py +116 -0
  18. huaweicloudsdksfsturbo/v1/model/change_share_charge_mode_request_body.py +110 -0
  19. huaweicloudsdksfsturbo/v1/model/change_share_charge_mode_v2_request.py +139 -0
  20. huaweicloudsdksfsturbo/v1/model/change_share_charge_mode_v2_response.py +141 -0
  21. huaweicloudsdksfsturbo/v1/model/change_share_name_req.py +110 -0
  22. huaweicloudsdksfsturbo/v1/model/change_share_name_request.py +139 -0
  23. huaweicloudsdksfsturbo/v1/model/change_share_name_response.py +85 -0
  24. huaweicloudsdksfsturbo/v1/model/client_ip_info.py +115 -0
  25. huaweicloudsdksfsturbo/v1/model/config_nas_target.py +170 -0
  26. huaweicloudsdksfsturbo/v1/model/create_backend_target_request.py +139 -0
  27. huaweicloudsdksfsturbo/v1/model/create_backend_target_request_body.py +138 -0
  28. huaweicloudsdksfsturbo/v1/model/create_backend_target_response.py +278 -0
  29. huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_request.py +139 -0
  30. huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_request_body.py +172 -0
  31. huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_response.py +232 -0
  32. huaweicloudsdksfsturbo/v1/model/create_fs_dir_request.py +139 -0
  33. huaweicloudsdksfsturbo/v1/model/create_fs_dir_request_body.py +201 -0
  34. huaweicloudsdksfsturbo/v1/model/create_fs_dir_response.py +85 -0
  35. huaweicloudsdksfsturbo/v1/model/create_fs_task_request.py +167 -0
  36. huaweicloudsdksfsturbo/v1/model/create_fs_task_response.py +141 -0
  37. huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_req.py +253 -0
  38. huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_request.py +139 -0
  39. huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_response.py +141 -0
  40. huaweicloudsdksfsturbo/v1/model/create_ldap_config_request.py +139 -0
  41. huaweicloudsdksfsturbo/v1/model/create_ldap_config_request_body.py +345 -0
  42. huaweicloudsdksfsturbo/v1/model/create_ldap_config_response.py +141 -0
  43. huaweicloudsdksfsturbo/v1/model/create_perm_rule_request.py +139 -0
  44. huaweicloudsdksfsturbo/v1/model/create_perm_rule_response.py +116 -0
  45. huaweicloudsdksfsturbo/v1/model/create_perm_rules_request_body.py +114 -0
  46. huaweicloudsdksfsturbo/v1/model/create_share_request.py +111 -0
  47. huaweicloudsdksfsturbo/v1/model/create_share_request_body.py +135 -0
  48. huaweicloudsdksfsturbo/v1/model/create_share_response.py +174 -0
  49. huaweicloudsdksfsturbo/v1/model/create_shared_tag_request.py +139 -0
  50. huaweicloudsdksfsturbo/v1/model/create_shared_tag_request_body.py +110 -0
  51. huaweicloudsdksfsturbo/v1/model/create_shared_tag_response.py +85 -0
  52. huaweicloudsdksfsturbo/v1/model/delete_active_directory_domain_request.py +139 -0
  53. huaweicloudsdksfsturbo/v1/model/delete_active_directory_domain_request_body.py +142 -0
  54. huaweicloudsdksfsturbo/v1/model/delete_active_directory_domain_response.py +141 -0
  55. huaweicloudsdksfsturbo/v1/model/delete_backend_target_request.py +171 -0
  56. huaweicloudsdksfsturbo/v1/model/delete_backend_target_response.py +199 -0
  57. huaweicloudsdksfsturbo/v1/model/delete_fs_dir_quota_request.py +139 -0
  58. huaweicloudsdksfsturbo/v1/model/delete_fs_dir_quota_request_body.py +114 -0
  59. huaweicloudsdksfsturbo/v1/model/delete_fs_dir_quota_response.py +85 -0
  60. huaweicloudsdksfsturbo/v1/model/delete_fs_dir_request.py +139 -0
  61. huaweicloudsdksfsturbo/v1/model/delete_fs_dir_request_body.py +114 -0
  62. huaweicloudsdksfsturbo/v1/model/delete_fs_dir_response.py +85 -0
  63. huaweicloudsdksfsturbo/v1/model/delete_fs_task_request.py +170 -0
  64. huaweicloudsdksfsturbo/v1/model/delete_fs_task_response.py +112 -0
  65. huaweicloudsdksfsturbo/v1/model/delete_hpc_cache_task_request.py +142 -0
  66. huaweicloudsdksfsturbo/v1/model/delete_hpc_cache_task_response.py +112 -0
  67. huaweicloudsdksfsturbo/v1/model/delete_ldap_config_request.py +114 -0
  68. huaweicloudsdksfsturbo/v1/model/delete_ldap_config_response.py +141 -0
  69. huaweicloudsdksfsturbo/v1/model/delete_perm_rule_request.py +142 -0
  70. huaweicloudsdksfsturbo/v1/model/delete_perm_rule_response.py +85 -0
  71. huaweicloudsdksfsturbo/v1/model/delete_share_request.py +114 -0
  72. huaweicloudsdksfsturbo/v1/model/delete_share_response.py +85 -0
  73. huaweicloudsdksfsturbo/v1/model/delete_shared_tag_request.py +142 -0
  74. huaweicloudsdksfsturbo/v1/model/delete_shared_tag_response.py +85 -0
  75. huaweicloudsdksfsturbo/v1/model/expand_share_request.py +139 -0
  76. huaweicloudsdksfsturbo/v1/model/expand_share_request_body.py +110 -0
  77. huaweicloudsdksfsturbo/v1/model/expand_share_response.py +145 -0
  78. huaweicloudsdksfsturbo/v1/model/extend.py +168 -0
  79. huaweicloudsdksfsturbo/v1/model/failure_details_message.py +114 -0
  80. huaweicloudsdksfsturbo/v1/model/fs_dir_req.py +114 -0
  81. huaweicloudsdksfsturbo/v1/model/fs_dir_uasge.py +114 -0
  82. huaweicloudsdksfsturbo/v1/model/fs_du_info.py +198 -0
  83. huaweicloudsdksfsturbo/v1/model/fs_file_count.py +289 -0
  84. huaweicloudsdksfsturbo/v1/model/get_sub_job_detail.py +289 -0
  85. huaweicloudsdksfsturbo/v1/model/list_backend_targets_request.py +172 -0
  86. huaweicloudsdksfsturbo/v1/model/list_backend_targets_response.py +170 -0
  87. huaweicloudsdksfsturbo/v1/model/list_fs_tasks_request.py +200 -0
  88. huaweicloudsdksfsturbo/v1/model/list_fs_tasks_response.py +141 -0
  89. huaweicloudsdksfsturbo/v1/model/list_hpc_cache_tasks_request.py +288 -0
  90. huaweicloudsdksfsturbo/v1/model/list_hpc_cache_tasks_response.py +170 -0
  91. huaweicloudsdksfsturbo/v1/model/list_perm_rules_request.py +172 -0
  92. huaweicloudsdksfsturbo/v1/model/list_perm_rules_response.py +116 -0
  93. huaweicloudsdksfsturbo/v1/model/list_share_types_request.py +144 -0
  94. huaweicloudsdksfsturbo/v1/model/list_share_types_response.py +141 -0
  95. huaweicloudsdksfsturbo/v1/model/list_shared_tags_request.py +144 -0
  96. huaweicloudsdksfsturbo/v1/model/list_shared_tags_response.py +116 -0
  97. huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_request.py +111 -0
  98. huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_request_body.py +259 -0
  99. huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_resource.py +202 -0
  100. huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_response.py +170 -0
  101. huaweicloudsdksfsturbo/v1/model/list_shares_request.py +144 -0
  102. huaweicloudsdksfsturbo/v1/model/list_shares_response.py +145 -0
  103. huaweicloudsdksfsturbo/v1/model/metadata.py +231 -0
  104. huaweicloudsdksfsturbo/v1/model/obs_data_repository.py +192 -0
  105. huaweicloudsdksfsturbo/v1/model/obs_data_repository_policy.py +111 -0
  106. huaweicloudsdksfsturbo/v1/model/obs_target_attributes.py +202 -0
  107. huaweicloudsdksfsturbo/v1/model/one_fs_task_resp.py +223 -0
  108. huaweicloudsdksfsturbo/v1/model/one_hpc_cache_task_info_resp.py +366 -0
  109. huaweicloudsdksfsturbo/v1/model/one_perm_rule_request_info.py +170 -0
  110. huaweicloudsdksfsturbo/v1/model/one_perm_rule_response_info.py +198 -0
  111. huaweicloudsdksfsturbo/v1/model/req_config_hpc_cache_backend.py +110 -0
  112. huaweicloudsdksfsturbo/v1/model/req_update_hpc_cache_data.py +171 -0
  113. huaweicloudsdksfsturbo/v1/model/req_update_hpc_cache_info.py +138 -0
  114. huaweicloudsdksfsturbo/v1/model/resource_tag.py +142 -0
  115. huaweicloudsdksfsturbo/v1/model/set_hpc_cache_backend_request.py +139 -0
  116. huaweicloudsdksfsturbo/v1/model/set_hpc_cache_backend_response.py +112 -0
  117. huaweicloudsdksfsturbo/v1/model/share.py +451 -0
  118. huaweicloudsdksfsturbo/v1/model/share_info.py +919 -0
  119. huaweicloudsdksfsturbo/v1/model/share_info_feature.py +173 -0
  120. huaweicloudsdksfsturbo/v1/model/share_info_features.py +111 -0
  121. huaweicloudsdksfsturbo/v1/model/share_name.py +114 -0
  122. huaweicloudsdksfsturbo/v1/model/share_type_available_zone.py +144 -0
  123. huaweicloudsdksfsturbo/v1/model/share_type_response_body.py +368 -0
  124. huaweicloudsdksfsturbo/v1/model/share_type_usage.py +161 -0
  125. huaweicloudsdksfsturbo/v1/model/share_type_usage_bandwidth.py +144 -0
  126. huaweicloudsdksfsturbo/v1/model/share_type_usage_capacity.py +144 -0
  127. huaweicloudsdksfsturbo/v1/model/share_type_usage_quantity.py +144 -0
  128. huaweicloudsdksfsturbo/v1/model/share_types_attribution.py +186 -0
  129. huaweicloudsdksfsturbo/v1/model/share_types_attribution_bandwidth.py +231 -0
  130. huaweicloudsdksfsturbo/v1/model/share_types_attribution_capacity.py +173 -0
  131. huaweicloudsdksfsturbo/v1/model/share_types_attribution_iops.py +144 -0
  132. huaweicloudsdksfsturbo/v1/model/share_types_attribution_single_channel4_k_latency.py +144 -0
  133. huaweicloudsdksfsturbo/v1/model/show_active_directory_domain_request.py +114 -0
  134. huaweicloudsdksfsturbo/v1/model/show_active_directory_domain_response.py +286 -0
  135. huaweicloudsdksfsturbo/v1/model/show_backend_target_info_request.py +142 -0
  136. huaweicloudsdksfsturbo/v1/model/show_backend_target_info_response.py +278 -0
  137. huaweicloudsdksfsturbo/v1/model/show_backend_target_info_response_body.py +252 -0
  138. huaweicloudsdksfsturbo/v1/model/show_client_ip_info_request.py +139 -0
  139. huaweicloudsdksfsturbo/v1/model/show_client_ip_info_request_body.py +110 -0
  140. huaweicloudsdksfsturbo/v1/model/show_client_ip_info_response.py +170 -0
  141. huaweicloudsdksfsturbo/v1/model/show_fs_dir_quota_request.py +142 -0
  142. huaweicloudsdksfsturbo/v1/model/show_fs_dir_quota_response.py +232 -0
  143. huaweicloudsdksfsturbo/v1/model/show_fs_dir_request.py +142 -0
  144. huaweicloudsdksfsturbo/v1/model/show_fs_dir_response.py +203 -0
  145. huaweicloudsdksfsturbo/v1/model/show_fs_dir_usage_request.py +142 -0
  146. huaweicloudsdksfsturbo/v1/model/show_fs_dir_usage_response.py +137 -0
  147. huaweicloudsdksfsturbo/v1/model/show_fs_task_request.py +170 -0
  148. huaweicloudsdksfsturbo/v1/model/show_fs_task_response.py +253 -0
  149. huaweicloudsdksfsturbo/v1/model/show_hpc_cache_task_request.py +142 -0
  150. huaweicloudsdksfsturbo/v1/model/show_hpc_cache_task_response.py +402 -0
  151. huaweicloudsdksfsturbo/v1/model/show_job_detail_request.py +114 -0
  152. huaweicloudsdksfsturbo/v1/model/show_job_detail_response.py +344 -0
  153. huaweicloudsdksfsturbo/v1/model/show_ldap_config_request.py +114 -0
  154. huaweicloudsdksfsturbo/v1/model/show_ldap_config_response.py +344 -0
  155. huaweicloudsdksfsturbo/v1/model/show_perm_rule_request.py +142 -0
  156. huaweicloudsdksfsturbo/v1/model/show_perm_rule_response.py +203 -0
  157. huaweicloudsdksfsturbo/v1/model/show_share_request.py +114 -0
  158. huaweicloudsdksfsturbo/v1/model/show_share_response.py +920 -0
  159. huaweicloudsdksfsturbo/v1/model/show_shared_tags_request.py +114 -0
  160. huaweicloudsdksfsturbo/v1/model/show_shared_tags_response.py +116 -0
  161. huaweicloudsdksfsturbo/v1/model/tag.py +142 -0
  162. huaweicloudsdksfsturbo/v1/model/update_active_directory_domain_request.py +139 -0
  163. huaweicloudsdksfsturbo/v1/model/update_active_directory_domain_request_body.py +313 -0
  164. huaweicloudsdksfsturbo/v1/model/update_active_directory_domain_response.py +141 -0
  165. huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_request.py +139 -0
  166. huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_request_body.py +172 -0
  167. huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_response.py +232 -0
  168. huaweicloudsdksfsturbo/v1/model/update_hpc_share_request.py +139 -0
  169. huaweicloudsdksfsturbo/v1/model/update_hpc_share_request_body.py +142 -0
  170. huaweicloudsdksfsturbo/v1/model/update_hpc_share_response.py +141 -0
  171. huaweicloudsdksfsturbo/v1/model/update_ldap_config_request.py +139 -0
  172. huaweicloudsdksfsturbo/v1/model/update_ldap_config_request_body.py +347 -0
  173. huaweicloudsdksfsturbo/v1/model/update_ldap_config_response.py +141 -0
  174. huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_request.py +167 -0
  175. huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_request_body.py +110 -0
  176. huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_response.py +166 -0
  177. huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_request.py +167 -0
  178. huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_request_body.py +110 -0
  179. huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_response.py +166 -0
  180. huaweicloudsdksfsturbo/v1/model/update_one_perm_rule_request_info.py +144 -0
  181. huaweicloudsdksfsturbo/v1/model/update_perm_rule_request.py +167 -0
  182. huaweicloudsdksfsturbo/v1/model/update_perm_rule_response.py +203 -0
  183. huaweicloudsdksfsturbo/v1/region/__init__.py +0 -0
  184. huaweicloudsdksfsturbo/v1/region/sfsturbo_region.py +118 -0
  185. huaweicloudsdksfsturbo/v1/sfsturbo_async_client.py +3722 -0
  186. huaweicloudsdksfsturbo/v1/sfsturbo_client.py +3719 -0
  187. huaweicloudsdksfsturbo-3.1.160.dist-info/LICENSE +13 -0
  188. huaweicloudsdksfsturbo-3.1.160.dist-info/METADATA +26 -0
  189. huaweicloudsdksfsturbo-3.1.160.dist-info/RECORD +191 -0
  190. huaweicloudsdksfsturbo-3.1.160.dist-info/WHEEL +5 -0
  191. huaweicloudsdksfsturbo-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,286 @@
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 ShowActiveDirectoryDomainResponse(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
+ 'domain_name': 'str',
22
+ 'system_name': 'str',
23
+ 'dns_server': 'list[str]',
24
+ 'organization_unit': 'str',
25
+ 'vpc_id': 'str',
26
+ 'status': 'str',
27
+ 'x_request_id': 'str'
28
+ }
29
+
30
+ attribute_map = {
31
+ 'domain_name': 'domain_name',
32
+ 'system_name': 'system_name',
33
+ 'dns_server': 'dns_server',
34
+ 'organization_unit': 'organization_unit',
35
+ 'vpc_id': 'vpc_id',
36
+ 'status': 'status',
37
+ 'x_request_id': 'X-request-id'
38
+ }
39
+
40
+ def __init__(self, domain_name=None, system_name=None, dns_server=None, organization_unit=None, vpc_id=None, status=None, x_request_id=None):
41
+ r"""ShowActiveDirectoryDomainResponse
42
+
43
+ The model defined in huaweicloud sdk
44
+
45
+ :param domain_name: 域控服务器的域名,在创建域服务器时指定
46
+ :type domain_name: str
47
+ :param system_name: 存储系统在AD域中的名称
48
+ :type system_name: str
49
+ :param dns_server: DNS服务器IP地址,用于解析AD域的域名
50
+ :type dns_server: list[str]
51
+ :param organization_unit: 域中包含的一类目录对象如用户、计算机、打印机等资源的总称,加入后将作为其中的一员。若不填,则默认加入到computers组织单元。
52
+ :type organization_unit: str
53
+ :param vpc_id: vpc的id
54
+ :type vpc_id: str
55
+ :param status: AD域当前状态信息
56
+ :type status: str
57
+ :param x_request_id:
58
+ :type x_request_id: str
59
+ """
60
+
61
+ super(ShowActiveDirectoryDomainResponse, self).__init__()
62
+
63
+ self._domain_name = None
64
+ self._system_name = None
65
+ self._dns_server = None
66
+ self._organization_unit = None
67
+ self._vpc_id = None
68
+ self._status = None
69
+ self._x_request_id = None
70
+ self.discriminator = None
71
+
72
+ if domain_name is not None:
73
+ self.domain_name = domain_name
74
+ if system_name is not None:
75
+ self.system_name = system_name
76
+ if dns_server is not None:
77
+ self.dns_server = dns_server
78
+ if organization_unit is not None:
79
+ self.organization_unit = organization_unit
80
+ if vpc_id is not None:
81
+ self.vpc_id = vpc_id
82
+ if status is not None:
83
+ self.status = status
84
+ if x_request_id is not None:
85
+ self.x_request_id = x_request_id
86
+
87
+ @property
88
+ def domain_name(self):
89
+ r"""Gets the domain_name of this ShowActiveDirectoryDomainResponse.
90
+
91
+ 域控服务器的域名,在创建域服务器时指定
92
+
93
+ :return: The domain_name of this ShowActiveDirectoryDomainResponse.
94
+ :rtype: str
95
+ """
96
+ return self._domain_name
97
+
98
+ @domain_name.setter
99
+ def domain_name(self, domain_name):
100
+ r"""Sets the domain_name of this ShowActiveDirectoryDomainResponse.
101
+
102
+ 域控服务器的域名,在创建域服务器时指定
103
+
104
+ :param domain_name: The domain_name of this ShowActiveDirectoryDomainResponse.
105
+ :type domain_name: str
106
+ """
107
+ self._domain_name = domain_name
108
+
109
+ @property
110
+ def system_name(self):
111
+ r"""Gets the system_name of this ShowActiveDirectoryDomainResponse.
112
+
113
+ 存储系统在AD域中的名称
114
+
115
+ :return: The system_name of this ShowActiveDirectoryDomainResponse.
116
+ :rtype: str
117
+ """
118
+ return self._system_name
119
+
120
+ @system_name.setter
121
+ def system_name(self, system_name):
122
+ r"""Sets the system_name of this ShowActiveDirectoryDomainResponse.
123
+
124
+ 存储系统在AD域中的名称
125
+
126
+ :param system_name: The system_name of this ShowActiveDirectoryDomainResponse.
127
+ :type system_name: str
128
+ """
129
+ self._system_name = system_name
130
+
131
+ @property
132
+ def dns_server(self):
133
+ r"""Gets the dns_server of this ShowActiveDirectoryDomainResponse.
134
+
135
+ DNS服务器IP地址,用于解析AD域的域名
136
+
137
+ :return: The dns_server of this ShowActiveDirectoryDomainResponse.
138
+ :rtype: list[str]
139
+ """
140
+ return self._dns_server
141
+
142
+ @dns_server.setter
143
+ def dns_server(self, dns_server):
144
+ r"""Sets the dns_server of this ShowActiveDirectoryDomainResponse.
145
+
146
+ DNS服务器IP地址,用于解析AD域的域名
147
+
148
+ :param dns_server: The dns_server of this ShowActiveDirectoryDomainResponse.
149
+ :type dns_server: list[str]
150
+ """
151
+ self._dns_server = dns_server
152
+
153
+ @property
154
+ def organization_unit(self):
155
+ r"""Gets the organization_unit of this ShowActiveDirectoryDomainResponse.
156
+
157
+ 域中包含的一类目录对象如用户、计算机、打印机等资源的总称,加入后将作为其中的一员。若不填,则默认加入到computers组织单元。
158
+
159
+ :return: The organization_unit of this ShowActiveDirectoryDomainResponse.
160
+ :rtype: str
161
+ """
162
+ return self._organization_unit
163
+
164
+ @organization_unit.setter
165
+ def organization_unit(self, organization_unit):
166
+ r"""Sets the organization_unit of this ShowActiveDirectoryDomainResponse.
167
+
168
+ 域中包含的一类目录对象如用户、计算机、打印机等资源的总称,加入后将作为其中的一员。若不填,则默认加入到computers组织单元。
169
+
170
+ :param organization_unit: The organization_unit of this ShowActiveDirectoryDomainResponse.
171
+ :type organization_unit: str
172
+ """
173
+ self._organization_unit = organization_unit
174
+
175
+ @property
176
+ def vpc_id(self):
177
+ r"""Gets the vpc_id of this ShowActiveDirectoryDomainResponse.
178
+
179
+ vpc的id
180
+
181
+ :return: The vpc_id of this ShowActiveDirectoryDomainResponse.
182
+ :rtype: str
183
+ """
184
+ return self._vpc_id
185
+
186
+ @vpc_id.setter
187
+ def vpc_id(self, vpc_id):
188
+ r"""Sets the vpc_id of this ShowActiveDirectoryDomainResponse.
189
+
190
+ vpc的id
191
+
192
+ :param vpc_id: The vpc_id of this ShowActiveDirectoryDomainResponse.
193
+ :type vpc_id: str
194
+ """
195
+ self._vpc_id = vpc_id
196
+
197
+ @property
198
+ def status(self):
199
+ r"""Gets the status of this ShowActiveDirectoryDomainResponse.
200
+
201
+ AD域当前状态信息
202
+
203
+ :return: The status of this ShowActiveDirectoryDomainResponse.
204
+ :rtype: str
205
+ """
206
+ return self._status
207
+
208
+ @status.setter
209
+ def status(self, status):
210
+ r"""Sets the status of this ShowActiveDirectoryDomainResponse.
211
+
212
+ AD域当前状态信息
213
+
214
+ :param status: The status of this ShowActiveDirectoryDomainResponse.
215
+ :type status: str
216
+ """
217
+ self._status = status
218
+
219
+ @property
220
+ def x_request_id(self):
221
+ r"""Gets the x_request_id of this ShowActiveDirectoryDomainResponse.
222
+
223
+ :return: The x_request_id of this ShowActiveDirectoryDomainResponse.
224
+ :rtype: str
225
+ """
226
+ return self._x_request_id
227
+
228
+ @x_request_id.setter
229
+ def x_request_id(self, x_request_id):
230
+ r"""Sets the x_request_id of this ShowActiveDirectoryDomainResponse.
231
+
232
+ :param x_request_id: The x_request_id of this ShowActiveDirectoryDomainResponse.
233
+ :type x_request_id: str
234
+ """
235
+ self._x_request_id = x_request_id
236
+
237
+ def to_dict(self):
238
+ """Returns the model properties as a dict"""
239
+ result = {}
240
+
241
+ for attr, _ in six.iteritems(self.openapi_types):
242
+ value = getattr(self, attr)
243
+ if isinstance(value, list):
244
+ result[attr] = list(map(
245
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
246
+ value
247
+ ))
248
+ elif hasattr(value, "to_dict"):
249
+ result[attr] = value.to_dict()
250
+ elif isinstance(value, dict):
251
+ result[attr] = dict(map(
252
+ lambda item: (item[0], item[1].to_dict())
253
+ if hasattr(item[1], "to_dict") else item,
254
+ value.items()
255
+ ))
256
+ else:
257
+ if attr in self.sensitive_list:
258
+ result[attr] = "****"
259
+ else:
260
+ result[attr] = value
261
+
262
+ return result
263
+
264
+ def to_str(self):
265
+ """Returns the string representation of the model"""
266
+ import simplejson as json
267
+ if six.PY2:
268
+ import sys
269
+ reload(sys)
270
+ sys.setdefaultencoding("utf-8")
271
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
272
+
273
+ def __repr__(self):
274
+ """For `print`"""
275
+ return self.to_str()
276
+
277
+ def __eq__(self, other):
278
+ """Returns true if both objects are equal"""
279
+ if not isinstance(other, ShowActiveDirectoryDomainResponse):
280
+ return False
281
+
282
+ return self.__dict__ == other.__dict__
283
+
284
+ def __ne__(self, other):
285
+ """Returns true if both objects are not equal"""
286
+ 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 ShowBackendTargetInfoRequest:
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
+ 'target_id': 'str'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'share_id': 'share_id',
26
+ 'target_id': 'target_id'
27
+ }
28
+
29
+ def __init__(self, share_id=None, target_id=None):
30
+ r"""ShowBackendTargetInfoRequest
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param share_id: 文件系统id
35
+ :type share_id: str
36
+ :param target_id: 绑定关系id
37
+ :type target_id: str
38
+ """
39
+
40
+
41
+
42
+ self._share_id = None
43
+ self._target_id = None
44
+ self.discriminator = None
45
+
46
+ self.share_id = share_id
47
+ self.target_id = target_id
48
+
49
+ @property
50
+ def share_id(self):
51
+ r"""Gets the share_id of this ShowBackendTargetInfoRequest.
52
+
53
+ 文件系统id
54
+
55
+ :return: The share_id of this ShowBackendTargetInfoRequest.
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 ShowBackendTargetInfoRequest.
63
+
64
+ 文件系统id
65
+
66
+ :param share_id: The share_id of this ShowBackendTargetInfoRequest.
67
+ :type share_id: str
68
+ """
69
+ self._share_id = share_id
70
+
71
+ @property
72
+ def target_id(self):
73
+ r"""Gets the target_id of this ShowBackendTargetInfoRequest.
74
+
75
+ 绑定关系id
76
+
77
+ :return: The target_id of this ShowBackendTargetInfoRequest.
78
+ :rtype: str
79
+ """
80
+ return self._target_id
81
+
82
+ @target_id.setter
83
+ def target_id(self, target_id):
84
+ r"""Sets the target_id of this ShowBackendTargetInfoRequest.
85
+
86
+ 绑定关系id
87
+
88
+ :param target_id: The target_id of this ShowBackendTargetInfoRequest.
89
+ :type target_id: str
90
+ """
91
+ self._target_id = target_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, ShowBackendTargetInfoRequest):
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,278 @@
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 ShowBackendTargetInfoResponse(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
+ 'target_id': 'str',
22
+ 'creation_time': 'str',
23
+ 'file_system_path': 'str',
24
+ 'failure_details': 'FailureDetailsMessage',
25
+ 'lifecycle': 'str',
26
+ 'obs': 'ObsDataRepository',
27
+ 'x_request_id': 'str'
28
+ }
29
+
30
+ attribute_map = {
31
+ 'target_id': 'target_id',
32
+ 'creation_time': 'creation_time',
33
+ 'file_system_path': 'file_system_path',
34
+ 'failure_details': 'failure_details',
35
+ 'lifecycle': 'lifecycle',
36
+ 'obs': 'obs',
37
+ 'x_request_id': 'X-request-id'
38
+ }
39
+
40
+ def __init__(self, target_id=None, creation_time=None, file_system_path=None, failure_details=None, lifecycle=None, obs=None, x_request_id=None):
41
+ r"""ShowBackendTargetInfoResponse
42
+
43
+ The model defined in huaweicloud sdk
44
+
45
+ :param target_id: 绑定关系ID
46
+ :type target_id: str
47
+ :param creation_time: 绑定关系创建时间
48
+ :type creation_time: str
49
+ :param file_system_path: 联动目录名称
50
+ :type file_system_path: str
51
+ :param failure_details:
52
+ :type failure_details: :class:`huaweicloudsdksfsturbo.v1.FailureDetailsMessage`
53
+ :param lifecycle: 绑定状态
54
+ :type lifecycle: str
55
+ :param obs:
56
+ :type obs: :class:`huaweicloudsdksfsturbo.v1.ObsDataRepository`
57
+ :param x_request_id:
58
+ :type x_request_id: str
59
+ """
60
+
61
+ super(ShowBackendTargetInfoResponse, self).__init__()
62
+
63
+ self._target_id = None
64
+ self._creation_time = None
65
+ self._file_system_path = None
66
+ self._failure_details = None
67
+ self._lifecycle = None
68
+ self._obs = None
69
+ self._x_request_id = None
70
+ self.discriminator = None
71
+
72
+ if target_id is not None:
73
+ self.target_id = target_id
74
+ if creation_time is not None:
75
+ self.creation_time = creation_time
76
+ if file_system_path is not None:
77
+ self.file_system_path = file_system_path
78
+ if failure_details is not None:
79
+ self.failure_details = failure_details
80
+ if lifecycle is not None:
81
+ self.lifecycle = lifecycle
82
+ if obs is not None:
83
+ self.obs = obs
84
+ if x_request_id is not None:
85
+ self.x_request_id = x_request_id
86
+
87
+ @property
88
+ def target_id(self):
89
+ r"""Gets the target_id of this ShowBackendTargetInfoResponse.
90
+
91
+ 绑定关系ID
92
+
93
+ :return: The target_id of this ShowBackendTargetInfoResponse.
94
+ :rtype: str
95
+ """
96
+ return self._target_id
97
+
98
+ @target_id.setter
99
+ def target_id(self, target_id):
100
+ r"""Sets the target_id of this ShowBackendTargetInfoResponse.
101
+
102
+ 绑定关系ID
103
+
104
+ :param target_id: The target_id of this ShowBackendTargetInfoResponse.
105
+ :type target_id: str
106
+ """
107
+ self._target_id = target_id
108
+
109
+ @property
110
+ def creation_time(self):
111
+ r"""Gets the creation_time of this ShowBackendTargetInfoResponse.
112
+
113
+ 绑定关系创建时间
114
+
115
+ :return: The creation_time of this ShowBackendTargetInfoResponse.
116
+ :rtype: str
117
+ """
118
+ return self._creation_time
119
+
120
+ @creation_time.setter
121
+ def creation_time(self, creation_time):
122
+ r"""Sets the creation_time of this ShowBackendTargetInfoResponse.
123
+
124
+ 绑定关系创建时间
125
+
126
+ :param creation_time: The creation_time of this ShowBackendTargetInfoResponse.
127
+ :type creation_time: str
128
+ """
129
+ self._creation_time = creation_time
130
+
131
+ @property
132
+ def file_system_path(self):
133
+ r"""Gets the file_system_path of this ShowBackendTargetInfoResponse.
134
+
135
+ 联动目录名称
136
+
137
+ :return: The file_system_path of this ShowBackendTargetInfoResponse.
138
+ :rtype: str
139
+ """
140
+ return self._file_system_path
141
+
142
+ @file_system_path.setter
143
+ def file_system_path(self, file_system_path):
144
+ r"""Sets the file_system_path of this ShowBackendTargetInfoResponse.
145
+
146
+ 联动目录名称
147
+
148
+ :param file_system_path: The file_system_path of this ShowBackendTargetInfoResponse.
149
+ :type file_system_path: str
150
+ """
151
+ self._file_system_path = file_system_path
152
+
153
+ @property
154
+ def failure_details(self):
155
+ r"""Gets the failure_details of this ShowBackendTargetInfoResponse.
156
+
157
+ :return: The failure_details of this ShowBackendTargetInfoResponse.
158
+ :rtype: :class:`huaweicloudsdksfsturbo.v1.FailureDetailsMessage`
159
+ """
160
+ return self._failure_details
161
+
162
+ @failure_details.setter
163
+ def failure_details(self, failure_details):
164
+ r"""Sets the failure_details of this ShowBackendTargetInfoResponse.
165
+
166
+ :param failure_details: The failure_details of this ShowBackendTargetInfoResponse.
167
+ :type failure_details: :class:`huaweicloudsdksfsturbo.v1.FailureDetailsMessage`
168
+ """
169
+ self._failure_details = failure_details
170
+
171
+ @property
172
+ def lifecycle(self):
173
+ r"""Gets the lifecycle of this ShowBackendTargetInfoResponse.
174
+
175
+ 绑定状态
176
+
177
+ :return: The lifecycle of this ShowBackendTargetInfoResponse.
178
+ :rtype: str
179
+ """
180
+ return self._lifecycle
181
+
182
+ @lifecycle.setter
183
+ def lifecycle(self, lifecycle):
184
+ r"""Sets the lifecycle of this ShowBackendTargetInfoResponse.
185
+
186
+ 绑定状态
187
+
188
+ :param lifecycle: The lifecycle of this ShowBackendTargetInfoResponse.
189
+ :type lifecycle: str
190
+ """
191
+ self._lifecycle = lifecycle
192
+
193
+ @property
194
+ def obs(self):
195
+ r"""Gets the obs of this ShowBackendTargetInfoResponse.
196
+
197
+ :return: The obs of this ShowBackendTargetInfoResponse.
198
+ :rtype: :class:`huaweicloudsdksfsturbo.v1.ObsDataRepository`
199
+ """
200
+ return self._obs
201
+
202
+ @obs.setter
203
+ def obs(self, obs):
204
+ r"""Sets the obs of this ShowBackendTargetInfoResponse.
205
+
206
+ :param obs: The obs of this ShowBackendTargetInfoResponse.
207
+ :type obs: :class:`huaweicloudsdksfsturbo.v1.ObsDataRepository`
208
+ """
209
+ self._obs = obs
210
+
211
+ @property
212
+ def x_request_id(self):
213
+ r"""Gets the x_request_id of this ShowBackendTargetInfoResponse.
214
+
215
+ :return: The x_request_id of this ShowBackendTargetInfoResponse.
216
+ :rtype: str
217
+ """
218
+ return self._x_request_id
219
+
220
+ @x_request_id.setter
221
+ def x_request_id(self, x_request_id):
222
+ r"""Sets the x_request_id of this ShowBackendTargetInfoResponse.
223
+
224
+ :param x_request_id: The x_request_id of this ShowBackendTargetInfoResponse.
225
+ :type x_request_id: str
226
+ """
227
+ self._x_request_id = x_request_id
228
+
229
+ def to_dict(self):
230
+ """Returns the model properties as a dict"""
231
+ result = {}
232
+
233
+ for attr, _ in six.iteritems(self.openapi_types):
234
+ value = getattr(self, attr)
235
+ if isinstance(value, list):
236
+ result[attr] = list(map(
237
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
238
+ value
239
+ ))
240
+ elif hasattr(value, "to_dict"):
241
+ result[attr] = value.to_dict()
242
+ elif isinstance(value, dict):
243
+ result[attr] = dict(map(
244
+ lambda item: (item[0], item[1].to_dict())
245
+ if hasattr(item[1], "to_dict") else item,
246
+ value.items()
247
+ ))
248
+ else:
249
+ if attr in self.sensitive_list:
250
+ result[attr] = "****"
251
+ else:
252
+ result[attr] = value
253
+
254
+ return result
255
+
256
+ def to_str(self):
257
+ """Returns the string representation of the model"""
258
+ import simplejson as json
259
+ if six.PY2:
260
+ import sys
261
+ reload(sys)
262
+ sys.setdefaultencoding("utf-8")
263
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
264
+
265
+ def __repr__(self):
266
+ """For `print`"""
267
+ return self.to_str()
268
+
269
+ def __eq__(self, other):
270
+ """Returns true if both objects are equal"""
271
+ if not isinstance(other, ShowBackendTargetInfoResponse):
272
+ return False
273
+
274
+ return self.__dict__ == other.__dict__
275
+
276
+ def __ne__(self, other):
277
+ """Returns true if both objects are not equal"""
278
+ return not self == other