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,402 @@
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 ShowHpcCacheTaskResponse(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
+ 'task_id': 'str',
22
+ 'type': 'str',
23
+ 'status': 'str',
24
+ 'src_target': 'str',
25
+ 'src_prefix': 'str',
26
+ 'dest_target': 'str',
27
+ 'dest_prefix': 'str',
28
+ 'start_time': 'str',
29
+ 'end_time': 'str',
30
+ 'message': 'str',
31
+ 'x_request_id': 'str'
32
+ }
33
+
34
+ attribute_map = {
35
+ 'task_id': 'task_id',
36
+ 'type': 'type',
37
+ 'status': 'status',
38
+ 'src_target': 'src_target',
39
+ 'src_prefix': 'src_prefix',
40
+ 'dest_target': 'dest_target',
41
+ 'dest_prefix': 'dest_prefix',
42
+ 'start_time': 'start_time',
43
+ 'end_time': 'end_time',
44
+ 'message': 'message',
45
+ 'x_request_id': 'X-request-id'
46
+ }
47
+
48
+ def __init__(self, task_id=None, type=None, status=None, src_target=None, src_prefix=None, dest_target=None, dest_prefix=None, start_time=None, end_time=None, message=None, x_request_id=None):
49
+ r"""ShowHpcCacheTaskResponse
50
+
51
+ The model defined in huaweicloud sdk
52
+
53
+ :param task_id: 任务ID
54
+ :type task_id: str
55
+ :param type: 任务类型
56
+ :type type: str
57
+ :param status: 任务状态
58
+ :type status: str
59
+ :param src_target: 联动目录名称
60
+ :type src_target: str
61
+ :param src_prefix: 导入导出任务的源端路径前缀
62
+ :type src_prefix: str
63
+ :param dest_target: 和src_target保持一致
64
+ :type dest_target: str
65
+ :param dest_prefix: 和src_prefix保持一致
66
+ :type dest_prefix: str
67
+ :param start_time: 任务开始时间
68
+ :type start_time: str
69
+ :param end_time: 任务结束时间
70
+ :type end_time: str
71
+ :param message: 任务执行结果信息
72
+ :type message: str
73
+ :param x_request_id:
74
+ :type x_request_id: str
75
+ """
76
+
77
+ super(ShowHpcCacheTaskResponse, self).__init__()
78
+
79
+ self._task_id = None
80
+ self._type = None
81
+ self._status = None
82
+ self._src_target = None
83
+ self._src_prefix = None
84
+ self._dest_target = None
85
+ self._dest_prefix = None
86
+ self._start_time = None
87
+ self._end_time = None
88
+ self._message = None
89
+ self._x_request_id = None
90
+ self.discriminator = None
91
+
92
+ if task_id is not None:
93
+ self.task_id = task_id
94
+ if type is not None:
95
+ self.type = type
96
+ if status is not None:
97
+ self.status = status
98
+ if src_target is not None:
99
+ self.src_target = src_target
100
+ if src_prefix is not None:
101
+ self.src_prefix = src_prefix
102
+ if dest_target is not None:
103
+ self.dest_target = dest_target
104
+ if dest_prefix is not None:
105
+ self.dest_prefix = dest_prefix
106
+ if start_time is not None:
107
+ self.start_time = start_time
108
+ if end_time is not None:
109
+ self.end_time = end_time
110
+ if message is not None:
111
+ self.message = message
112
+ if x_request_id is not None:
113
+ self.x_request_id = x_request_id
114
+
115
+ @property
116
+ def task_id(self):
117
+ r"""Gets the task_id of this ShowHpcCacheTaskResponse.
118
+
119
+ 任务ID
120
+
121
+ :return: The task_id of this ShowHpcCacheTaskResponse.
122
+ :rtype: str
123
+ """
124
+ return self._task_id
125
+
126
+ @task_id.setter
127
+ def task_id(self, task_id):
128
+ r"""Sets the task_id of this ShowHpcCacheTaskResponse.
129
+
130
+ 任务ID
131
+
132
+ :param task_id: The task_id of this ShowHpcCacheTaskResponse.
133
+ :type task_id: str
134
+ """
135
+ self._task_id = task_id
136
+
137
+ @property
138
+ def type(self):
139
+ r"""Gets the type of this ShowHpcCacheTaskResponse.
140
+
141
+ 任务类型
142
+
143
+ :return: The type of this ShowHpcCacheTaskResponse.
144
+ :rtype: str
145
+ """
146
+ return self._type
147
+
148
+ @type.setter
149
+ def type(self, type):
150
+ r"""Sets the type of this ShowHpcCacheTaskResponse.
151
+
152
+ 任务类型
153
+
154
+ :param type: The type of this ShowHpcCacheTaskResponse.
155
+ :type type: str
156
+ """
157
+ self._type = type
158
+
159
+ @property
160
+ def status(self):
161
+ r"""Gets the status of this ShowHpcCacheTaskResponse.
162
+
163
+ 任务状态
164
+
165
+ :return: The status of this ShowHpcCacheTaskResponse.
166
+ :rtype: str
167
+ """
168
+ return self._status
169
+
170
+ @status.setter
171
+ def status(self, status):
172
+ r"""Sets the status of this ShowHpcCacheTaskResponse.
173
+
174
+ 任务状态
175
+
176
+ :param status: The status of this ShowHpcCacheTaskResponse.
177
+ :type status: str
178
+ """
179
+ self._status = status
180
+
181
+ @property
182
+ def src_target(self):
183
+ r"""Gets the src_target of this ShowHpcCacheTaskResponse.
184
+
185
+ 联动目录名称
186
+
187
+ :return: The src_target of this ShowHpcCacheTaskResponse.
188
+ :rtype: str
189
+ """
190
+ return self._src_target
191
+
192
+ @src_target.setter
193
+ def src_target(self, src_target):
194
+ r"""Sets the src_target of this ShowHpcCacheTaskResponse.
195
+
196
+ 联动目录名称
197
+
198
+ :param src_target: The src_target of this ShowHpcCacheTaskResponse.
199
+ :type src_target: str
200
+ """
201
+ self._src_target = src_target
202
+
203
+ @property
204
+ def src_prefix(self):
205
+ r"""Gets the src_prefix of this ShowHpcCacheTaskResponse.
206
+
207
+ 导入导出任务的源端路径前缀
208
+
209
+ :return: The src_prefix of this ShowHpcCacheTaskResponse.
210
+ :rtype: str
211
+ """
212
+ return self._src_prefix
213
+
214
+ @src_prefix.setter
215
+ def src_prefix(self, src_prefix):
216
+ r"""Sets the src_prefix of this ShowHpcCacheTaskResponse.
217
+
218
+ 导入导出任务的源端路径前缀
219
+
220
+ :param src_prefix: The src_prefix of this ShowHpcCacheTaskResponse.
221
+ :type src_prefix: str
222
+ """
223
+ self._src_prefix = src_prefix
224
+
225
+ @property
226
+ def dest_target(self):
227
+ r"""Gets the dest_target of this ShowHpcCacheTaskResponse.
228
+
229
+ 和src_target保持一致
230
+
231
+ :return: The dest_target of this ShowHpcCacheTaskResponse.
232
+ :rtype: str
233
+ """
234
+ return self._dest_target
235
+
236
+ @dest_target.setter
237
+ def dest_target(self, dest_target):
238
+ r"""Sets the dest_target of this ShowHpcCacheTaskResponse.
239
+
240
+ 和src_target保持一致
241
+
242
+ :param dest_target: The dest_target of this ShowHpcCacheTaskResponse.
243
+ :type dest_target: str
244
+ """
245
+ self._dest_target = dest_target
246
+
247
+ @property
248
+ def dest_prefix(self):
249
+ r"""Gets the dest_prefix of this ShowHpcCacheTaskResponse.
250
+
251
+ 和src_prefix保持一致
252
+
253
+ :return: The dest_prefix of this ShowHpcCacheTaskResponse.
254
+ :rtype: str
255
+ """
256
+ return self._dest_prefix
257
+
258
+ @dest_prefix.setter
259
+ def dest_prefix(self, dest_prefix):
260
+ r"""Sets the dest_prefix of this ShowHpcCacheTaskResponse.
261
+
262
+ 和src_prefix保持一致
263
+
264
+ :param dest_prefix: The dest_prefix of this ShowHpcCacheTaskResponse.
265
+ :type dest_prefix: str
266
+ """
267
+ self._dest_prefix = dest_prefix
268
+
269
+ @property
270
+ def start_time(self):
271
+ r"""Gets the start_time of this ShowHpcCacheTaskResponse.
272
+
273
+ 任务开始时间
274
+
275
+ :return: The start_time of this ShowHpcCacheTaskResponse.
276
+ :rtype: str
277
+ """
278
+ return self._start_time
279
+
280
+ @start_time.setter
281
+ def start_time(self, start_time):
282
+ r"""Sets the start_time of this ShowHpcCacheTaskResponse.
283
+
284
+ 任务开始时间
285
+
286
+ :param start_time: The start_time of this ShowHpcCacheTaskResponse.
287
+ :type start_time: str
288
+ """
289
+ self._start_time = start_time
290
+
291
+ @property
292
+ def end_time(self):
293
+ r"""Gets the end_time of this ShowHpcCacheTaskResponse.
294
+
295
+ 任务结束时间
296
+
297
+ :return: The end_time of this ShowHpcCacheTaskResponse.
298
+ :rtype: str
299
+ """
300
+ return self._end_time
301
+
302
+ @end_time.setter
303
+ def end_time(self, end_time):
304
+ r"""Sets the end_time of this ShowHpcCacheTaskResponse.
305
+
306
+ 任务结束时间
307
+
308
+ :param end_time: The end_time of this ShowHpcCacheTaskResponse.
309
+ :type end_time: str
310
+ """
311
+ self._end_time = end_time
312
+
313
+ @property
314
+ def message(self):
315
+ r"""Gets the message of this ShowHpcCacheTaskResponse.
316
+
317
+ 任务执行结果信息
318
+
319
+ :return: The message of this ShowHpcCacheTaskResponse.
320
+ :rtype: str
321
+ """
322
+ return self._message
323
+
324
+ @message.setter
325
+ def message(self, message):
326
+ r"""Sets the message of this ShowHpcCacheTaskResponse.
327
+
328
+ 任务执行结果信息
329
+
330
+ :param message: The message of this ShowHpcCacheTaskResponse.
331
+ :type message: str
332
+ """
333
+ self._message = message
334
+
335
+ @property
336
+ def x_request_id(self):
337
+ r"""Gets the x_request_id of this ShowHpcCacheTaskResponse.
338
+
339
+ :return: The x_request_id of this ShowHpcCacheTaskResponse.
340
+ :rtype: str
341
+ """
342
+ return self._x_request_id
343
+
344
+ @x_request_id.setter
345
+ def x_request_id(self, x_request_id):
346
+ r"""Sets the x_request_id of this ShowHpcCacheTaskResponse.
347
+
348
+ :param x_request_id: The x_request_id of this ShowHpcCacheTaskResponse.
349
+ :type x_request_id: str
350
+ """
351
+ self._x_request_id = x_request_id
352
+
353
+ def to_dict(self):
354
+ """Returns the model properties as a dict"""
355
+ result = {}
356
+
357
+ for attr, _ in six.iteritems(self.openapi_types):
358
+ value = getattr(self, attr)
359
+ if isinstance(value, list):
360
+ result[attr] = list(map(
361
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
362
+ value
363
+ ))
364
+ elif hasattr(value, "to_dict"):
365
+ result[attr] = value.to_dict()
366
+ elif isinstance(value, dict):
367
+ result[attr] = dict(map(
368
+ lambda item: (item[0], item[1].to_dict())
369
+ if hasattr(item[1], "to_dict") else item,
370
+ value.items()
371
+ ))
372
+ else:
373
+ if attr in self.sensitive_list:
374
+ result[attr] = "****"
375
+ else:
376
+ result[attr] = value
377
+
378
+ return result
379
+
380
+ def to_str(self):
381
+ """Returns the string representation of the model"""
382
+ import simplejson as json
383
+ if six.PY2:
384
+ import sys
385
+ reload(sys)
386
+ sys.setdefaultencoding("utf-8")
387
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
388
+
389
+ def __repr__(self):
390
+ """For `print`"""
391
+ return self.to_str()
392
+
393
+ def __eq__(self, other):
394
+ """Returns true if both objects are equal"""
395
+ if not isinstance(other, ShowHpcCacheTaskResponse):
396
+ return False
397
+
398
+ return self.__dict__ == other.__dict__
399
+
400
+ def __ne__(self, other):
401
+ """Returns true if both objects are not equal"""
402
+ 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 ShowJobDetailRequest:
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
+ 'job_id': 'str'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'job_id': 'job_id'
25
+ }
26
+
27
+ def __init__(self, job_id=None):
28
+ r"""ShowJobDetailRequest
29
+
30
+ The model defined in huaweicloud sdk
31
+
32
+ :param job_id: job ID
33
+ :type job_id: str
34
+ """
35
+
36
+
37
+
38
+ self._job_id = None
39
+ self.discriminator = None
40
+
41
+ self.job_id = job_id
42
+
43
+ @property
44
+ def job_id(self):
45
+ r"""Gets the job_id of this ShowJobDetailRequest.
46
+
47
+ job ID
48
+
49
+ :return: The job_id of this ShowJobDetailRequest.
50
+ :rtype: str
51
+ """
52
+ return self._job_id
53
+
54
+ @job_id.setter
55
+ def job_id(self, job_id):
56
+ r"""Sets the job_id of this ShowJobDetailRequest.
57
+
58
+ job ID
59
+
60
+ :param job_id: The job_id of this ShowJobDetailRequest.
61
+ :type job_id: str
62
+ """
63
+ self._job_id = job_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, ShowJobDetailRequest):
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