huaweicloudsdksfsturbo 3.1.160__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdksfsturbo/__init__.py +0 -0
- huaweicloudsdksfsturbo/v1/__init__.py +187 -0
- huaweicloudsdksfsturbo/v1/model/__init__.py +184 -0
- huaweicloudsdksfsturbo/v1/model/action_progress.py +115 -0
- huaweicloudsdksfsturbo/v1/model/add_active_directory_domain_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/add_active_directory_domain_request_body.py +313 -0
- huaweicloudsdksfsturbo/v1/model/add_active_directory_domain_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/auto_export_policy.py +173 -0
- huaweicloudsdksfsturbo/v1/model/batch_add_shared_tags_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/batch_add_shared_tags_request_body.py +142 -0
- huaweicloudsdksfsturbo/v1/model/batch_add_shared_tags_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/bss_info.py +200 -0
- huaweicloudsdksfsturbo/v1/model/bss_info_extend.py +115 -0
- huaweicloudsdksfsturbo/v1/model/change_security_group.py +114 -0
- huaweicloudsdksfsturbo/v1/model/change_security_group_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/change_security_group_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/change_security_group_response.py +116 -0
- huaweicloudsdksfsturbo/v1/model/change_share_charge_mode_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/change_share_charge_mode_v2_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/change_share_charge_mode_v2_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/change_share_name_req.py +110 -0
- huaweicloudsdksfsturbo/v1/model/change_share_name_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/change_share_name_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/client_ip_info.py +115 -0
- huaweicloudsdksfsturbo/v1/model/config_nas_target.py +170 -0
- huaweicloudsdksfsturbo/v1/model/create_backend_target_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/create_backend_target_request_body.py +138 -0
- huaweicloudsdksfsturbo/v1/model/create_backend_target_response.py +278 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_request_body.py +172 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_response.py +232 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_request_body.py +201 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_task_request.py +167 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_task_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_req.py +253 -0
- huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/create_ldap_config_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/create_ldap_config_request_body.py +345 -0
- huaweicloudsdksfsturbo/v1/model/create_ldap_config_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/create_perm_rule_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/create_perm_rule_response.py +116 -0
- huaweicloudsdksfsturbo/v1/model/create_perm_rules_request_body.py +114 -0
- huaweicloudsdksfsturbo/v1/model/create_share_request.py +111 -0
- huaweicloudsdksfsturbo/v1/model/create_share_request_body.py +135 -0
- huaweicloudsdksfsturbo/v1/model/create_share_response.py +174 -0
- huaweicloudsdksfsturbo/v1/model/create_shared_tag_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/create_shared_tag_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/create_shared_tag_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/delete_active_directory_domain_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/delete_active_directory_domain_request_body.py +142 -0
- huaweicloudsdksfsturbo/v1/model/delete_active_directory_domain_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/delete_backend_target_request.py +171 -0
- huaweicloudsdksfsturbo/v1/model/delete_backend_target_response.py +199 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_quota_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_quota_request_body.py +114 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_quota_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_request_body.py +114 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_task_request.py +170 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_task_response.py +112 -0
- huaweicloudsdksfsturbo/v1/model/delete_hpc_cache_task_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/delete_hpc_cache_task_response.py +112 -0
- huaweicloudsdksfsturbo/v1/model/delete_ldap_config_request.py +114 -0
- huaweicloudsdksfsturbo/v1/model/delete_ldap_config_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/delete_perm_rule_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/delete_perm_rule_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/delete_share_request.py +114 -0
- huaweicloudsdksfsturbo/v1/model/delete_share_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/delete_shared_tag_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/delete_shared_tag_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/expand_share_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/expand_share_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/expand_share_response.py +145 -0
- huaweicloudsdksfsturbo/v1/model/extend.py +168 -0
- huaweicloudsdksfsturbo/v1/model/failure_details_message.py +114 -0
- huaweicloudsdksfsturbo/v1/model/fs_dir_req.py +114 -0
- huaweicloudsdksfsturbo/v1/model/fs_dir_uasge.py +114 -0
- huaweicloudsdksfsturbo/v1/model/fs_du_info.py +198 -0
- huaweicloudsdksfsturbo/v1/model/fs_file_count.py +289 -0
- huaweicloudsdksfsturbo/v1/model/get_sub_job_detail.py +289 -0
- huaweicloudsdksfsturbo/v1/model/list_backend_targets_request.py +172 -0
- huaweicloudsdksfsturbo/v1/model/list_backend_targets_response.py +170 -0
- huaweicloudsdksfsturbo/v1/model/list_fs_tasks_request.py +200 -0
- huaweicloudsdksfsturbo/v1/model/list_fs_tasks_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/list_hpc_cache_tasks_request.py +288 -0
- huaweicloudsdksfsturbo/v1/model/list_hpc_cache_tasks_response.py +170 -0
- huaweicloudsdksfsturbo/v1/model/list_perm_rules_request.py +172 -0
- huaweicloudsdksfsturbo/v1/model/list_perm_rules_response.py +116 -0
- huaweicloudsdksfsturbo/v1/model/list_share_types_request.py +144 -0
- huaweicloudsdksfsturbo/v1/model/list_share_types_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/list_shared_tags_request.py +144 -0
- huaweicloudsdksfsturbo/v1/model/list_shared_tags_response.py +116 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_request.py +111 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_request_body.py +259 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_resource.py +202 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_response.py +170 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_request.py +144 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_response.py +145 -0
- huaweicloudsdksfsturbo/v1/model/metadata.py +231 -0
- huaweicloudsdksfsturbo/v1/model/obs_data_repository.py +192 -0
- huaweicloudsdksfsturbo/v1/model/obs_data_repository_policy.py +111 -0
- huaweicloudsdksfsturbo/v1/model/obs_target_attributes.py +202 -0
- huaweicloudsdksfsturbo/v1/model/one_fs_task_resp.py +223 -0
- huaweicloudsdksfsturbo/v1/model/one_hpc_cache_task_info_resp.py +366 -0
- huaweicloudsdksfsturbo/v1/model/one_perm_rule_request_info.py +170 -0
- huaweicloudsdksfsturbo/v1/model/one_perm_rule_response_info.py +198 -0
- huaweicloudsdksfsturbo/v1/model/req_config_hpc_cache_backend.py +110 -0
- huaweicloudsdksfsturbo/v1/model/req_update_hpc_cache_data.py +171 -0
- huaweicloudsdksfsturbo/v1/model/req_update_hpc_cache_info.py +138 -0
- huaweicloudsdksfsturbo/v1/model/resource_tag.py +142 -0
- huaweicloudsdksfsturbo/v1/model/set_hpc_cache_backend_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/set_hpc_cache_backend_response.py +112 -0
- huaweicloudsdksfsturbo/v1/model/share.py +451 -0
- huaweicloudsdksfsturbo/v1/model/share_info.py +919 -0
- huaweicloudsdksfsturbo/v1/model/share_info_feature.py +173 -0
- huaweicloudsdksfsturbo/v1/model/share_info_features.py +111 -0
- huaweicloudsdksfsturbo/v1/model/share_name.py +114 -0
- huaweicloudsdksfsturbo/v1/model/share_type_available_zone.py +144 -0
- huaweicloudsdksfsturbo/v1/model/share_type_response_body.py +368 -0
- huaweicloudsdksfsturbo/v1/model/share_type_usage.py +161 -0
- huaweicloudsdksfsturbo/v1/model/share_type_usage_bandwidth.py +144 -0
- huaweicloudsdksfsturbo/v1/model/share_type_usage_capacity.py +144 -0
- huaweicloudsdksfsturbo/v1/model/share_type_usage_quantity.py +144 -0
- huaweicloudsdksfsturbo/v1/model/share_types_attribution.py +186 -0
- huaweicloudsdksfsturbo/v1/model/share_types_attribution_bandwidth.py +231 -0
- huaweicloudsdksfsturbo/v1/model/share_types_attribution_capacity.py +173 -0
- huaweicloudsdksfsturbo/v1/model/share_types_attribution_iops.py +144 -0
- huaweicloudsdksfsturbo/v1/model/share_types_attribution_single_channel4_k_latency.py +144 -0
- huaweicloudsdksfsturbo/v1/model/show_active_directory_domain_request.py +114 -0
- huaweicloudsdksfsturbo/v1/model/show_active_directory_domain_response.py +286 -0
- huaweicloudsdksfsturbo/v1/model/show_backend_target_info_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/show_backend_target_info_response.py +278 -0
- huaweicloudsdksfsturbo/v1/model/show_backend_target_info_response_body.py +252 -0
- huaweicloudsdksfsturbo/v1/model/show_client_ip_info_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/show_client_ip_info_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/show_client_ip_info_response.py +170 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_quota_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_quota_response.py +232 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_response.py +203 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_usage_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_usage_response.py +137 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_task_request.py +170 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_task_response.py +253 -0
- huaweicloudsdksfsturbo/v1/model/show_hpc_cache_task_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/show_hpc_cache_task_response.py +402 -0
- huaweicloudsdksfsturbo/v1/model/show_job_detail_request.py +114 -0
- huaweicloudsdksfsturbo/v1/model/show_job_detail_response.py +344 -0
- huaweicloudsdksfsturbo/v1/model/show_ldap_config_request.py +114 -0
- huaweicloudsdksfsturbo/v1/model/show_ldap_config_response.py +344 -0
- huaweicloudsdksfsturbo/v1/model/show_perm_rule_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/show_perm_rule_response.py +203 -0
- huaweicloudsdksfsturbo/v1/model/show_share_request.py +114 -0
- huaweicloudsdksfsturbo/v1/model/show_share_response.py +920 -0
- huaweicloudsdksfsturbo/v1/model/show_shared_tags_request.py +114 -0
- huaweicloudsdksfsturbo/v1/model/show_shared_tags_response.py +116 -0
- huaweicloudsdksfsturbo/v1/model/tag.py +142 -0
- huaweicloudsdksfsturbo/v1/model/update_active_directory_domain_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/update_active_directory_domain_request_body.py +313 -0
- huaweicloudsdksfsturbo/v1/model/update_active_directory_domain_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_request_body.py +172 -0
- huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_response.py +232 -0
- huaweicloudsdksfsturbo/v1/model/update_hpc_share_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/update_hpc_share_request_body.py +142 -0
- huaweicloudsdksfsturbo/v1/model/update_hpc_share_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/update_ldap_config_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/update_ldap_config_request_body.py +347 -0
- huaweicloudsdksfsturbo/v1/model/update_ldap_config_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_request.py +167 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_response.py +166 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_request.py +167 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_response.py +166 -0
- huaweicloudsdksfsturbo/v1/model/update_one_perm_rule_request_info.py +144 -0
- huaweicloudsdksfsturbo/v1/model/update_perm_rule_request.py +167 -0
- huaweicloudsdksfsturbo/v1/model/update_perm_rule_response.py +203 -0
- huaweicloudsdksfsturbo/v1/region/__init__.py +0 -0
- huaweicloudsdksfsturbo/v1/region/sfsturbo_region.py +118 -0
- huaweicloudsdksfsturbo/v1/sfsturbo_async_client.py +3722 -0
- huaweicloudsdksfsturbo/v1/sfsturbo_client.py +3719 -0
- huaweicloudsdksfsturbo-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdksfsturbo-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdksfsturbo-3.1.160.dist-info/RECORD +191 -0
- huaweicloudsdksfsturbo-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdksfsturbo-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,344 @@
|
|
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 ShowJobDetailResponse(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
|
+
'status': 'str',
|
22
|
+
'job_id': 'str',
|
23
|
+
'job_type': 'str',
|
24
|
+
'begin_time': 'str',
|
25
|
+
'end_time': 'str',
|
26
|
+
'error_code': 'str',
|
27
|
+
'fail_reason': 'str',
|
28
|
+
'sub_jobs': 'list[GetSubJobDetail]',
|
29
|
+
'x_request_id': 'str'
|
30
|
+
}
|
31
|
+
|
32
|
+
attribute_map = {
|
33
|
+
'status': 'status',
|
34
|
+
'job_id': 'job_id',
|
35
|
+
'job_type': 'job_type',
|
36
|
+
'begin_time': 'begin_time',
|
37
|
+
'end_time': 'end_time',
|
38
|
+
'error_code': 'error_code',
|
39
|
+
'fail_reason': 'fail_reason',
|
40
|
+
'sub_jobs': 'sub_jobs',
|
41
|
+
'x_request_id': 'X-request-id'
|
42
|
+
}
|
43
|
+
|
44
|
+
def __init__(self, status=None, job_id=None, job_type=None, begin_time=None, end_time=None, error_code=None, fail_reason=None, sub_jobs=None, x_request_id=None):
|
45
|
+
r"""ShowJobDetailResponse
|
46
|
+
|
47
|
+
The model defined in huaweicloud sdk
|
48
|
+
|
49
|
+
:param status: job的状态。success:成功。running:运行中。failed:失败。waiting:等待执行。
|
50
|
+
:type status: str
|
51
|
+
:param job_id: job的ID。
|
52
|
+
:type job_id: str
|
53
|
+
:param job_type: job的类型。
|
54
|
+
:type job_type: str
|
55
|
+
:param begin_time: job开始时间。UTC时间,格式:'2016-01-02 15:04:05'。
|
56
|
+
:type begin_time: str
|
57
|
+
:param end_time: job结束时间。UTC时间,格式:'2016-01-02 15:04:05'。
|
58
|
+
:type end_time: str
|
59
|
+
:param error_code: job执行失败时的错误码。
|
60
|
+
:type error_code: str
|
61
|
+
:param fail_reason: job执行失败时的错误原因。
|
62
|
+
:type fail_reason: str
|
63
|
+
:param sub_jobs: 子任务列表。
|
64
|
+
:type sub_jobs: list[:class:`huaweicloudsdksfsturbo.v1.GetSubJobDetail`]
|
65
|
+
:param x_request_id:
|
66
|
+
:type x_request_id: str
|
67
|
+
"""
|
68
|
+
|
69
|
+
super(ShowJobDetailResponse, self).__init__()
|
70
|
+
|
71
|
+
self._status = None
|
72
|
+
self._job_id = None
|
73
|
+
self._job_type = None
|
74
|
+
self._begin_time = None
|
75
|
+
self._end_time = None
|
76
|
+
self._error_code = None
|
77
|
+
self._fail_reason = None
|
78
|
+
self._sub_jobs = None
|
79
|
+
self._x_request_id = None
|
80
|
+
self.discriminator = None
|
81
|
+
|
82
|
+
if status is not None:
|
83
|
+
self.status = status
|
84
|
+
if job_id is not None:
|
85
|
+
self.job_id = job_id
|
86
|
+
if job_type is not None:
|
87
|
+
self.job_type = job_type
|
88
|
+
if begin_time is not None:
|
89
|
+
self.begin_time = begin_time
|
90
|
+
if end_time is not None:
|
91
|
+
self.end_time = end_time
|
92
|
+
if error_code is not None:
|
93
|
+
self.error_code = error_code
|
94
|
+
if fail_reason is not None:
|
95
|
+
self.fail_reason = fail_reason
|
96
|
+
if sub_jobs is not None:
|
97
|
+
self.sub_jobs = sub_jobs
|
98
|
+
if x_request_id is not None:
|
99
|
+
self.x_request_id = x_request_id
|
100
|
+
|
101
|
+
@property
|
102
|
+
def status(self):
|
103
|
+
r"""Gets the status of this ShowJobDetailResponse.
|
104
|
+
|
105
|
+
job的状态。success:成功。running:运行中。failed:失败。waiting:等待执行。
|
106
|
+
|
107
|
+
:return: The status of this ShowJobDetailResponse.
|
108
|
+
:rtype: str
|
109
|
+
"""
|
110
|
+
return self._status
|
111
|
+
|
112
|
+
@status.setter
|
113
|
+
def status(self, status):
|
114
|
+
r"""Sets the status of this ShowJobDetailResponse.
|
115
|
+
|
116
|
+
job的状态。success:成功。running:运行中。failed:失败。waiting:等待执行。
|
117
|
+
|
118
|
+
:param status: The status of this ShowJobDetailResponse.
|
119
|
+
:type status: str
|
120
|
+
"""
|
121
|
+
self._status = status
|
122
|
+
|
123
|
+
@property
|
124
|
+
def job_id(self):
|
125
|
+
r"""Gets the job_id of this ShowJobDetailResponse.
|
126
|
+
|
127
|
+
job的ID。
|
128
|
+
|
129
|
+
:return: The job_id of this ShowJobDetailResponse.
|
130
|
+
:rtype: str
|
131
|
+
"""
|
132
|
+
return self._job_id
|
133
|
+
|
134
|
+
@job_id.setter
|
135
|
+
def job_id(self, job_id):
|
136
|
+
r"""Sets the job_id of this ShowJobDetailResponse.
|
137
|
+
|
138
|
+
job的ID。
|
139
|
+
|
140
|
+
:param job_id: The job_id of this ShowJobDetailResponse.
|
141
|
+
:type job_id: str
|
142
|
+
"""
|
143
|
+
self._job_id = job_id
|
144
|
+
|
145
|
+
@property
|
146
|
+
def job_type(self):
|
147
|
+
r"""Gets the job_type of this ShowJobDetailResponse.
|
148
|
+
|
149
|
+
job的类型。
|
150
|
+
|
151
|
+
:return: The job_type of this ShowJobDetailResponse.
|
152
|
+
:rtype: str
|
153
|
+
"""
|
154
|
+
return self._job_type
|
155
|
+
|
156
|
+
@job_type.setter
|
157
|
+
def job_type(self, job_type):
|
158
|
+
r"""Sets the job_type of this ShowJobDetailResponse.
|
159
|
+
|
160
|
+
job的类型。
|
161
|
+
|
162
|
+
:param job_type: The job_type of this ShowJobDetailResponse.
|
163
|
+
:type job_type: str
|
164
|
+
"""
|
165
|
+
self._job_type = job_type
|
166
|
+
|
167
|
+
@property
|
168
|
+
def begin_time(self):
|
169
|
+
r"""Gets the begin_time of this ShowJobDetailResponse.
|
170
|
+
|
171
|
+
job开始时间。UTC时间,格式:'2016-01-02 15:04:05'。
|
172
|
+
|
173
|
+
:return: The begin_time of this ShowJobDetailResponse.
|
174
|
+
:rtype: str
|
175
|
+
"""
|
176
|
+
return self._begin_time
|
177
|
+
|
178
|
+
@begin_time.setter
|
179
|
+
def begin_time(self, begin_time):
|
180
|
+
r"""Sets the begin_time of this ShowJobDetailResponse.
|
181
|
+
|
182
|
+
job开始时间。UTC时间,格式:'2016-01-02 15:04:05'。
|
183
|
+
|
184
|
+
:param begin_time: The begin_time of this ShowJobDetailResponse.
|
185
|
+
:type begin_time: str
|
186
|
+
"""
|
187
|
+
self._begin_time = begin_time
|
188
|
+
|
189
|
+
@property
|
190
|
+
def end_time(self):
|
191
|
+
r"""Gets the end_time of this ShowJobDetailResponse.
|
192
|
+
|
193
|
+
job结束时间。UTC时间,格式:'2016-01-02 15:04:05'。
|
194
|
+
|
195
|
+
:return: The end_time of this ShowJobDetailResponse.
|
196
|
+
:rtype: str
|
197
|
+
"""
|
198
|
+
return self._end_time
|
199
|
+
|
200
|
+
@end_time.setter
|
201
|
+
def end_time(self, end_time):
|
202
|
+
r"""Sets the end_time of this ShowJobDetailResponse.
|
203
|
+
|
204
|
+
job结束时间。UTC时间,格式:'2016-01-02 15:04:05'。
|
205
|
+
|
206
|
+
:param end_time: The end_time of this ShowJobDetailResponse.
|
207
|
+
:type end_time: str
|
208
|
+
"""
|
209
|
+
self._end_time = end_time
|
210
|
+
|
211
|
+
@property
|
212
|
+
def error_code(self):
|
213
|
+
r"""Gets the error_code of this ShowJobDetailResponse.
|
214
|
+
|
215
|
+
job执行失败时的错误码。
|
216
|
+
|
217
|
+
:return: The error_code of this ShowJobDetailResponse.
|
218
|
+
:rtype: str
|
219
|
+
"""
|
220
|
+
return self._error_code
|
221
|
+
|
222
|
+
@error_code.setter
|
223
|
+
def error_code(self, error_code):
|
224
|
+
r"""Sets the error_code of this ShowJobDetailResponse.
|
225
|
+
|
226
|
+
job执行失败时的错误码。
|
227
|
+
|
228
|
+
:param error_code: The error_code of this ShowJobDetailResponse.
|
229
|
+
:type error_code: str
|
230
|
+
"""
|
231
|
+
self._error_code = error_code
|
232
|
+
|
233
|
+
@property
|
234
|
+
def fail_reason(self):
|
235
|
+
r"""Gets the fail_reason of this ShowJobDetailResponse.
|
236
|
+
|
237
|
+
job执行失败时的错误原因。
|
238
|
+
|
239
|
+
:return: The fail_reason of this ShowJobDetailResponse.
|
240
|
+
:rtype: str
|
241
|
+
"""
|
242
|
+
return self._fail_reason
|
243
|
+
|
244
|
+
@fail_reason.setter
|
245
|
+
def fail_reason(self, fail_reason):
|
246
|
+
r"""Sets the fail_reason of this ShowJobDetailResponse.
|
247
|
+
|
248
|
+
job执行失败时的错误原因。
|
249
|
+
|
250
|
+
:param fail_reason: The fail_reason of this ShowJobDetailResponse.
|
251
|
+
:type fail_reason: str
|
252
|
+
"""
|
253
|
+
self._fail_reason = fail_reason
|
254
|
+
|
255
|
+
@property
|
256
|
+
def sub_jobs(self):
|
257
|
+
r"""Gets the sub_jobs of this ShowJobDetailResponse.
|
258
|
+
|
259
|
+
子任务列表。
|
260
|
+
|
261
|
+
:return: The sub_jobs of this ShowJobDetailResponse.
|
262
|
+
:rtype: list[:class:`huaweicloudsdksfsturbo.v1.GetSubJobDetail`]
|
263
|
+
"""
|
264
|
+
return self._sub_jobs
|
265
|
+
|
266
|
+
@sub_jobs.setter
|
267
|
+
def sub_jobs(self, sub_jobs):
|
268
|
+
r"""Sets the sub_jobs of this ShowJobDetailResponse.
|
269
|
+
|
270
|
+
子任务列表。
|
271
|
+
|
272
|
+
:param sub_jobs: The sub_jobs of this ShowJobDetailResponse.
|
273
|
+
:type sub_jobs: list[:class:`huaweicloudsdksfsturbo.v1.GetSubJobDetail`]
|
274
|
+
"""
|
275
|
+
self._sub_jobs = sub_jobs
|
276
|
+
|
277
|
+
@property
|
278
|
+
def x_request_id(self):
|
279
|
+
r"""Gets the x_request_id of this ShowJobDetailResponse.
|
280
|
+
|
281
|
+
:return: The x_request_id of this ShowJobDetailResponse.
|
282
|
+
:rtype: str
|
283
|
+
"""
|
284
|
+
return self._x_request_id
|
285
|
+
|
286
|
+
@x_request_id.setter
|
287
|
+
def x_request_id(self, x_request_id):
|
288
|
+
r"""Sets the x_request_id of this ShowJobDetailResponse.
|
289
|
+
|
290
|
+
:param x_request_id: The x_request_id of this ShowJobDetailResponse.
|
291
|
+
:type x_request_id: str
|
292
|
+
"""
|
293
|
+
self._x_request_id = x_request_id
|
294
|
+
|
295
|
+
def to_dict(self):
|
296
|
+
"""Returns the model properties as a dict"""
|
297
|
+
result = {}
|
298
|
+
|
299
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
300
|
+
value = getattr(self, attr)
|
301
|
+
if isinstance(value, list):
|
302
|
+
result[attr] = list(map(
|
303
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
304
|
+
value
|
305
|
+
))
|
306
|
+
elif hasattr(value, "to_dict"):
|
307
|
+
result[attr] = value.to_dict()
|
308
|
+
elif isinstance(value, dict):
|
309
|
+
result[attr] = dict(map(
|
310
|
+
lambda item: (item[0], item[1].to_dict())
|
311
|
+
if hasattr(item[1], "to_dict") else item,
|
312
|
+
value.items()
|
313
|
+
))
|
314
|
+
else:
|
315
|
+
if attr in self.sensitive_list:
|
316
|
+
result[attr] = "****"
|
317
|
+
else:
|
318
|
+
result[attr] = value
|
319
|
+
|
320
|
+
return result
|
321
|
+
|
322
|
+
def to_str(self):
|
323
|
+
"""Returns the string representation of the model"""
|
324
|
+
import simplejson as json
|
325
|
+
if six.PY2:
|
326
|
+
import sys
|
327
|
+
reload(sys)
|
328
|
+
sys.setdefaultencoding("utf-8")
|
329
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
330
|
+
|
331
|
+
def __repr__(self):
|
332
|
+
"""For `print`"""
|
333
|
+
return self.to_str()
|
334
|
+
|
335
|
+
def __eq__(self, other):
|
336
|
+
"""Returns true if both objects are equal"""
|
337
|
+
if not isinstance(other, ShowJobDetailResponse):
|
338
|
+
return False
|
339
|
+
|
340
|
+
return self.__dict__ == other.__dict__
|
341
|
+
|
342
|
+
def __ne__(self, other):
|
343
|
+
"""Returns true if both objects are not equal"""
|
344
|
+
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 ShowLdapConfigRequest:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'share_id': 'str'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'share_id': 'share_id'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, share_id=None):
|
28
|
+
r"""ShowLdapConfigRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param share_id: 文件系统ID
|
33
|
+
:type share_id: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._share_id = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.share_id = share_id
|
42
|
+
|
43
|
+
@property
|
44
|
+
def share_id(self):
|
45
|
+
r"""Gets the share_id of this ShowLdapConfigRequest.
|
46
|
+
|
47
|
+
文件系统ID
|
48
|
+
|
49
|
+
:return: The share_id of this ShowLdapConfigRequest.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._share_id
|
53
|
+
|
54
|
+
@share_id.setter
|
55
|
+
def share_id(self, share_id):
|
56
|
+
r"""Sets the share_id of this ShowLdapConfigRequest.
|
57
|
+
|
58
|
+
文件系统ID
|
59
|
+
|
60
|
+
:param share_id: The share_id of this ShowLdapConfigRequest.
|
61
|
+
:type share_id: str
|
62
|
+
"""
|
63
|
+
self._share_id = share_id
|
64
|
+
|
65
|
+
def to_dict(self):
|
66
|
+
"""Returns the model properties as a dict"""
|
67
|
+
result = {}
|
68
|
+
|
69
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
70
|
+
value = getattr(self, attr)
|
71
|
+
if isinstance(value, list):
|
72
|
+
result[attr] = list(map(
|
73
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
74
|
+
value
|
75
|
+
))
|
76
|
+
elif hasattr(value, "to_dict"):
|
77
|
+
result[attr] = value.to_dict()
|
78
|
+
elif isinstance(value, dict):
|
79
|
+
result[attr] = dict(map(
|
80
|
+
lambda item: (item[0], item[1].to_dict())
|
81
|
+
if hasattr(item[1], "to_dict") else item,
|
82
|
+
value.items()
|
83
|
+
))
|
84
|
+
else:
|
85
|
+
if attr in self.sensitive_list:
|
86
|
+
result[attr] = "****"
|
87
|
+
else:
|
88
|
+
result[attr] = value
|
89
|
+
|
90
|
+
return result
|
91
|
+
|
92
|
+
def to_str(self):
|
93
|
+
"""Returns the string representation of the model"""
|
94
|
+
import simplejson as json
|
95
|
+
if six.PY2:
|
96
|
+
import sys
|
97
|
+
reload(sys)
|
98
|
+
sys.setdefaultencoding("utf-8")
|
99
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
100
|
+
|
101
|
+
def __repr__(self):
|
102
|
+
"""For `print`"""
|
103
|
+
return self.to_str()
|
104
|
+
|
105
|
+
def __eq__(self, other):
|
106
|
+
"""Returns true if both objects are equal"""
|
107
|
+
if not isinstance(other, ShowLdapConfigRequest):
|
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
|