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,282 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class PublicTemplateItem:
|
|
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
|
+
'name': 'str',
|
|
19
|
+
'category': 'str',
|
|
20
|
+
'register_status': 'str',
|
|
21
|
+
'provider_name': 'str',
|
|
22
|
+
'description': 'str',
|
|
23
|
+
'create_time': 'str',
|
|
24
|
+
'last_modify_time': 'str'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
attribute_map = {
|
|
28
|
+
'name': 'name',
|
|
29
|
+
'category': 'category',
|
|
30
|
+
'register_status': 'register_status',
|
|
31
|
+
'provider_name': 'provider_name',
|
|
32
|
+
'description': 'description',
|
|
33
|
+
'create_time': 'create_time',
|
|
34
|
+
'last_modify_time': 'last_modify_time'
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
def __init__(self, name=None, category=None, register_status=None, provider_name=None, description=None, create_time=None, last_modify_time=None):
|
|
38
|
+
r"""PublicTemplateItem
|
|
39
|
+
|
|
40
|
+
The model defined in huaweicloud sdk
|
|
41
|
+
|
|
42
|
+
:param name: 名称。
|
|
43
|
+
:type name: str
|
|
44
|
+
:param category: 分类。默认分类为FileProcess,MediaProcess,ImageProcess,ContentReview,NotificationProcess,VoiceInteraction
|
|
45
|
+
:type category: str
|
|
46
|
+
:param register_status: init_created新建,submit_approve等待审核,deprecate_approve申请禁用
|
|
47
|
+
:type register_status: str
|
|
48
|
+
:param provider_name: 提供方
|
|
49
|
+
:type provider_name: str
|
|
50
|
+
:param description: 描述
|
|
51
|
+
:type description: str
|
|
52
|
+
:param create_time: 创建时间
|
|
53
|
+
:type create_time: str
|
|
54
|
+
:param last_modify_time: 最后修改时间
|
|
55
|
+
:type last_modify_time: str
|
|
56
|
+
"""
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
self._name = None
|
|
61
|
+
self._category = None
|
|
62
|
+
self._register_status = None
|
|
63
|
+
self._provider_name = None
|
|
64
|
+
self._description = None
|
|
65
|
+
self._create_time = None
|
|
66
|
+
self._last_modify_time = None
|
|
67
|
+
self.discriminator = None
|
|
68
|
+
|
|
69
|
+
if name is not None:
|
|
70
|
+
self.name = name
|
|
71
|
+
if category is not None:
|
|
72
|
+
self.category = category
|
|
73
|
+
if register_status is not None:
|
|
74
|
+
self.register_status = register_status
|
|
75
|
+
if provider_name is not None:
|
|
76
|
+
self.provider_name = provider_name
|
|
77
|
+
if description is not None:
|
|
78
|
+
self.description = description
|
|
79
|
+
if create_time is not None:
|
|
80
|
+
self.create_time = create_time
|
|
81
|
+
if last_modify_time is not None:
|
|
82
|
+
self.last_modify_time = last_modify_time
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def name(self):
|
|
86
|
+
r"""Gets the name of this PublicTemplateItem.
|
|
87
|
+
|
|
88
|
+
名称。
|
|
89
|
+
|
|
90
|
+
:return: The name of this PublicTemplateItem.
|
|
91
|
+
:rtype: str
|
|
92
|
+
"""
|
|
93
|
+
return self._name
|
|
94
|
+
|
|
95
|
+
@name.setter
|
|
96
|
+
def name(self, name):
|
|
97
|
+
r"""Sets the name of this PublicTemplateItem.
|
|
98
|
+
|
|
99
|
+
名称。
|
|
100
|
+
|
|
101
|
+
:param name: The name of this PublicTemplateItem.
|
|
102
|
+
:type name: str
|
|
103
|
+
"""
|
|
104
|
+
self._name = name
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
def category(self):
|
|
108
|
+
r"""Gets the category of this PublicTemplateItem.
|
|
109
|
+
|
|
110
|
+
分类。默认分类为FileProcess,MediaProcess,ImageProcess,ContentReview,NotificationProcess,VoiceInteraction
|
|
111
|
+
|
|
112
|
+
:return: The category of this PublicTemplateItem.
|
|
113
|
+
:rtype: str
|
|
114
|
+
"""
|
|
115
|
+
return self._category
|
|
116
|
+
|
|
117
|
+
@category.setter
|
|
118
|
+
def category(self, category):
|
|
119
|
+
r"""Sets the category of this PublicTemplateItem.
|
|
120
|
+
|
|
121
|
+
分类。默认分类为FileProcess,MediaProcess,ImageProcess,ContentReview,NotificationProcess,VoiceInteraction
|
|
122
|
+
|
|
123
|
+
:param category: The category of this PublicTemplateItem.
|
|
124
|
+
:type category: str
|
|
125
|
+
"""
|
|
126
|
+
self._category = category
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
def register_status(self):
|
|
130
|
+
r"""Gets the register_status of this PublicTemplateItem.
|
|
131
|
+
|
|
132
|
+
init_created新建,submit_approve等待审核,deprecate_approve申请禁用
|
|
133
|
+
|
|
134
|
+
:return: The register_status of this PublicTemplateItem.
|
|
135
|
+
:rtype: str
|
|
136
|
+
"""
|
|
137
|
+
return self._register_status
|
|
138
|
+
|
|
139
|
+
@register_status.setter
|
|
140
|
+
def register_status(self, register_status):
|
|
141
|
+
r"""Sets the register_status of this PublicTemplateItem.
|
|
142
|
+
|
|
143
|
+
init_created新建,submit_approve等待审核,deprecate_approve申请禁用
|
|
144
|
+
|
|
145
|
+
:param register_status: The register_status of this PublicTemplateItem.
|
|
146
|
+
:type register_status: str
|
|
147
|
+
"""
|
|
148
|
+
self._register_status = register_status
|
|
149
|
+
|
|
150
|
+
@property
|
|
151
|
+
def provider_name(self):
|
|
152
|
+
r"""Gets the provider_name of this PublicTemplateItem.
|
|
153
|
+
|
|
154
|
+
提供方
|
|
155
|
+
|
|
156
|
+
:return: The provider_name of this PublicTemplateItem.
|
|
157
|
+
:rtype: str
|
|
158
|
+
"""
|
|
159
|
+
return self._provider_name
|
|
160
|
+
|
|
161
|
+
@provider_name.setter
|
|
162
|
+
def provider_name(self, provider_name):
|
|
163
|
+
r"""Sets the provider_name of this PublicTemplateItem.
|
|
164
|
+
|
|
165
|
+
提供方
|
|
166
|
+
|
|
167
|
+
:param provider_name: The provider_name of this PublicTemplateItem.
|
|
168
|
+
:type provider_name: str
|
|
169
|
+
"""
|
|
170
|
+
self._provider_name = provider_name
|
|
171
|
+
|
|
172
|
+
@property
|
|
173
|
+
def description(self):
|
|
174
|
+
r"""Gets the description of this PublicTemplateItem.
|
|
175
|
+
|
|
176
|
+
描述
|
|
177
|
+
|
|
178
|
+
:return: The description of this PublicTemplateItem.
|
|
179
|
+
:rtype: str
|
|
180
|
+
"""
|
|
181
|
+
return self._description
|
|
182
|
+
|
|
183
|
+
@description.setter
|
|
184
|
+
def description(self, description):
|
|
185
|
+
r"""Sets the description of this PublicTemplateItem.
|
|
186
|
+
|
|
187
|
+
描述
|
|
188
|
+
|
|
189
|
+
:param description: The description of this PublicTemplateItem.
|
|
190
|
+
:type description: str
|
|
191
|
+
"""
|
|
192
|
+
self._description = description
|
|
193
|
+
|
|
194
|
+
@property
|
|
195
|
+
def create_time(self):
|
|
196
|
+
r"""Gets the create_time of this PublicTemplateItem.
|
|
197
|
+
|
|
198
|
+
创建时间
|
|
199
|
+
|
|
200
|
+
:return: The create_time of this PublicTemplateItem.
|
|
201
|
+
:rtype: str
|
|
202
|
+
"""
|
|
203
|
+
return self._create_time
|
|
204
|
+
|
|
205
|
+
@create_time.setter
|
|
206
|
+
def create_time(self, create_time):
|
|
207
|
+
r"""Sets the create_time of this PublicTemplateItem.
|
|
208
|
+
|
|
209
|
+
创建时间
|
|
210
|
+
|
|
211
|
+
:param create_time: The create_time of this PublicTemplateItem.
|
|
212
|
+
:type create_time: str
|
|
213
|
+
"""
|
|
214
|
+
self._create_time = create_time
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
def last_modify_time(self):
|
|
218
|
+
r"""Gets the last_modify_time of this PublicTemplateItem.
|
|
219
|
+
|
|
220
|
+
最后修改时间
|
|
221
|
+
|
|
222
|
+
:return: The last_modify_time of this PublicTemplateItem.
|
|
223
|
+
:rtype: str
|
|
224
|
+
"""
|
|
225
|
+
return self._last_modify_time
|
|
226
|
+
|
|
227
|
+
@last_modify_time.setter
|
|
228
|
+
def last_modify_time(self, last_modify_time):
|
|
229
|
+
r"""Sets the last_modify_time of this PublicTemplateItem.
|
|
230
|
+
|
|
231
|
+
最后修改时间
|
|
232
|
+
|
|
233
|
+
:param last_modify_time: The last_modify_time of this PublicTemplateItem.
|
|
234
|
+
:type last_modify_time: str
|
|
235
|
+
"""
|
|
236
|
+
self._last_modify_time = last_modify_time
|
|
237
|
+
|
|
238
|
+
def to_dict(self):
|
|
239
|
+
result = {}
|
|
240
|
+
|
|
241
|
+
for attr, _ in self.openapi_types.items():
|
|
242
|
+
value = getattr(self, attr)
|
|
243
|
+
if isinstance(value, list):
|
|
244
|
+
result[attr] = list(map(
|
|
245
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
246
|
+
value
|
|
247
|
+
))
|
|
248
|
+
elif hasattr(value, "to_dict"):
|
|
249
|
+
result[attr] = value.to_dict()
|
|
250
|
+
elif isinstance(value, dict):
|
|
251
|
+
result[attr] = dict(map(
|
|
252
|
+
lambda item: (item[0], item[1].to_dict())
|
|
253
|
+
if hasattr(item[1], "to_dict") else item,
|
|
254
|
+
value.items()
|
|
255
|
+
))
|
|
256
|
+
else:
|
|
257
|
+
if attr in self.sensitive_list:
|
|
258
|
+
result[attr] = "****"
|
|
259
|
+
else:
|
|
260
|
+
result[attr] = value
|
|
261
|
+
|
|
262
|
+
return result
|
|
263
|
+
|
|
264
|
+
def to_str(self):
|
|
265
|
+
"""Returns the string representation of the model"""
|
|
266
|
+
import simplejson as json
|
|
267
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
268
|
+
|
|
269
|
+
def __repr__(self):
|
|
270
|
+
"""For `print`"""
|
|
271
|
+
return self.to_str()
|
|
272
|
+
|
|
273
|
+
def __eq__(self, other):
|
|
274
|
+
"""Returns true if both objects are equal"""
|
|
275
|
+
if not isinstance(other, PublicTemplateItem):
|
|
276
|
+
return False
|
|
277
|
+
|
|
278
|
+
return self.__dict__ == other.__dict__
|
|
279
|
+
|
|
280
|
+
def __ne__(self, other):
|
|
281
|
+
"""Returns true if both objects are not equal"""
|
|
282
|
+
return not self == other
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class PublicTemplateRegisterType:
|
|
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
|
+
}
|
|
19
|
+
|
|
20
|
+
attribute_map = {
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
def __init__(self):
|
|
24
|
+
r"""PublicTemplateRegisterType
|
|
25
|
+
|
|
26
|
+
The model defined in huaweicloud sdk
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
self.discriminator = None
|
|
32
|
+
|
|
33
|
+
def to_dict(self):
|
|
34
|
+
result = {}
|
|
35
|
+
|
|
36
|
+
for attr, _ in self.openapi_types.items():
|
|
37
|
+
value = getattr(self, attr)
|
|
38
|
+
if isinstance(value, list):
|
|
39
|
+
result[attr] = list(map(
|
|
40
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
41
|
+
value
|
|
42
|
+
))
|
|
43
|
+
elif hasattr(value, "to_dict"):
|
|
44
|
+
result[attr] = value.to_dict()
|
|
45
|
+
elif isinstance(value, dict):
|
|
46
|
+
result[attr] = dict(map(
|
|
47
|
+
lambda item: (item[0], item[1].to_dict())
|
|
48
|
+
if hasattr(item[1], "to_dict") else item,
|
|
49
|
+
value.items()
|
|
50
|
+
))
|
|
51
|
+
else:
|
|
52
|
+
if attr in self.sensitive_list:
|
|
53
|
+
result[attr] = "****"
|
|
54
|
+
else:
|
|
55
|
+
result[attr] = value
|
|
56
|
+
|
|
57
|
+
return result
|
|
58
|
+
|
|
59
|
+
def to_str(self):
|
|
60
|
+
"""Returns the string representation of the model"""
|
|
61
|
+
import simplejson as json
|
|
62
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
63
|
+
|
|
64
|
+
def __repr__(self):
|
|
65
|
+
"""For `print`"""
|
|
66
|
+
return self.to_str()
|
|
67
|
+
|
|
68
|
+
def __eq__(self, other):
|
|
69
|
+
"""Returns true if both objects are equal"""
|
|
70
|
+
if not isinstance(other, PublicTemplateRegisterType):
|
|
71
|
+
return False
|
|
72
|
+
|
|
73
|
+
return self.__dict__ == other.__dict__
|
|
74
|
+
|
|
75
|
+
def __ne__(self, other):
|
|
76
|
+
"""Returns true if both objects are not equal"""
|
|
77
|
+
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 RestoreWorkflowExecutionRequest:
|
|
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"""RestoreWorkflowExecutionRequest
|
|
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 RestoreWorkflowExecutionRequest.
|
|
50
|
+
|
|
51
|
+
工作流实例名。
|
|
52
|
+
|
|
53
|
+
:return: The execution_name of this RestoreWorkflowExecutionRequest.
|
|
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 RestoreWorkflowExecutionRequest.
|
|
61
|
+
|
|
62
|
+
工作流实例名。
|
|
63
|
+
|
|
64
|
+
:param execution_name: The execution_name of this RestoreWorkflowExecutionRequest.
|
|
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 RestoreWorkflowExecutionRequest.
|
|
72
|
+
|
|
73
|
+
工作流名。
|
|
74
|
+
|
|
75
|
+
:return: The graph_name of this RestoreWorkflowExecutionRequest.
|
|
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 RestoreWorkflowExecutionRequest.
|
|
83
|
+
|
|
84
|
+
工作流名。
|
|
85
|
+
|
|
86
|
+
:param graph_name: The graph_name of this RestoreWorkflowExecutionRequest.
|
|
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, RestoreWorkflowExecutionRequest):
|
|
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
|