huaweicloudsdkdwr 3.1.181__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.
- huaweicloudsdkdwr/__init__.py +0 -0
- huaweicloudsdkdwr/v1/__init__.py +97 -0
- huaweicloudsdkdwr/v1/dwr_async_client.py +1584 -0
- huaweicloudsdkdwr/v1/dwr_client.py +1581 -0
- huaweicloudsdkdwr/v1/model/__init__.py +94 -0
- huaweicloudsdkdwr/v1/model/build_progress.py +224 -0
- huaweicloudsdkdwr/v1/model/charge_info.py +223 -0
- huaweicloudsdkdwr/v1/model/collection_base_info.py +135 -0
- huaweicloudsdkdwr/v1/model/create_collection_body.py +274 -0
- huaweicloudsdkdwr/v1/model/create_collection_request.py +104 -0
- huaweicloudsdkdwr/v1/model/create_collection_response.py +141 -0
- huaweicloudsdkdwr/v1/model/create_index_body.py +159 -0
- huaweicloudsdkdwr/v1/model/create_index_request.py +104 -0
- huaweicloudsdkdwr/v1/model/create_index_response.py +141 -0
- huaweicloudsdkdwr/v1/model/create_store_body.py +241 -0
- huaweicloudsdkdwr/v1/model/create_store_data.py +328 -0
- huaweicloudsdkdwr/v1/model/create_store_request.py +104 -0
- huaweicloudsdkdwr/v1/model/create_store_response.py +166 -0
- huaweicloudsdkdwr/v1/model/decribe_collection_data.py +337 -0
- huaweicloudsdkdwr/v1/model/delete_collection_request.py +104 -0
- huaweicloudsdkdwr/v1/model/delete_collection_response.py +141 -0
- huaweicloudsdkdwr/v1/model/delete_entities_body.py +163 -0
- huaweicloudsdkdwr/v1/model/delete_entities_request.py +104 -0
- huaweicloudsdkdwr/v1/model/delete_entities_response.py +141 -0
- huaweicloudsdkdwr/v1/model/delete_index_body.py +163 -0
- huaweicloudsdkdwr/v1/model/delete_index_request.py +104 -0
- huaweicloudsdkdwr/v1/model/delete_index_response.py +141 -0
- huaweicloudsdkdwr/v1/model/delete_store_data.py +107 -0
- huaweicloudsdkdwr/v1/model/delete_store_request.py +104 -0
- huaweicloudsdkdwr/v1/model/delete_store_response.py +166 -0
- huaweicloudsdkdwr/v1/model/describe_collection_request.py +104 -0
- huaweicloudsdkdwr/v1/model/describe_collection_response.py +166 -0
- huaweicloudsdkdwr/v1/model/describe_index_body.py +163 -0
- huaweicloudsdkdwr/v1/model/describe_index_data.py +159 -0
- huaweicloudsdkdwr/v1/model/describe_index_request.py +104 -0
- huaweicloudsdkdwr/v1/model/describe_index_response.py +166 -0
- huaweicloudsdkdwr/v1/model/describe_job_body.py +107 -0
- huaweicloudsdkdwr/v1/model/describe_job_request.py +104 -0
- huaweicloudsdkdwr/v1/model/describe_job_response.py +166 -0
- huaweicloudsdkdwr/v1/model/describe_store_request.py +104 -0
- huaweicloudsdkdwr/v1/model/describe_store_response.py +166 -0
- huaweicloudsdkdwr/v1/model/entities_data.py +107 -0
- huaweicloudsdkdwr/v1/model/field.py +222 -0
- huaweicloudsdkdwr/v1/model/field_data.py +278 -0
- huaweicloudsdkdwr/v1/model/flavor.py +135 -0
- huaweicloudsdkdwr/v1/model/get_index_progress_body.py +163 -0
- huaweicloudsdkdwr/v1/model/get_progress_data.py +160 -0
- huaweicloudsdkdwr/v1/model/get_progress_request.py +104 -0
- huaweicloudsdkdwr/v1/model/get_progress_response.py +166 -0
- huaweicloudsdkdwr/v1/model/hybrid_search_body.py +275 -0
- huaweicloudsdkdwr/v1/model/hybrid_search_request.py +104 -0
- huaweicloudsdkdwr/v1/model/hybrid_search_response.py +166 -0
- huaweicloudsdkdwr/v1/model/index_desc.py +191 -0
- huaweicloudsdkdwr/v1/model/index_params.py +164 -0
- huaweicloudsdkdwr/v1/model/insert_entities_body.py +163 -0
- huaweicloudsdkdwr/v1/model/insert_entities_data.py +136 -0
- huaweicloudsdkdwr/v1/model/insert_entities_request.py +104 -0
- huaweicloudsdkdwr/v1/model/insert_entities_response.py +166 -0
- huaweicloudsdkdwr/v1/model/job_data.py +309 -0
- huaweicloudsdkdwr/v1/model/list_collection_data.py +136 -0
- huaweicloudsdkdwr/v1/model/list_collection_details.py +253 -0
- huaweicloudsdkdwr/v1/model/list_collections_body.py +136 -0
- huaweicloudsdkdwr/v1/model/list_collections_request.py +104 -0
- huaweicloudsdkdwr/v1/model/list_collections_response.py +166 -0
- huaweicloudsdkdwr/v1/model/list_jobs_data.py +108 -0
- huaweicloudsdkdwr/v1/model/list_jobs_request.py +224 -0
- huaweicloudsdkdwr/v1/model/list_jobs_response.py +166 -0
- huaweicloudsdkdwr/v1/model/list_store_data.py +107 -0
- huaweicloudsdkdwr/v1/model/list_stores_request.py +77 -0
- huaweicloudsdkdwr/v1/model/list_stores_response.py +166 -0
- huaweicloudsdkdwr/v1/model/load_collection_body.py +135 -0
- huaweicloudsdkdwr/v1/model/load_collection_request.py +104 -0
- huaweicloudsdkdwr/v1/model/load_collection_response.py +141 -0
- huaweicloudsdkdwr/v1/model/primary_field.py +135 -0
- huaweicloudsdkdwr/v1/model/query_entities_body.py +250 -0
- huaweicloudsdkdwr/v1/model/query_entities_request.py +104 -0
- huaweicloudsdkdwr/v1/model/query_entities_response.py +166 -0
- huaweicloudsdkdwr/v1/model/release_collection_request.py +104 -0
- huaweicloudsdkdwr/v1/model/release_collection_response.py +141 -0
- huaweicloudsdkdwr/v1/model/rerank.py +136 -0
- huaweicloudsdkdwr/v1/model/scale_store_body.py +135 -0
- huaweicloudsdkdwr/v1/model/scale_store_data.py +220 -0
- huaweicloudsdkdwr/v1/model/scale_store_request.py +104 -0
- huaweicloudsdkdwr/v1/model/scale_store_response.py +166 -0
- huaweicloudsdkdwr/v1/model/search_entities_body.py +336 -0
- huaweicloudsdkdwr/v1/model/search_entities_request.py +104 -0
- huaweicloudsdkdwr/v1/model/search_entities_response.py +166 -0
- huaweicloudsdkdwr/v1/model/store_data.py +357 -0
- huaweicloudsdkdwr/v1/model/store_info.py +107 -0
- huaweicloudsdkdwr/v1/model/sub_search.py +251 -0
- huaweicloudsdkdwr/v1/model/upsert_entities_body.py +163 -0
- huaweicloudsdkdwr/v1/model/upsert_entities_data.py +135 -0
- huaweicloudsdkdwr/v1/model/upsert_entities_request.py +104 -0
- huaweicloudsdkdwr/v1/model/upsert_entities_response.py +166 -0
- huaweicloudsdkdwr/v1/region/__init__.py +0 -0
- huaweicloudsdkdwr/v1/region/dwr_region.py +43 -0
- huaweicloudsdkdwr/v3/__init__.py +76 -0
- huaweicloudsdkdwr/v3/dwr_async_client.py +1622 -0
- huaweicloudsdkdwr/v3/dwr_client.py +1619 -0
- huaweicloudsdkdwr/v3/model/__init__.py +73 -0
- huaweicloudsdkdwr/v3/model/accept_service_contract_request.py +107 -0
- huaweicloudsdkdwr/v3/model/accept_service_contract_response.py +133 -0
- huaweicloudsdkdwr/v3/model/action.py +420 -0
- huaweicloudsdkdwr/v3/model/action_result.py +221 -0
- huaweicloudsdkdwr/v3/model/action_template_item.py +137 -0
- huaweicloudsdkdwr/v3/model/async_invoke_api_start_workflow_request.py +132 -0
- huaweicloudsdkdwr/v3/model/async_invoke_api_start_workflow_response.py +270 -0
- huaweicloudsdkdwr/v3/model/check_workflow_authentication_request.py +77 -0
- huaweicloudsdkdwr/v3/model/check_workflow_authentication_response.py +473 -0
- huaweicloudsdkdwr/v3/model/create_my_action_template_request.py +132 -0
- huaweicloudsdkdwr/v3/model/create_my_action_template_response.py +415 -0
- huaweicloudsdkdwr/v3/model/create_workflow_authentication_request.py +77 -0
- huaweicloudsdkdwr/v3/model/create_workflow_authentication_response.py +133 -0
- huaweicloudsdkdwr/v3/model/create_workflow_request.py +132 -0
- huaweicloudsdkdwr/v3/model/create_workflow_request_body.py +274 -0
- huaweicloudsdkdwr/v3/model/create_workflow_response.py +270 -0
- huaweicloudsdkdwr/v3/model/delete_my_action_template_request.py +107 -0
- huaweicloudsdkdwr/v3/model/delete_my_action_template_response.py +133 -0
- huaweicloudsdkdwr/v3/model/delete_workflow_request.py +107 -0
- huaweicloudsdkdwr/v3/model/delete_workflow_response.py +133 -0
- huaweicloudsdkdwr/v3/model/execute_workflow_body.py +160 -0
- huaweicloudsdkdwr/v3/model/execution.py +282 -0
- huaweicloudsdkdwr/v3/model/express_config.py +137 -0
- huaweicloudsdkdwr/v3/model/func_vpc.py +253 -0
- huaweicloudsdkdwr/v3/model/graph_item.py +195 -0
- huaweicloudsdkdwr/v3/model/input.py +367 -0
- huaweicloudsdkdwr/v3/model/input_para_type.py +77 -0
- huaweicloudsdkdwr/v3/model/input_para_value_type.py +77 -0
- huaweicloudsdkdwr/v3/model/list_my_action_template_request.py +224 -0
- huaweicloudsdkdwr/v3/model/list_my_action_template_response.py +299 -0
- huaweicloudsdkdwr/v3/model/list_system_templates_request.py +195 -0
- huaweicloudsdkdwr/v3/model/list_system_templates_response.py +328 -0
- huaweicloudsdkdwr/v3/model/list_workflow_instance_request.py +252 -0
- huaweicloudsdkdwr/v3/model/list_workflow_instance_response.py +299 -0
- huaweicloudsdkdwr/v3/model/list_workflows_request.py +166 -0
- huaweicloudsdkdwr/v3/model/list_workflows_response.py +299 -0
- huaweicloudsdkdwr/v3/model/node_execution.py +282 -0
- huaweicloudsdkdwr/v3/model/policy.py +137 -0
- huaweicloudsdkdwr/v3/model/provided_action.py +561 -0
- huaweicloudsdkdwr/v3/model/public_template_item.py +282 -0
- huaweicloudsdkdwr/v3/model/public_template_register_type.py +77 -0
- huaweicloudsdkdwr/v3/model/restore_workflow_execution_request.py +135 -0
- huaweicloudsdkdwr/v3/model/restore_workflow_execution_response.py +270 -0
- huaweicloudsdkdwr/v3/model/show_public_action_list_request.py +195 -0
- huaweicloudsdkdwr/v3/model/show_public_action_list_response.py +328 -0
- huaweicloudsdkdwr/v3/model/show_public_template_info_request.py +107 -0
- huaweicloudsdkdwr/v3/model/show_public_template_info_response.py +208 -0
- huaweicloudsdkdwr/v3/model/show_service_contract_request.py +107 -0
- huaweicloudsdkdwr/v3/model/show_service_contract_response.py +241 -0
- huaweicloudsdkdwr/v3/model/show_system_template_detail_request.py +107 -0
- huaweicloudsdkdwr/v3/model/show_system_template_detail_response.py +208 -0
- huaweicloudsdkdwr/v3/model/show_third_template_info_request.py +107 -0
- huaweicloudsdkdwr/v3/model/show_third_template_info_response.py +208 -0
- huaweicloudsdkdwr/v3/model/show_workflow_info_request.py +107 -0
- huaweicloudsdkdwr/v3/model/show_workflow_info_response.py +328 -0
- huaweicloudsdkdwr/v3/model/show_workflow_instance_request.py +135 -0
- huaweicloudsdkdwr/v3/model/show_workflow_instance_response.py +531 -0
- huaweicloudsdkdwr/v3/model/state.py +338 -0
- huaweicloudsdkdwr/v3/model/statement.py +137 -0
- huaweicloudsdkdwr/v3/model/third_action_template_item.py +282 -0
- huaweicloudsdkdwr/v3/model/third_template_request_body.py +423 -0
- huaweicloudsdkdwr/v3/model/update_my_action_template_request.py +132 -0
- huaweicloudsdkdwr/v3/model/update_my_action_template_response.py +270 -0
- huaweicloudsdkdwr/v3/model/update_my_action_template_to_deprecated_request.py +107 -0
- huaweicloudsdkdwr/v3/model/update_my_action_template_to_deprecated_response.py +133 -0
- huaweicloudsdkdwr/v3/model/update_workflow_body.py +108 -0
- huaweicloudsdkdwr/v3/model/update_workflow_request.py +132 -0
- huaweicloudsdkdwr/v3/model/update_workflow_response.py +270 -0
- huaweicloudsdkdwr/v3/region/__init__.py +0 -0
- huaweicloudsdkdwr/v3/region/dwr_region.py +43 -0
- huaweicloudsdkdwr-3.1.181.dist-info/METADATA +25 -0
- huaweicloudsdkdwr-3.1.181.dist-info/RECORD +174 -0
- huaweicloudsdkdwr-3.1.181.dist-info/WHEEL +4 -0
- huaweicloudsdkdwr-3.1.181.dist-info/licenses/LICENSE +13 -0
|
@@ -0,0 +1,531 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
4
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class ShowWorkflowInstanceResponse(SdkResponse):
|
|
8
|
+
|
|
9
|
+
"""
|
|
10
|
+
Attributes:
|
|
11
|
+
openapi_types (dict): The key is attribute name
|
|
12
|
+
and the value is attribute type.
|
|
13
|
+
attribute_map (dict): The key is attribute name
|
|
14
|
+
and the value is json key in definition.
|
|
15
|
+
"""
|
|
16
|
+
sensitive_list = []
|
|
17
|
+
|
|
18
|
+
openapi_types = {
|
|
19
|
+
'workflow_id': 'str',
|
|
20
|
+
'workflow_urn': 'str',
|
|
21
|
+
'execution_id': 'str',
|
|
22
|
+
'status': 'str',
|
|
23
|
+
'headers': 'object',
|
|
24
|
+
'input': 'object',
|
|
25
|
+
'output': 'object',
|
|
26
|
+
'begin_time': 'str',
|
|
27
|
+
'end_time': 'str',
|
|
28
|
+
'last_update_time': 'str',
|
|
29
|
+
'created_by': 'str',
|
|
30
|
+
'node_execution_details': 'list[NodeExecution]',
|
|
31
|
+
'x_request_id': 'str',
|
|
32
|
+
'connection': 'str',
|
|
33
|
+
'content_length': 'str',
|
|
34
|
+
'date': 'str'
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
attribute_map = {
|
|
38
|
+
'workflow_id': 'workflow_id',
|
|
39
|
+
'workflow_urn': 'workflow_urn',
|
|
40
|
+
'execution_id': 'execution_id',
|
|
41
|
+
'status': 'status',
|
|
42
|
+
'headers': 'headers',
|
|
43
|
+
'input': 'input',
|
|
44
|
+
'output': 'output',
|
|
45
|
+
'begin_time': 'begin_time',
|
|
46
|
+
'end_time': 'end_time',
|
|
47
|
+
'last_update_time': 'last_update_time',
|
|
48
|
+
'created_by': 'created_by',
|
|
49
|
+
'node_execution_details': 'node_execution_details',
|
|
50
|
+
'x_request_id': 'x-request-id',
|
|
51
|
+
'connection': 'Connection',
|
|
52
|
+
'content_length': 'Content-Length',
|
|
53
|
+
'date': 'Date'
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
def __init__(self, workflow_id=None, workflow_urn=None, execution_id=None, status=None, headers=None, input=None, output=None, begin_time=None, end_time=None, last_update_time=None, created_by=None, node_execution_details=None, x_request_id=None, connection=None, content_length=None, date=None):
|
|
57
|
+
r"""ShowWorkflowInstanceResponse
|
|
58
|
+
|
|
59
|
+
The model defined in huaweicloud sdk
|
|
60
|
+
|
|
61
|
+
:param workflow_id: 流程定义ID 最小长度:1 最大长度:64
|
|
62
|
+
:type workflow_id: str
|
|
63
|
+
:param workflow_urn: 函数工作流URN, 格式为: urn:fss:<region_id>:<project_id>:workflow:<package>:<workflow_name>:<version> 注意: package当前只支持default version当前只支持latest
|
|
64
|
+
:type workflow_urn: str
|
|
65
|
+
:param execution_id: 流程执行实例ID 最小长度:1 最大长度:64
|
|
66
|
+
:type execution_id: str
|
|
67
|
+
:param status: 流程实例执行状态 最小长度:1 最大长度:32 枚举值: success fail running timeout cancel
|
|
68
|
+
:type status: str
|
|
69
|
+
:param headers: 函数执行时需要的Header。
|
|
70
|
+
:type headers: object
|
|
71
|
+
:param input: 函数执行时的入参
|
|
72
|
+
:type input: object
|
|
73
|
+
:param output: 函数执行结果
|
|
74
|
+
:type output: object
|
|
75
|
+
:param begin_time: 流程实例创建时间,格式:yyyy-MM-ddTHH:mm:ssZ,UTC时间 最小长度:0 最大长度:64
|
|
76
|
+
:type begin_time: str
|
|
77
|
+
:param end_time: 流程实例结束时间,格式:yyyy-MM-ddTHH:mm:ssZ,UTC时间 最小长度:0 最大长度:64
|
|
78
|
+
:type end_time: str
|
|
79
|
+
:param last_update_time: 流程实例上次更新时间,格式:yyyy-MM-ddTHH:mm:ssZ,UTC时间 最小长度:0 最大长度:64
|
|
80
|
+
:type last_update_time: str
|
|
81
|
+
:param created_by: 流程实例创建者 最小长度:1 最大长度:32
|
|
82
|
+
:type created_by: str
|
|
83
|
+
:param node_execution_details: 节点执行信息
|
|
84
|
+
:type node_execution_details: list[:class:`huaweicloudsdkdwr.v3.NodeExecution`]
|
|
85
|
+
:param x_request_id:
|
|
86
|
+
:type x_request_id: str
|
|
87
|
+
:param connection:
|
|
88
|
+
:type connection: str
|
|
89
|
+
:param content_length:
|
|
90
|
+
:type content_length: str
|
|
91
|
+
:param date:
|
|
92
|
+
:type date: str
|
|
93
|
+
"""
|
|
94
|
+
|
|
95
|
+
super().__init__()
|
|
96
|
+
|
|
97
|
+
self._workflow_id = None
|
|
98
|
+
self._workflow_urn = None
|
|
99
|
+
self._execution_id = None
|
|
100
|
+
self._status = None
|
|
101
|
+
self._headers = None
|
|
102
|
+
self._input = None
|
|
103
|
+
self._output = None
|
|
104
|
+
self._begin_time = None
|
|
105
|
+
self._end_time = None
|
|
106
|
+
self._last_update_time = None
|
|
107
|
+
self._created_by = None
|
|
108
|
+
self._node_execution_details = None
|
|
109
|
+
self._x_request_id = None
|
|
110
|
+
self._connection = None
|
|
111
|
+
self._content_length = None
|
|
112
|
+
self._date = None
|
|
113
|
+
self.discriminator = None
|
|
114
|
+
|
|
115
|
+
if workflow_id is not None:
|
|
116
|
+
self.workflow_id = workflow_id
|
|
117
|
+
if workflow_urn is not None:
|
|
118
|
+
self.workflow_urn = workflow_urn
|
|
119
|
+
if execution_id is not None:
|
|
120
|
+
self.execution_id = execution_id
|
|
121
|
+
if status is not None:
|
|
122
|
+
self.status = status
|
|
123
|
+
if headers is not None:
|
|
124
|
+
self.headers = headers
|
|
125
|
+
if input is not None:
|
|
126
|
+
self.input = input
|
|
127
|
+
if output is not None:
|
|
128
|
+
self.output = output
|
|
129
|
+
if begin_time is not None:
|
|
130
|
+
self.begin_time = begin_time
|
|
131
|
+
if end_time is not None:
|
|
132
|
+
self.end_time = end_time
|
|
133
|
+
if last_update_time is not None:
|
|
134
|
+
self.last_update_time = last_update_time
|
|
135
|
+
if created_by is not None:
|
|
136
|
+
self.created_by = created_by
|
|
137
|
+
if node_execution_details is not None:
|
|
138
|
+
self.node_execution_details = node_execution_details
|
|
139
|
+
if x_request_id is not None:
|
|
140
|
+
self.x_request_id = x_request_id
|
|
141
|
+
if connection is not None:
|
|
142
|
+
self.connection = connection
|
|
143
|
+
if content_length is not None:
|
|
144
|
+
self.content_length = content_length
|
|
145
|
+
if date is not None:
|
|
146
|
+
self.date = date
|
|
147
|
+
|
|
148
|
+
@property
|
|
149
|
+
def workflow_id(self):
|
|
150
|
+
r"""Gets the workflow_id of this ShowWorkflowInstanceResponse.
|
|
151
|
+
|
|
152
|
+
流程定义ID 最小长度:1 最大长度:64
|
|
153
|
+
|
|
154
|
+
:return: The workflow_id of this ShowWorkflowInstanceResponse.
|
|
155
|
+
:rtype: str
|
|
156
|
+
"""
|
|
157
|
+
return self._workflow_id
|
|
158
|
+
|
|
159
|
+
@workflow_id.setter
|
|
160
|
+
def workflow_id(self, workflow_id):
|
|
161
|
+
r"""Sets the workflow_id of this ShowWorkflowInstanceResponse.
|
|
162
|
+
|
|
163
|
+
流程定义ID 最小长度:1 最大长度:64
|
|
164
|
+
|
|
165
|
+
:param workflow_id: The workflow_id of this ShowWorkflowInstanceResponse.
|
|
166
|
+
:type workflow_id: str
|
|
167
|
+
"""
|
|
168
|
+
self._workflow_id = workflow_id
|
|
169
|
+
|
|
170
|
+
@property
|
|
171
|
+
def workflow_urn(self):
|
|
172
|
+
r"""Gets the workflow_urn of this ShowWorkflowInstanceResponse.
|
|
173
|
+
|
|
174
|
+
函数工作流URN, 格式为: urn:fss:<region_id>:<project_id>:workflow:<package>:<workflow_name>:<version> 注意: package当前只支持default version当前只支持latest
|
|
175
|
+
|
|
176
|
+
:return: The workflow_urn of this ShowWorkflowInstanceResponse.
|
|
177
|
+
:rtype: str
|
|
178
|
+
"""
|
|
179
|
+
return self._workflow_urn
|
|
180
|
+
|
|
181
|
+
@workflow_urn.setter
|
|
182
|
+
def workflow_urn(self, workflow_urn):
|
|
183
|
+
r"""Sets the workflow_urn of this ShowWorkflowInstanceResponse.
|
|
184
|
+
|
|
185
|
+
函数工作流URN, 格式为: urn:fss:<region_id>:<project_id>:workflow:<package>:<workflow_name>:<version> 注意: package当前只支持default version当前只支持latest
|
|
186
|
+
|
|
187
|
+
:param workflow_urn: The workflow_urn of this ShowWorkflowInstanceResponse.
|
|
188
|
+
:type workflow_urn: str
|
|
189
|
+
"""
|
|
190
|
+
self._workflow_urn = workflow_urn
|
|
191
|
+
|
|
192
|
+
@property
|
|
193
|
+
def execution_id(self):
|
|
194
|
+
r"""Gets the execution_id of this ShowWorkflowInstanceResponse.
|
|
195
|
+
|
|
196
|
+
流程执行实例ID 最小长度:1 最大长度:64
|
|
197
|
+
|
|
198
|
+
:return: The execution_id of this ShowWorkflowInstanceResponse.
|
|
199
|
+
:rtype: str
|
|
200
|
+
"""
|
|
201
|
+
return self._execution_id
|
|
202
|
+
|
|
203
|
+
@execution_id.setter
|
|
204
|
+
def execution_id(self, execution_id):
|
|
205
|
+
r"""Sets the execution_id of this ShowWorkflowInstanceResponse.
|
|
206
|
+
|
|
207
|
+
流程执行实例ID 最小长度:1 最大长度:64
|
|
208
|
+
|
|
209
|
+
:param execution_id: The execution_id of this ShowWorkflowInstanceResponse.
|
|
210
|
+
:type execution_id: str
|
|
211
|
+
"""
|
|
212
|
+
self._execution_id = execution_id
|
|
213
|
+
|
|
214
|
+
@property
|
|
215
|
+
def status(self):
|
|
216
|
+
r"""Gets the status of this ShowWorkflowInstanceResponse.
|
|
217
|
+
|
|
218
|
+
流程实例执行状态 最小长度:1 最大长度:32 枚举值: success fail running timeout cancel
|
|
219
|
+
|
|
220
|
+
:return: The status of this ShowWorkflowInstanceResponse.
|
|
221
|
+
:rtype: str
|
|
222
|
+
"""
|
|
223
|
+
return self._status
|
|
224
|
+
|
|
225
|
+
@status.setter
|
|
226
|
+
def status(self, status):
|
|
227
|
+
r"""Sets the status of this ShowWorkflowInstanceResponse.
|
|
228
|
+
|
|
229
|
+
流程实例执行状态 最小长度:1 最大长度:32 枚举值: success fail running timeout cancel
|
|
230
|
+
|
|
231
|
+
:param status: The status of this ShowWorkflowInstanceResponse.
|
|
232
|
+
:type status: str
|
|
233
|
+
"""
|
|
234
|
+
self._status = status
|
|
235
|
+
|
|
236
|
+
@property
|
|
237
|
+
def headers(self):
|
|
238
|
+
r"""Gets the headers of this ShowWorkflowInstanceResponse.
|
|
239
|
+
|
|
240
|
+
函数执行时需要的Header。
|
|
241
|
+
|
|
242
|
+
:return: The headers of this ShowWorkflowInstanceResponse.
|
|
243
|
+
:rtype: object
|
|
244
|
+
"""
|
|
245
|
+
return self._headers
|
|
246
|
+
|
|
247
|
+
@headers.setter
|
|
248
|
+
def headers(self, headers):
|
|
249
|
+
r"""Sets the headers of this ShowWorkflowInstanceResponse.
|
|
250
|
+
|
|
251
|
+
函数执行时需要的Header。
|
|
252
|
+
|
|
253
|
+
:param headers: The headers of this ShowWorkflowInstanceResponse.
|
|
254
|
+
:type headers: object
|
|
255
|
+
"""
|
|
256
|
+
self._headers = headers
|
|
257
|
+
|
|
258
|
+
@property
|
|
259
|
+
def input(self):
|
|
260
|
+
r"""Gets the input of this ShowWorkflowInstanceResponse.
|
|
261
|
+
|
|
262
|
+
函数执行时的入参
|
|
263
|
+
|
|
264
|
+
:return: The input of this ShowWorkflowInstanceResponse.
|
|
265
|
+
:rtype: object
|
|
266
|
+
"""
|
|
267
|
+
return self._input
|
|
268
|
+
|
|
269
|
+
@input.setter
|
|
270
|
+
def input(self, input):
|
|
271
|
+
r"""Sets the input of this ShowWorkflowInstanceResponse.
|
|
272
|
+
|
|
273
|
+
函数执行时的入参
|
|
274
|
+
|
|
275
|
+
:param input: The input of this ShowWorkflowInstanceResponse.
|
|
276
|
+
:type input: object
|
|
277
|
+
"""
|
|
278
|
+
self._input = input
|
|
279
|
+
|
|
280
|
+
@property
|
|
281
|
+
def output(self):
|
|
282
|
+
r"""Gets the output of this ShowWorkflowInstanceResponse.
|
|
283
|
+
|
|
284
|
+
函数执行结果
|
|
285
|
+
|
|
286
|
+
:return: The output of this ShowWorkflowInstanceResponse.
|
|
287
|
+
:rtype: object
|
|
288
|
+
"""
|
|
289
|
+
return self._output
|
|
290
|
+
|
|
291
|
+
@output.setter
|
|
292
|
+
def output(self, output):
|
|
293
|
+
r"""Sets the output of this ShowWorkflowInstanceResponse.
|
|
294
|
+
|
|
295
|
+
函数执行结果
|
|
296
|
+
|
|
297
|
+
:param output: The output of this ShowWorkflowInstanceResponse.
|
|
298
|
+
:type output: object
|
|
299
|
+
"""
|
|
300
|
+
self._output = output
|
|
301
|
+
|
|
302
|
+
@property
|
|
303
|
+
def begin_time(self):
|
|
304
|
+
r"""Gets the begin_time of this ShowWorkflowInstanceResponse.
|
|
305
|
+
|
|
306
|
+
流程实例创建时间,格式:yyyy-MM-ddTHH:mm:ssZ,UTC时间 最小长度:0 最大长度:64
|
|
307
|
+
|
|
308
|
+
:return: The begin_time of this ShowWorkflowInstanceResponse.
|
|
309
|
+
:rtype: str
|
|
310
|
+
"""
|
|
311
|
+
return self._begin_time
|
|
312
|
+
|
|
313
|
+
@begin_time.setter
|
|
314
|
+
def begin_time(self, begin_time):
|
|
315
|
+
r"""Sets the begin_time of this ShowWorkflowInstanceResponse.
|
|
316
|
+
|
|
317
|
+
流程实例创建时间,格式:yyyy-MM-ddTHH:mm:ssZ,UTC时间 最小长度:0 最大长度:64
|
|
318
|
+
|
|
319
|
+
:param begin_time: The begin_time of this ShowWorkflowInstanceResponse.
|
|
320
|
+
:type begin_time: str
|
|
321
|
+
"""
|
|
322
|
+
self._begin_time = begin_time
|
|
323
|
+
|
|
324
|
+
@property
|
|
325
|
+
def end_time(self):
|
|
326
|
+
r"""Gets the end_time of this ShowWorkflowInstanceResponse.
|
|
327
|
+
|
|
328
|
+
流程实例结束时间,格式:yyyy-MM-ddTHH:mm:ssZ,UTC时间 最小长度:0 最大长度:64
|
|
329
|
+
|
|
330
|
+
:return: The end_time of this ShowWorkflowInstanceResponse.
|
|
331
|
+
:rtype: str
|
|
332
|
+
"""
|
|
333
|
+
return self._end_time
|
|
334
|
+
|
|
335
|
+
@end_time.setter
|
|
336
|
+
def end_time(self, end_time):
|
|
337
|
+
r"""Sets the end_time of this ShowWorkflowInstanceResponse.
|
|
338
|
+
|
|
339
|
+
流程实例结束时间,格式:yyyy-MM-ddTHH:mm:ssZ,UTC时间 最小长度:0 最大长度:64
|
|
340
|
+
|
|
341
|
+
:param end_time: The end_time of this ShowWorkflowInstanceResponse.
|
|
342
|
+
:type end_time: str
|
|
343
|
+
"""
|
|
344
|
+
self._end_time = end_time
|
|
345
|
+
|
|
346
|
+
@property
|
|
347
|
+
def last_update_time(self):
|
|
348
|
+
r"""Gets the last_update_time of this ShowWorkflowInstanceResponse.
|
|
349
|
+
|
|
350
|
+
流程实例上次更新时间,格式:yyyy-MM-ddTHH:mm:ssZ,UTC时间 最小长度:0 最大长度:64
|
|
351
|
+
|
|
352
|
+
:return: The last_update_time of this ShowWorkflowInstanceResponse.
|
|
353
|
+
:rtype: str
|
|
354
|
+
"""
|
|
355
|
+
return self._last_update_time
|
|
356
|
+
|
|
357
|
+
@last_update_time.setter
|
|
358
|
+
def last_update_time(self, last_update_time):
|
|
359
|
+
r"""Sets the last_update_time of this ShowWorkflowInstanceResponse.
|
|
360
|
+
|
|
361
|
+
流程实例上次更新时间,格式:yyyy-MM-ddTHH:mm:ssZ,UTC时间 最小长度:0 最大长度:64
|
|
362
|
+
|
|
363
|
+
:param last_update_time: The last_update_time of this ShowWorkflowInstanceResponse.
|
|
364
|
+
:type last_update_time: str
|
|
365
|
+
"""
|
|
366
|
+
self._last_update_time = last_update_time
|
|
367
|
+
|
|
368
|
+
@property
|
|
369
|
+
def created_by(self):
|
|
370
|
+
r"""Gets the created_by of this ShowWorkflowInstanceResponse.
|
|
371
|
+
|
|
372
|
+
流程实例创建者 最小长度:1 最大长度:32
|
|
373
|
+
|
|
374
|
+
:return: The created_by of this ShowWorkflowInstanceResponse.
|
|
375
|
+
:rtype: str
|
|
376
|
+
"""
|
|
377
|
+
return self._created_by
|
|
378
|
+
|
|
379
|
+
@created_by.setter
|
|
380
|
+
def created_by(self, created_by):
|
|
381
|
+
r"""Sets the created_by of this ShowWorkflowInstanceResponse.
|
|
382
|
+
|
|
383
|
+
流程实例创建者 最小长度:1 最大长度:32
|
|
384
|
+
|
|
385
|
+
:param created_by: The created_by of this ShowWorkflowInstanceResponse.
|
|
386
|
+
:type created_by: str
|
|
387
|
+
"""
|
|
388
|
+
self._created_by = created_by
|
|
389
|
+
|
|
390
|
+
@property
|
|
391
|
+
def node_execution_details(self):
|
|
392
|
+
r"""Gets the node_execution_details of this ShowWorkflowInstanceResponse.
|
|
393
|
+
|
|
394
|
+
节点执行信息
|
|
395
|
+
|
|
396
|
+
:return: The node_execution_details of this ShowWorkflowInstanceResponse.
|
|
397
|
+
:rtype: list[:class:`huaweicloudsdkdwr.v3.NodeExecution`]
|
|
398
|
+
"""
|
|
399
|
+
return self._node_execution_details
|
|
400
|
+
|
|
401
|
+
@node_execution_details.setter
|
|
402
|
+
def node_execution_details(self, node_execution_details):
|
|
403
|
+
r"""Sets the node_execution_details of this ShowWorkflowInstanceResponse.
|
|
404
|
+
|
|
405
|
+
节点执行信息
|
|
406
|
+
|
|
407
|
+
:param node_execution_details: The node_execution_details of this ShowWorkflowInstanceResponse.
|
|
408
|
+
:type node_execution_details: list[:class:`huaweicloudsdkdwr.v3.NodeExecution`]
|
|
409
|
+
"""
|
|
410
|
+
self._node_execution_details = node_execution_details
|
|
411
|
+
|
|
412
|
+
@property
|
|
413
|
+
def x_request_id(self):
|
|
414
|
+
r"""Gets the x_request_id of this ShowWorkflowInstanceResponse.
|
|
415
|
+
|
|
416
|
+
:return: The x_request_id of this ShowWorkflowInstanceResponse.
|
|
417
|
+
:rtype: str
|
|
418
|
+
"""
|
|
419
|
+
return self._x_request_id
|
|
420
|
+
|
|
421
|
+
@x_request_id.setter
|
|
422
|
+
def x_request_id(self, x_request_id):
|
|
423
|
+
r"""Sets the x_request_id of this ShowWorkflowInstanceResponse.
|
|
424
|
+
|
|
425
|
+
:param x_request_id: The x_request_id of this ShowWorkflowInstanceResponse.
|
|
426
|
+
:type x_request_id: str
|
|
427
|
+
"""
|
|
428
|
+
self._x_request_id = x_request_id
|
|
429
|
+
|
|
430
|
+
@property
|
|
431
|
+
def connection(self):
|
|
432
|
+
r"""Gets the connection of this ShowWorkflowInstanceResponse.
|
|
433
|
+
|
|
434
|
+
:return: The connection of this ShowWorkflowInstanceResponse.
|
|
435
|
+
:rtype: str
|
|
436
|
+
"""
|
|
437
|
+
return self._connection
|
|
438
|
+
|
|
439
|
+
@connection.setter
|
|
440
|
+
def connection(self, connection):
|
|
441
|
+
r"""Sets the connection of this ShowWorkflowInstanceResponse.
|
|
442
|
+
|
|
443
|
+
:param connection: The connection of this ShowWorkflowInstanceResponse.
|
|
444
|
+
:type connection: str
|
|
445
|
+
"""
|
|
446
|
+
self._connection = connection
|
|
447
|
+
|
|
448
|
+
@property
|
|
449
|
+
def content_length(self):
|
|
450
|
+
r"""Gets the content_length of this ShowWorkflowInstanceResponse.
|
|
451
|
+
|
|
452
|
+
:return: The content_length of this ShowWorkflowInstanceResponse.
|
|
453
|
+
:rtype: str
|
|
454
|
+
"""
|
|
455
|
+
return self._content_length
|
|
456
|
+
|
|
457
|
+
@content_length.setter
|
|
458
|
+
def content_length(self, content_length):
|
|
459
|
+
r"""Sets the content_length of this ShowWorkflowInstanceResponse.
|
|
460
|
+
|
|
461
|
+
:param content_length: The content_length of this ShowWorkflowInstanceResponse.
|
|
462
|
+
:type content_length: str
|
|
463
|
+
"""
|
|
464
|
+
self._content_length = content_length
|
|
465
|
+
|
|
466
|
+
@property
|
|
467
|
+
def date(self):
|
|
468
|
+
r"""Gets the date of this ShowWorkflowInstanceResponse.
|
|
469
|
+
|
|
470
|
+
:return: The date of this ShowWorkflowInstanceResponse.
|
|
471
|
+
:rtype: str
|
|
472
|
+
"""
|
|
473
|
+
return self._date
|
|
474
|
+
|
|
475
|
+
@date.setter
|
|
476
|
+
def date(self, date):
|
|
477
|
+
r"""Sets the date of this ShowWorkflowInstanceResponse.
|
|
478
|
+
|
|
479
|
+
:param date: The date of this ShowWorkflowInstanceResponse.
|
|
480
|
+
:type date: str
|
|
481
|
+
"""
|
|
482
|
+
self._date = date
|
|
483
|
+
|
|
484
|
+
def to_dict(self):
|
|
485
|
+
import warnings
|
|
486
|
+
warnings.warn("ShowWorkflowInstanceResponse.to_dict() is deprecated and no longer maintained, "
|
|
487
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
488
|
+
result = {}
|
|
489
|
+
|
|
490
|
+
for attr, _ in self.openapi_types.items():
|
|
491
|
+
value = getattr(self, attr)
|
|
492
|
+
if isinstance(value, list):
|
|
493
|
+
result[attr] = list(map(
|
|
494
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
495
|
+
value
|
|
496
|
+
))
|
|
497
|
+
elif hasattr(value, "to_dict"):
|
|
498
|
+
result[attr] = value.to_dict()
|
|
499
|
+
elif isinstance(value, dict):
|
|
500
|
+
result[attr] = dict(map(
|
|
501
|
+
lambda item: (item[0], item[1].to_dict())
|
|
502
|
+
if hasattr(item[1], "to_dict") else item,
|
|
503
|
+
value.items()
|
|
504
|
+
))
|
|
505
|
+
else:
|
|
506
|
+
if attr in self.sensitive_list:
|
|
507
|
+
result[attr] = "****"
|
|
508
|
+
else:
|
|
509
|
+
result[attr] = value
|
|
510
|
+
|
|
511
|
+
return result
|
|
512
|
+
|
|
513
|
+
def to_str(self):
|
|
514
|
+
"""Returns the string representation of the model"""
|
|
515
|
+
import simplejson as json
|
|
516
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
517
|
+
|
|
518
|
+
def __repr__(self):
|
|
519
|
+
"""For `print`"""
|
|
520
|
+
return self.to_str()
|
|
521
|
+
|
|
522
|
+
def __eq__(self, other):
|
|
523
|
+
"""Returns true if both objects are equal"""
|
|
524
|
+
if not isinstance(other, ShowWorkflowInstanceResponse):
|
|
525
|
+
return False
|
|
526
|
+
|
|
527
|
+
return self.__dict__ == other.__dict__
|
|
528
|
+
|
|
529
|
+
def __ne__(self, other):
|
|
530
|
+
"""Returns true if both objects are not equal"""
|
|
531
|
+
return not self == other
|