huaweicloudsdkdwr 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.

Potentially problematic release.


This version of huaweicloudsdkdwr might be problematic. Click here for more details.

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