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,289 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class GetSubJobDetail:
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
+ 'status': 'str',
21
+ 'job_id': 'str',
22
+ 'job_type': 'str',
23
+ 'begin_time': 'str',
24
+ 'end_time': 'str',
25
+ 'error_code': 'str',
26
+ 'fail_reason': 'str'
27
+ }
28
+
29
+ attribute_map = {
30
+ 'status': 'status',
31
+ 'job_id': 'job_id',
32
+ 'job_type': 'job_type',
33
+ 'begin_time': 'begin_time',
34
+ 'end_time': 'end_time',
35
+ 'error_code': 'error_code',
36
+ 'fail_reason': 'fail_reason'
37
+ }
38
+
39
+ def __init__(self, status=None, job_id=None, job_type=None, begin_time=None, end_time=None, error_code=None, fail_reason=None):
40
+ r"""GetSubJobDetail
41
+
42
+ The model defined in huaweicloud sdk
43
+
44
+ :param status: 子任务的状态。success:成功。running:运行中。failed:失败。waiting:等待执行。
45
+ :type status: str
46
+ :param job_id: 子任务的ID。
47
+ :type job_id: str
48
+ :param job_type: 子任务的类型。
49
+ :type job_type: str
50
+ :param begin_time: 子任务开始时间。UTC时间,格式:'2016-01-02 15:04:05'
51
+ :type begin_time: str
52
+ :param end_time: 子任务结束时间。UTC时间,格式:'2016-01-02 15:04:05'
53
+ :type end_time: str
54
+ :param error_code: 子任务执行失败时的错误码
55
+ :type error_code: str
56
+ :param fail_reason: 子任务执行失败时的错误原因
57
+ :type fail_reason: str
58
+ """
59
+
60
+
61
+
62
+ self._status = None
63
+ self._job_id = None
64
+ self._job_type = None
65
+ self._begin_time = None
66
+ self._end_time = None
67
+ self._error_code = None
68
+ self._fail_reason = None
69
+ self.discriminator = None
70
+
71
+ if status is not None:
72
+ self.status = status
73
+ if job_id is not None:
74
+ self.job_id = job_id
75
+ if job_type is not None:
76
+ self.job_type = job_type
77
+ if begin_time is not None:
78
+ self.begin_time = begin_time
79
+ if end_time is not None:
80
+ self.end_time = end_time
81
+ if error_code is not None:
82
+ self.error_code = error_code
83
+ if fail_reason is not None:
84
+ self.fail_reason = fail_reason
85
+
86
+ @property
87
+ def status(self):
88
+ r"""Gets the status of this GetSubJobDetail.
89
+
90
+ 子任务的状态。success:成功。running:运行中。failed:失败。waiting:等待执行。
91
+
92
+ :return: The status of this GetSubJobDetail.
93
+ :rtype: str
94
+ """
95
+ return self._status
96
+
97
+ @status.setter
98
+ def status(self, status):
99
+ r"""Sets the status of this GetSubJobDetail.
100
+
101
+ 子任务的状态。success:成功。running:运行中。failed:失败。waiting:等待执行。
102
+
103
+ :param status: The status of this GetSubJobDetail.
104
+ :type status: str
105
+ """
106
+ self._status = status
107
+
108
+ @property
109
+ def job_id(self):
110
+ r"""Gets the job_id of this GetSubJobDetail.
111
+
112
+ 子任务的ID。
113
+
114
+ :return: The job_id of this GetSubJobDetail.
115
+ :rtype: str
116
+ """
117
+ return self._job_id
118
+
119
+ @job_id.setter
120
+ def job_id(self, job_id):
121
+ r"""Sets the job_id of this GetSubJobDetail.
122
+
123
+ 子任务的ID。
124
+
125
+ :param job_id: The job_id of this GetSubJobDetail.
126
+ :type job_id: str
127
+ """
128
+ self._job_id = job_id
129
+
130
+ @property
131
+ def job_type(self):
132
+ r"""Gets the job_type of this GetSubJobDetail.
133
+
134
+ 子任务的类型。
135
+
136
+ :return: The job_type of this GetSubJobDetail.
137
+ :rtype: str
138
+ """
139
+ return self._job_type
140
+
141
+ @job_type.setter
142
+ def job_type(self, job_type):
143
+ r"""Sets the job_type of this GetSubJobDetail.
144
+
145
+ 子任务的类型。
146
+
147
+ :param job_type: The job_type of this GetSubJobDetail.
148
+ :type job_type: str
149
+ """
150
+ self._job_type = job_type
151
+
152
+ @property
153
+ def begin_time(self):
154
+ r"""Gets the begin_time of this GetSubJobDetail.
155
+
156
+ 子任务开始时间。UTC时间,格式:'2016-01-02 15:04:05'
157
+
158
+ :return: The begin_time of this GetSubJobDetail.
159
+ :rtype: str
160
+ """
161
+ return self._begin_time
162
+
163
+ @begin_time.setter
164
+ def begin_time(self, begin_time):
165
+ r"""Sets the begin_time of this GetSubJobDetail.
166
+
167
+ 子任务开始时间。UTC时间,格式:'2016-01-02 15:04:05'
168
+
169
+ :param begin_time: The begin_time of this GetSubJobDetail.
170
+ :type begin_time: str
171
+ """
172
+ self._begin_time = begin_time
173
+
174
+ @property
175
+ def end_time(self):
176
+ r"""Gets the end_time of this GetSubJobDetail.
177
+
178
+ 子任务结束时间。UTC时间,格式:'2016-01-02 15:04:05'
179
+
180
+ :return: The end_time of this GetSubJobDetail.
181
+ :rtype: str
182
+ """
183
+ return self._end_time
184
+
185
+ @end_time.setter
186
+ def end_time(self, end_time):
187
+ r"""Sets the end_time of this GetSubJobDetail.
188
+
189
+ 子任务结束时间。UTC时间,格式:'2016-01-02 15:04:05'
190
+
191
+ :param end_time: The end_time of this GetSubJobDetail.
192
+ :type end_time: str
193
+ """
194
+ self._end_time = end_time
195
+
196
+ @property
197
+ def error_code(self):
198
+ r"""Gets the error_code of this GetSubJobDetail.
199
+
200
+ 子任务执行失败时的错误码
201
+
202
+ :return: The error_code of this GetSubJobDetail.
203
+ :rtype: str
204
+ """
205
+ return self._error_code
206
+
207
+ @error_code.setter
208
+ def error_code(self, error_code):
209
+ r"""Sets the error_code of this GetSubJobDetail.
210
+
211
+ 子任务执行失败时的错误码
212
+
213
+ :param error_code: The error_code of this GetSubJobDetail.
214
+ :type error_code: str
215
+ """
216
+ self._error_code = error_code
217
+
218
+ @property
219
+ def fail_reason(self):
220
+ r"""Gets the fail_reason of this GetSubJobDetail.
221
+
222
+ 子任务执行失败时的错误原因
223
+
224
+ :return: The fail_reason of this GetSubJobDetail.
225
+ :rtype: str
226
+ """
227
+ return self._fail_reason
228
+
229
+ @fail_reason.setter
230
+ def fail_reason(self, fail_reason):
231
+ r"""Sets the fail_reason of this GetSubJobDetail.
232
+
233
+ 子任务执行失败时的错误原因
234
+
235
+ :param fail_reason: The fail_reason of this GetSubJobDetail.
236
+ :type fail_reason: str
237
+ """
238
+ self._fail_reason = fail_reason
239
+
240
+ def to_dict(self):
241
+ """Returns the model properties as a dict"""
242
+ result = {}
243
+
244
+ for attr, _ in six.iteritems(self.openapi_types):
245
+ value = getattr(self, attr)
246
+ if isinstance(value, list):
247
+ result[attr] = list(map(
248
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
249
+ value
250
+ ))
251
+ elif hasattr(value, "to_dict"):
252
+ result[attr] = value.to_dict()
253
+ elif isinstance(value, dict):
254
+ result[attr] = dict(map(
255
+ lambda item: (item[0], item[1].to_dict())
256
+ if hasattr(item[1], "to_dict") else item,
257
+ value.items()
258
+ ))
259
+ else:
260
+ if attr in self.sensitive_list:
261
+ result[attr] = "****"
262
+ else:
263
+ result[attr] = value
264
+
265
+ return result
266
+
267
+ def to_str(self):
268
+ """Returns the string representation of the model"""
269
+ import simplejson as json
270
+ if six.PY2:
271
+ import sys
272
+ reload(sys)
273
+ sys.setdefaultencoding("utf-8")
274
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
275
+
276
+ def __repr__(self):
277
+ """For `print`"""
278
+ return self.to_str()
279
+
280
+ def __eq__(self, other):
281
+ """Returns true if both objects are equal"""
282
+ if not isinstance(other, GetSubJobDetail):
283
+ return False
284
+
285
+ return self.__dict__ == other.__dict__
286
+
287
+ def __ne__(self, other):
288
+ """Returns true if both objects are not equal"""
289
+ return not self == other
@@ -0,0 +1,172 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ListBackendTargetsRequest:
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
+ 'limit': 'int',
22
+ 'marker': 'str'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'share_id': 'share_id',
27
+ 'limit': 'limit',
28
+ 'marker': 'marker'
29
+ }
30
+
31
+ def __init__(self, share_id=None, limit=None, marker=None):
32
+ r"""ListBackendTargetsRequest
33
+
34
+ The model defined in huaweicloud sdk
35
+
36
+ :param share_id: 文件系统ID
37
+ :type share_id: str
38
+ :param limit: 查询列表返回元素个数
39
+ :type limit: int
40
+ :param marker: 查询列表偏移量
41
+ :type marker: str
42
+ """
43
+
44
+
45
+
46
+ self._share_id = None
47
+ self._limit = None
48
+ self._marker = None
49
+ self.discriminator = None
50
+
51
+ self.share_id = share_id
52
+ if limit is not None:
53
+ self.limit = limit
54
+ if marker is not None:
55
+ self.marker = marker
56
+
57
+ @property
58
+ def share_id(self):
59
+ r"""Gets the share_id of this ListBackendTargetsRequest.
60
+
61
+ 文件系统ID
62
+
63
+ :return: The share_id of this ListBackendTargetsRequest.
64
+ :rtype: str
65
+ """
66
+ return self._share_id
67
+
68
+ @share_id.setter
69
+ def share_id(self, share_id):
70
+ r"""Sets the share_id of this ListBackendTargetsRequest.
71
+
72
+ 文件系统ID
73
+
74
+ :param share_id: The share_id of this ListBackendTargetsRequest.
75
+ :type share_id: str
76
+ """
77
+ self._share_id = share_id
78
+
79
+ @property
80
+ def limit(self):
81
+ r"""Gets the limit of this ListBackendTargetsRequest.
82
+
83
+ 查询列表返回元素个数
84
+
85
+ :return: The limit of this ListBackendTargetsRequest.
86
+ :rtype: int
87
+ """
88
+ return self._limit
89
+
90
+ @limit.setter
91
+ def limit(self, limit):
92
+ r"""Sets the limit of this ListBackendTargetsRequest.
93
+
94
+ 查询列表返回元素个数
95
+
96
+ :param limit: The limit of this ListBackendTargetsRequest.
97
+ :type limit: int
98
+ """
99
+ self._limit = limit
100
+
101
+ @property
102
+ def marker(self):
103
+ r"""Gets the marker of this ListBackendTargetsRequest.
104
+
105
+ 查询列表偏移量
106
+
107
+ :return: The marker of this ListBackendTargetsRequest.
108
+ :rtype: str
109
+ """
110
+ return self._marker
111
+
112
+ @marker.setter
113
+ def marker(self, marker):
114
+ r"""Sets the marker of this ListBackendTargetsRequest.
115
+
116
+ 查询列表偏移量
117
+
118
+ :param marker: The marker of this ListBackendTargetsRequest.
119
+ :type marker: str
120
+ """
121
+ self._marker = marker
122
+
123
+ def to_dict(self):
124
+ """Returns the model properties as a dict"""
125
+ result = {}
126
+
127
+ for attr, _ in six.iteritems(self.openapi_types):
128
+ value = getattr(self, attr)
129
+ if isinstance(value, list):
130
+ result[attr] = list(map(
131
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
132
+ value
133
+ ))
134
+ elif hasattr(value, "to_dict"):
135
+ result[attr] = value.to_dict()
136
+ elif isinstance(value, dict):
137
+ result[attr] = dict(map(
138
+ lambda item: (item[0], item[1].to_dict())
139
+ if hasattr(item[1], "to_dict") else item,
140
+ value.items()
141
+ ))
142
+ else:
143
+ if attr in self.sensitive_list:
144
+ result[attr] = "****"
145
+ else:
146
+ result[attr] = value
147
+
148
+ return result
149
+
150
+ def to_str(self):
151
+ """Returns the string representation of the model"""
152
+ import simplejson as json
153
+ if six.PY2:
154
+ import sys
155
+ reload(sys)
156
+ sys.setdefaultencoding("utf-8")
157
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
158
+
159
+ def __repr__(self):
160
+ """For `print`"""
161
+ return self.to_str()
162
+
163
+ def __eq__(self, other):
164
+ """Returns true if both objects are equal"""
165
+ if not isinstance(other, ListBackendTargetsRequest):
166
+ return False
167
+
168
+ return self.__dict__ == other.__dict__
169
+
170
+ def __ne__(self, other):
171
+ """Returns true if both objects are not equal"""
172
+ 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 ListBackendTargetsResponse(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
+ 'count': 'int',
22
+ 'targets': 'list[ShowBackendTargetInfoResponseBody]',
23
+ 'x_request_id': 'str'
24
+ }
25
+
26
+ attribute_map = {
27
+ 'count': 'count',
28
+ 'targets': 'targets',
29
+ 'x_request_id': 'X-request-id'
30
+ }
31
+
32
+ def __init__(self, count=None, targets=None, x_request_id=None):
33
+ r"""ListBackendTargetsResponse
34
+
35
+ The model defined in huaweicloud sdk
36
+
37
+ :param count: 后端存储列表个数
38
+ :type count: int
39
+ :param targets: 后端存储列表
40
+ :type targets: list[:class:`huaweicloudsdksfsturbo.v1.ShowBackendTargetInfoResponseBody`]
41
+ :param x_request_id:
42
+ :type x_request_id: str
43
+ """
44
+
45
+ super(ListBackendTargetsResponse, self).__init__()
46
+
47
+ self._count = None
48
+ self._targets = None
49
+ self._x_request_id = None
50
+ self.discriminator = None
51
+
52
+ if count is not None:
53
+ self.count = count
54
+ if targets is not None:
55
+ self.targets = targets
56
+ if x_request_id is not None:
57
+ self.x_request_id = x_request_id
58
+
59
+ @property
60
+ def count(self):
61
+ r"""Gets the count of this ListBackendTargetsResponse.
62
+
63
+ 后端存储列表个数
64
+
65
+ :return: The count of this ListBackendTargetsResponse.
66
+ :rtype: int
67
+ """
68
+ return self._count
69
+
70
+ @count.setter
71
+ def count(self, count):
72
+ r"""Sets the count of this ListBackendTargetsResponse.
73
+
74
+ 后端存储列表个数
75
+
76
+ :param count: The count of this ListBackendTargetsResponse.
77
+ :type count: int
78
+ """
79
+ self._count = count
80
+
81
+ @property
82
+ def targets(self):
83
+ r"""Gets the targets of this ListBackendTargetsResponse.
84
+
85
+ 后端存储列表
86
+
87
+ :return: The targets of this ListBackendTargetsResponse.
88
+ :rtype: list[:class:`huaweicloudsdksfsturbo.v1.ShowBackendTargetInfoResponseBody`]
89
+ """
90
+ return self._targets
91
+
92
+ @targets.setter
93
+ def targets(self, targets):
94
+ r"""Sets the targets of this ListBackendTargetsResponse.
95
+
96
+ 后端存储列表
97
+
98
+ :param targets: The targets of this ListBackendTargetsResponse.
99
+ :type targets: list[:class:`huaweicloudsdksfsturbo.v1.ShowBackendTargetInfoResponseBody`]
100
+ """
101
+ self._targets = targets
102
+
103
+ @property
104
+ def x_request_id(self):
105
+ r"""Gets the x_request_id of this ListBackendTargetsResponse.
106
+
107
+ :return: The x_request_id of this ListBackendTargetsResponse.
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 ListBackendTargetsResponse.
115
+
116
+ :param x_request_id: The x_request_id of this ListBackendTargetsResponse.
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, ListBackendTargetsResponse):
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