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,328 @@
|
|
|
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 ShowWorkflowInfoResponse(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
|
+
'name': 'str',
|
|
20
|
+
'created_at': 'str',
|
|
21
|
+
'definition': 'object',
|
|
22
|
+
'graph_urn': 'str',
|
|
23
|
+
'description': 'str',
|
|
24
|
+
'x_request_id': 'str',
|
|
25
|
+
'connection': 'str',
|
|
26
|
+
'content_length': 'str',
|
|
27
|
+
'date': 'str'
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
attribute_map = {
|
|
31
|
+
'name': 'name',
|
|
32
|
+
'created_at': 'created_at',
|
|
33
|
+
'definition': 'definition',
|
|
34
|
+
'graph_urn': 'graph_urn',
|
|
35
|
+
'description': 'description',
|
|
36
|
+
'x_request_id': 'x-request-id',
|
|
37
|
+
'connection': 'Connection',
|
|
38
|
+
'content_length': 'Content-Length',
|
|
39
|
+
'date': 'Date'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
def __init__(self, name=None, created_at=None, definition=None, graph_urn=None, description=None, x_request_id=None, connection=None, content_length=None, date=None):
|
|
43
|
+
r"""ShowWorkflowInfoResponse
|
|
44
|
+
|
|
45
|
+
The model defined in huaweicloud sdk
|
|
46
|
+
|
|
47
|
+
:param name: 工作流的名称。
|
|
48
|
+
:type name: str
|
|
49
|
+
:param created_at: 工作流的创建时间。
|
|
50
|
+
:type created_at: str
|
|
51
|
+
:param definition: 工作流的定义。
|
|
52
|
+
:type definition: object
|
|
53
|
+
:param graph_urn: 工作流的URN。
|
|
54
|
+
:type graph_urn: str
|
|
55
|
+
:param description: 工作流的描述。
|
|
56
|
+
:type description: str
|
|
57
|
+
:param x_request_id:
|
|
58
|
+
:type x_request_id: str
|
|
59
|
+
:param connection:
|
|
60
|
+
:type connection: str
|
|
61
|
+
:param content_length:
|
|
62
|
+
:type content_length: str
|
|
63
|
+
:param date:
|
|
64
|
+
:type date: str
|
|
65
|
+
"""
|
|
66
|
+
|
|
67
|
+
super().__init__()
|
|
68
|
+
|
|
69
|
+
self._name = None
|
|
70
|
+
self._created_at = None
|
|
71
|
+
self._definition = None
|
|
72
|
+
self._graph_urn = None
|
|
73
|
+
self._description = None
|
|
74
|
+
self._x_request_id = None
|
|
75
|
+
self._connection = None
|
|
76
|
+
self._content_length = None
|
|
77
|
+
self._date = None
|
|
78
|
+
self.discriminator = None
|
|
79
|
+
|
|
80
|
+
if name is not None:
|
|
81
|
+
self.name = name
|
|
82
|
+
if created_at is not None:
|
|
83
|
+
self.created_at = created_at
|
|
84
|
+
if definition is not None:
|
|
85
|
+
self.definition = definition
|
|
86
|
+
if graph_urn is not None:
|
|
87
|
+
self.graph_urn = graph_urn
|
|
88
|
+
if description is not None:
|
|
89
|
+
self.description = description
|
|
90
|
+
if x_request_id is not None:
|
|
91
|
+
self.x_request_id = x_request_id
|
|
92
|
+
if connection is not None:
|
|
93
|
+
self.connection = connection
|
|
94
|
+
if content_length is not None:
|
|
95
|
+
self.content_length = content_length
|
|
96
|
+
if date is not None:
|
|
97
|
+
self.date = date
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
def name(self):
|
|
101
|
+
r"""Gets the name of this ShowWorkflowInfoResponse.
|
|
102
|
+
|
|
103
|
+
工作流的名称。
|
|
104
|
+
|
|
105
|
+
:return: The name of this ShowWorkflowInfoResponse.
|
|
106
|
+
:rtype: str
|
|
107
|
+
"""
|
|
108
|
+
return self._name
|
|
109
|
+
|
|
110
|
+
@name.setter
|
|
111
|
+
def name(self, name):
|
|
112
|
+
r"""Sets the name of this ShowWorkflowInfoResponse.
|
|
113
|
+
|
|
114
|
+
工作流的名称。
|
|
115
|
+
|
|
116
|
+
:param name: The name of this ShowWorkflowInfoResponse.
|
|
117
|
+
:type name: str
|
|
118
|
+
"""
|
|
119
|
+
self._name = name
|
|
120
|
+
|
|
121
|
+
@property
|
|
122
|
+
def created_at(self):
|
|
123
|
+
r"""Gets the created_at of this ShowWorkflowInfoResponse.
|
|
124
|
+
|
|
125
|
+
工作流的创建时间。
|
|
126
|
+
|
|
127
|
+
:return: The created_at of this ShowWorkflowInfoResponse.
|
|
128
|
+
:rtype: str
|
|
129
|
+
"""
|
|
130
|
+
return self._created_at
|
|
131
|
+
|
|
132
|
+
@created_at.setter
|
|
133
|
+
def created_at(self, created_at):
|
|
134
|
+
r"""Sets the created_at of this ShowWorkflowInfoResponse.
|
|
135
|
+
|
|
136
|
+
工作流的创建时间。
|
|
137
|
+
|
|
138
|
+
:param created_at: The created_at of this ShowWorkflowInfoResponse.
|
|
139
|
+
:type created_at: str
|
|
140
|
+
"""
|
|
141
|
+
self._created_at = created_at
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
def definition(self):
|
|
145
|
+
r"""Gets the definition of this ShowWorkflowInfoResponse.
|
|
146
|
+
|
|
147
|
+
工作流的定义。
|
|
148
|
+
|
|
149
|
+
:return: The definition of this ShowWorkflowInfoResponse.
|
|
150
|
+
:rtype: object
|
|
151
|
+
"""
|
|
152
|
+
return self._definition
|
|
153
|
+
|
|
154
|
+
@definition.setter
|
|
155
|
+
def definition(self, definition):
|
|
156
|
+
r"""Sets the definition of this ShowWorkflowInfoResponse.
|
|
157
|
+
|
|
158
|
+
工作流的定义。
|
|
159
|
+
|
|
160
|
+
:param definition: The definition of this ShowWorkflowInfoResponse.
|
|
161
|
+
:type definition: object
|
|
162
|
+
"""
|
|
163
|
+
self._definition = definition
|
|
164
|
+
|
|
165
|
+
@property
|
|
166
|
+
def graph_urn(self):
|
|
167
|
+
r"""Gets the graph_urn of this ShowWorkflowInfoResponse.
|
|
168
|
+
|
|
169
|
+
工作流的URN。
|
|
170
|
+
|
|
171
|
+
:return: The graph_urn of this ShowWorkflowInfoResponse.
|
|
172
|
+
:rtype: str
|
|
173
|
+
"""
|
|
174
|
+
return self._graph_urn
|
|
175
|
+
|
|
176
|
+
@graph_urn.setter
|
|
177
|
+
def graph_urn(self, graph_urn):
|
|
178
|
+
r"""Sets the graph_urn of this ShowWorkflowInfoResponse.
|
|
179
|
+
|
|
180
|
+
工作流的URN。
|
|
181
|
+
|
|
182
|
+
:param graph_urn: The graph_urn of this ShowWorkflowInfoResponse.
|
|
183
|
+
:type graph_urn: str
|
|
184
|
+
"""
|
|
185
|
+
self._graph_urn = graph_urn
|
|
186
|
+
|
|
187
|
+
@property
|
|
188
|
+
def description(self):
|
|
189
|
+
r"""Gets the description of this ShowWorkflowInfoResponse.
|
|
190
|
+
|
|
191
|
+
工作流的描述。
|
|
192
|
+
|
|
193
|
+
:return: The description of this ShowWorkflowInfoResponse.
|
|
194
|
+
:rtype: str
|
|
195
|
+
"""
|
|
196
|
+
return self._description
|
|
197
|
+
|
|
198
|
+
@description.setter
|
|
199
|
+
def description(self, description):
|
|
200
|
+
r"""Sets the description of this ShowWorkflowInfoResponse.
|
|
201
|
+
|
|
202
|
+
工作流的描述。
|
|
203
|
+
|
|
204
|
+
:param description: The description of this ShowWorkflowInfoResponse.
|
|
205
|
+
:type description: str
|
|
206
|
+
"""
|
|
207
|
+
self._description = description
|
|
208
|
+
|
|
209
|
+
@property
|
|
210
|
+
def x_request_id(self):
|
|
211
|
+
r"""Gets the x_request_id of this ShowWorkflowInfoResponse.
|
|
212
|
+
|
|
213
|
+
:return: The x_request_id of this ShowWorkflowInfoResponse.
|
|
214
|
+
:rtype: str
|
|
215
|
+
"""
|
|
216
|
+
return self._x_request_id
|
|
217
|
+
|
|
218
|
+
@x_request_id.setter
|
|
219
|
+
def x_request_id(self, x_request_id):
|
|
220
|
+
r"""Sets the x_request_id of this ShowWorkflowInfoResponse.
|
|
221
|
+
|
|
222
|
+
:param x_request_id: The x_request_id of this ShowWorkflowInfoResponse.
|
|
223
|
+
:type x_request_id: str
|
|
224
|
+
"""
|
|
225
|
+
self._x_request_id = x_request_id
|
|
226
|
+
|
|
227
|
+
@property
|
|
228
|
+
def connection(self):
|
|
229
|
+
r"""Gets the connection of this ShowWorkflowInfoResponse.
|
|
230
|
+
|
|
231
|
+
:return: The connection of this ShowWorkflowInfoResponse.
|
|
232
|
+
:rtype: str
|
|
233
|
+
"""
|
|
234
|
+
return self._connection
|
|
235
|
+
|
|
236
|
+
@connection.setter
|
|
237
|
+
def connection(self, connection):
|
|
238
|
+
r"""Sets the connection of this ShowWorkflowInfoResponse.
|
|
239
|
+
|
|
240
|
+
:param connection: The connection of this ShowWorkflowInfoResponse.
|
|
241
|
+
:type connection: str
|
|
242
|
+
"""
|
|
243
|
+
self._connection = connection
|
|
244
|
+
|
|
245
|
+
@property
|
|
246
|
+
def content_length(self):
|
|
247
|
+
r"""Gets the content_length of this ShowWorkflowInfoResponse.
|
|
248
|
+
|
|
249
|
+
:return: The content_length of this ShowWorkflowInfoResponse.
|
|
250
|
+
:rtype: str
|
|
251
|
+
"""
|
|
252
|
+
return self._content_length
|
|
253
|
+
|
|
254
|
+
@content_length.setter
|
|
255
|
+
def content_length(self, content_length):
|
|
256
|
+
r"""Sets the content_length of this ShowWorkflowInfoResponse.
|
|
257
|
+
|
|
258
|
+
:param content_length: The content_length of this ShowWorkflowInfoResponse.
|
|
259
|
+
:type content_length: str
|
|
260
|
+
"""
|
|
261
|
+
self._content_length = content_length
|
|
262
|
+
|
|
263
|
+
@property
|
|
264
|
+
def date(self):
|
|
265
|
+
r"""Gets the date of this ShowWorkflowInfoResponse.
|
|
266
|
+
|
|
267
|
+
:return: The date of this ShowWorkflowInfoResponse.
|
|
268
|
+
:rtype: str
|
|
269
|
+
"""
|
|
270
|
+
return self._date
|
|
271
|
+
|
|
272
|
+
@date.setter
|
|
273
|
+
def date(self, date):
|
|
274
|
+
r"""Sets the date of this ShowWorkflowInfoResponse.
|
|
275
|
+
|
|
276
|
+
:param date: The date of this ShowWorkflowInfoResponse.
|
|
277
|
+
:type date: str
|
|
278
|
+
"""
|
|
279
|
+
self._date = date
|
|
280
|
+
|
|
281
|
+
def to_dict(self):
|
|
282
|
+
import warnings
|
|
283
|
+
warnings.warn("ShowWorkflowInfoResponse.to_dict() is deprecated and no longer maintained, "
|
|
284
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
285
|
+
result = {}
|
|
286
|
+
|
|
287
|
+
for attr, _ in self.openapi_types.items():
|
|
288
|
+
value = getattr(self, attr)
|
|
289
|
+
if isinstance(value, list):
|
|
290
|
+
result[attr] = list(map(
|
|
291
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
292
|
+
value
|
|
293
|
+
))
|
|
294
|
+
elif hasattr(value, "to_dict"):
|
|
295
|
+
result[attr] = value.to_dict()
|
|
296
|
+
elif isinstance(value, dict):
|
|
297
|
+
result[attr] = dict(map(
|
|
298
|
+
lambda item: (item[0], item[1].to_dict())
|
|
299
|
+
if hasattr(item[1], "to_dict") else item,
|
|
300
|
+
value.items()
|
|
301
|
+
))
|
|
302
|
+
else:
|
|
303
|
+
if attr in self.sensitive_list:
|
|
304
|
+
result[attr] = "****"
|
|
305
|
+
else:
|
|
306
|
+
result[attr] = value
|
|
307
|
+
|
|
308
|
+
return result
|
|
309
|
+
|
|
310
|
+
def to_str(self):
|
|
311
|
+
"""Returns the string representation of the model"""
|
|
312
|
+
import simplejson as json
|
|
313
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
314
|
+
|
|
315
|
+
def __repr__(self):
|
|
316
|
+
"""For `print`"""
|
|
317
|
+
return self.to_str()
|
|
318
|
+
|
|
319
|
+
def __eq__(self, other):
|
|
320
|
+
"""Returns true if both objects are equal"""
|
|
321
|
+
if not isinstance(other, ShowWorkflowInfoResponse):
|
|
322
|
+
return False
|
|
323
|
+
|
|
324
|
+
return self.__dict__ == other.__dict__
|
|
325
|
+
|
|
326
|
+
def __ne__(self, other):
|
|
327
|
+
"""Returns true if both objects are not equal"""
|
|
328
|
+
return not self == other
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ShowWorkflowInstanceRequest:
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
Attributes:
|
|
10
|
+
openapi_types (dict): The key is attribute name
|
|
11
|
+
and the value is attribute type.
|
|
12
|
+
attribute_map (dict): The key is attribute name
|
|
13
|
+
and the value is json key in definition.
|
|
14
|
+
"""
|
|
15
|
+
sensitive_list = []
|
|
16
|
+
|
|
17
|
+
openapi_types = {
|
|
18
|
+
'execution_name': 'str',
|
|
19
|
+
'graph_name': 'str'
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
attribute_map = {
|
|
23
|
+
'execution_name': 'execution_name',
|
|
24
|
+
'graph_name': 'graph_name'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, execution_name=None, graph_name=None):
|
|
28
|
+
r"""ShowWorkflowInstanceRequest
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param execution_name: 工作流实例名称。
|
|
33
|
+
:type execution_name: str
|
|
34
|
+
:param graph_name: 工作流名称。
|
|
35
|
+
:type graph_name: str
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
self._execution_name = None
|
|
41
|
+
self._graph_name = None
|
|
42
|
+
self.discriminator = None
|
|
43
|
+
|
|
44
|
+
self.execution_name = execution_name
|
|
45
|
+
self.graph_name = graph_name
|
|
46
|
+
|
|
47
|
+
@property
|
|
48
|
+
def execution_name(self):
|
|
49
|
+
r"""Gets the execution_name of this ShowWorkflowInstanceRequest.
|
|
50
|
+
|
|
51
|
+
工作流实例名称。
|
|
52
|
+
|
|
53
|
+
:return: The execution_name of this ShowWorkflowInstanceRequest.
|
|
54
|
+
:rtype: str
|
|
55
|
+
"""
|
|
56
|
+
return self._execution_name
|
|
57
|
+
|
|
58
|
+
@execution_name.setter
|
|
59
|
+
def execution_name(self, execution_name):
|
|
60
|
+
r"""Sets the execution_name of this ShowWorkflowInstanceRequest.
|
|
61
|
+
|
|
62
|
+
工作流实例名称。
|
|
63
|
+
|
|
64
|
+
:param execution_name: The execution_name of this ShowWorkflowInstanceRequest.
|
|
65
|
+
:type execution_name: str
|
|
66
|
+
"""
|
|
67
|
+
self._execution_name = execution_name
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
def graph_name(self):
|
|
71
|
+
r"""Gets the graph_name of this ShowWorkflowInstanceRequest.
|
|
72
|
+
|
|
73
|
+
工作流名称。
|
|
74
|
+
|
|
75
|
+
:return: The graph_name of this ShowWorkflowInstanceRequest.
|
|
76
|
+
:rtype: str
|
|
77
|
+
"""
|
|
78
|
+
return self._graph_name
|
|
79
|
+
|
|
80
|
+
@graph_name.setter
|
|
81
|
+
def graph_name(self, graph_name):
|
|
82
|
+
r"""Sets the graph_name of this ShowWorkflowInstanceRequest.
|
|
83
|
+
|
|
84
|
+
工作流名称。
|
|
85
|
+
|
|
86
|
+
:param graph_name: The graph_name of this ShowWorkflowInstanceRequest.
|
|
87
|
+
:type graph_name: str
|
|
88
|
+
"""
|
|
89
|
+
self._graph_name = graph_name
|
|
90
|
+
|
|
91
|
+
def to_dict(self):
|
|
92
|
+
result = {}
|
|
93
|
+
|
|
94
|
+
for attr, _ in self.openapi_types.items():
|
|
95
|
+
value = getattr(self, attr)
|
|
96
|
+
if isinstance(value, list):
|
|
97
|
+
result[attr] = list(map(
|
|
98
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
99
|
+
value
|
|
100
|
+
))
|
|
101
|
+
elif hasattr(value, "to_dict"):
|
|
102
|
+
result[attr] = value.to_dict()
|
|
103
|
+
elif isinstance(value, dict):
|
|
104
|
+
result[attr] = dict(map(
|
|
105
|
+
lambda item: (item[0], item[1].to_dict())
|
|
106
|
+
if hasattr(item[1], "to_dict") else item,
|
|
107
|
+
value.items()
|
|
108
|
+
))
|
|
109
|
+
else:
|
|
110
|
+
if attr in self.sensitive_list:
|
|
111
|
+
result[attr] = "****"
|
|
112
|
+
else:
|
|
113
|
+
result[attr] = value
|
|
114
|
+
|
|
115
|
+
return result
|
|
116
|
+
|
|
117
|
+
def to_str(self):
|
|
118
|
+
"""Returns the string representation of the model"""
|
|
119
|
+
import simplejson as json
|
|
120
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
121
|
+
|
|
122
|
+
def __repr__(self):
|
|
123
|
+
"""For `print`"""
|
|
124
|
+
return self.to_str()
|
|
125
|
+
|
|
126
|
+
def __eq__(self, other):
|
|
127
|
+
"""Returns true if both objects are equal"""
|
|
128
|
+
if not isinstance(other, ShowWorkflowInstanceRequest):
|
|
129
|
+
return False
|
|
130
|
+
|
|
131
|
+
return self.__dict__ == other.__dict__
|
|
132
|
+
|
|
133
|
+
def __ne__(self, other):
|
|
134
|
+
"""Returns true if both objects are not equal"""
|
|
135
|
+
return not self == other
|