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,415 @@
|
|
|
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 CreateMyActionTemplateResponse(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
|
+
'template_name': 'str',
|
|
20
|
+
'created_at': 'str',
|
|
21
|
+
'func_pkg_path': 'str',
|
|
22
|
+
'func_logo_path': 'dict(str, str)',
|
|
23
|
+
'func_help_path': 'dict(str, str)',
|
|
24
|
+
'func_test_report_path': 'dict(str, str)',
|
|
25
|
+
'func_opensource_notice_path': 'dict(str, str)',
|
|
26
|
+
'func_sla_path': 'dict(str, str)',
|
|
27
|
+
'x_request_id': 'str',
|
|
28
|
+
'connection': 'str',
|
|
29
|
+
'content_length': 'str',
|
|
30
|
+
'date': 'str'
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
attribute_map = {
|
|
34
|
+
'template_name': 'template_name',
|
|
35
|
+
'created_at': 'created_at',
|
|
36
|
+
'func_pkg_path': 'func_pkg_path',
|
|
37
|
+
'func_logo_path': 'func_logo_path',
|
|
38
|
+
'func_help_path': 'func_help_path',
|
|
39
|
+
'func_test_report_path': 'func_test_report_path',
|
|
40
|
+
'func_opensource_notice_path': 'func_opensource_notice_path',
|
|
41
|
+
'func_sla_path': 'func_sla_path',
|
|
42
|
+
'x_request_id': 'X-request-id',
|
|
43
|
+
'connection': 'Connection',
|
|
44
|
+
'content_length': 'Content-Length',
|
|
45
|
+
'date': 'Date'
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
def __init__(self, template_name=None, created_at=None, func_pkg_path=None, func_logo_path=None, func_help_path=None, func_test_report_path=None, func_opensource_notice_path=None, func_sla_path=None, x_request_id=None, connection=None, content_length=None, date=None):
|
|
49
|
+
r"""CreateMyActionTemplateResponse
|
|
50
|
+
|
|
51
|
+
The model defined in huaweicloud sdk
|
|
52
|
+
|
|
53
|
+
:param template_name: 三方算子ID
|
|
54
|
+
:type template_name: str
|
|
55
|
+
:param created_at: 三方算子创建的时间
|
|
56
|
+
:type created_at: str
|
|
57
|
+
:param func_pkg_path: 签名OBS地址,用于上传中英文算子包
|
|
58
|
+
:type func_pkg_path: str
|
|
59
|
+
:param func_logo_path: 签名OBS地址,用于上传中英文算子logo
|
|
60
|
+
:type func_logo_path: dict(str, str)
|
|
61
|
+
:param func_help_path: 签名OBS地址,用于上传中英文算子帮助文档
|
|
62
|
+
:type func_help_path: dict(str, str)
|
|
63
|
+
:param func_test_report_path: 签名OBS地址,用于上传中英文算子测试报告
|
|
64
|
+
:type func_test_report_path: dict(str, str)
|
|
65
|
+
:param func_opensource_notice_path: 签名OBS地址,用于上传中英文开源须知
|
|
66
|
+
:type func_opensource_notice_path: dict(str, str)
|
|
67
|
+
:param func_sla_path: 签名OBS地址,用于上传中英文服务协议材料
|
|
68
|
+
:type func_sla_path: dict(str, str)
|
|
69
|
+
:param x_request_id:
|
|
70
|
+
:type x_request_id: str
|
|
71
|
+
:param connection:
|
|
72
|
+
:type connection: str
|
|
73
|
+
:param content_length:
|
|
74
|
+
:type content_length: str
|
|
75
|
+
:param date:
|
|
76
|
+
:type date: str
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
super().__init__()
|
|
80
|
+
|
|
81
|
+
self._template_name = None
|
|
82
|
+
self._created_at = None
|
|
83
|
+
self._func_pkg_path = None
|
|
84
|
+
self._func_logo_path = None
|
|
85
|
+
self._func_help_path = None
|
|
86
|
+
self._func_test_report_path = None
|
|
87
|
+
self._func_opensource_notice_path = None
|
|
88
|
+
self._func_sla_path = None
|
|
89
|
+
self._x_request_id = None
|
|
90
|
+
self._connection = None
|
|
91
|
+
self._content_length = None
|
|
92
|
+
self._date = None
|
|
93
|
+
self.discriminator = None
|
|
94
|
+
|
|
95
|
+
if template_name is not None:
|
|
96
|
+
self.template_name = template_name
|
|
97
|
+
if created_at is not None:
|
|
98
|
+
self.created_at = created_at
|
|
99
|
+
if func_pkg_path is not None:
|
|
100
|
+
self.func_pkg_path = func_pkg_path
|
|
101
|
+
if func_logo_path is not None:
|
|
102
|
+
self.func_logo_path = func_logo_path
|
|
103
|
+
if func_help_path is not None:
|
|
104
|
+
self.func_help_path = func_help_path
|
|
105
|
+
if func_test_report_path is not None:
|
|
106
|
+
self.func_test_report_path = func_test_report_path
|
|
107
|
+
if func_opensource_notice_path is not None:
|
|
108
|
+
self.func_opensource_notice_path = func_opensource_notice_path
|
|
109
|
+
if func_sla_path is not None:
|
|
110
|
+
self.func_sla_path = func_sla_path
|
|
111
|
+
if x_request_id is not None:
|
|
112
|
+
self.x_request_id = x_request_id
|
|
113
|
+
if connection is not None:
|
|
114
|
+
self.connection = connection
|
|
115
|
+
if content_length is not None:
|
|
116
|
+
self.content_length = content_length
|
|
117
|
+
if date is not None:
|
|
118
|
+
self.date = date
|
|
119
|
+
|
|
120
|
+
@property
|
|
121
|
+
def template_name(self):
|
|
122
|
+
r"""Gets the template_name of this CreateMyActionTemplateResponse.
|
|
123
|
+
|
|
124
|
+
三方算子ID
|
|
125
|
+
|
|
126
|
+
:return: The template_name of this CreateMyActionTemplateResponse.
|
|
127
|
+
:rtype: str
|
|
128
|
+
"""
|
|
129
|
+
return self._template_name
|
|
130
|
+
|
|
131
|
+
@template_name.setter
|
|
132
|
+
def template_name(self, template_name):
|
|
133
|
+
r"""Sets the template_name of this CreateMyActionTemplateResponse.
|
|
134
|
+
|
|
135
|
+
三方算子ID
|
|
136
|
+
|
|
137
|
+
:param template_name: The template_name of this CreateMyActionTemplateResponse.
|
|
138
|
+
:type template_name: str
|
|
139
|
+
"""
|
|
140
|
+
self._template_name = template_name
|
|
141
|
+
|
|
142
|
+
@property
|
|
143
|
+
def created_at(self):
|
|
144
|
+
r"""Gets the created_at of this CreateMyActionTemplateResponse.
|
|
145
|
+
|
|
146
|
+
三方算子创建的时间
|
|
147
|
+
|
|
148
|
+
:return: The created_at of this CreateMyActionTemplateResponse.
|
|
149
|
+
:rtype: str
|
|
150
|
+
"""
|
|
151
|
+
return self._created_at
|
|
152
|
+
|
|
153
|
+
@created_at.setter
|
|
154
|
+
def created_at(self, created_at):
|
|
155
|
+
r"""Sets the created_at of this CreateMyActionTemplateResponse.
|
|
156
|
+
|
|
157
|
+
三方算子创建的时间
|
|
158
|
+
|
|
159
|
+
:param created_at: The created_at of this CreateMyActionTemplateResponse.
|
|
160
|
+
:type created_at: str
|
|
161
|
+
"""
|
|
162
|
+
self._created_at = created_at
|
|
163
|
+
|
|
164
|
+
@property
|
|
165
|
+
def func_pkg_path(self):
|
|
166
|
+
r"""Gets the func_pkg_path of this CreateMyActionTemplateResponse.
|
|
167
|
+
|
|
168
|
+
签名OBS地址,用于上传中英文算子包
|
|
169
|
+
|
|
170
|
+
:return: The func_pkg_path of this CreateMyActionTemplateResponse.
|
|
171
|
+
:rtype: str
|
|
172
|
+
"""
|
|
173
|
+
return self._func_pkg_path
|
|
174
|
+
|
|
175
|
+
@func_pkg_path.setter
|
|
176
|
+
def func_pkg_path(self, func_pkg_path):
|
|
177
|
+
r"""Sets the func_pkg_path of this CreateMyActionTemplateResponse.
|
|
178
|
+
|
|
179
|
+
签名OBS地址,用于上传中英文算子包
|
|
180
|
+
|
|
181
|
+
:param func_pkg_path: The func_pkg_path of this CreateMyActionTemplateResponse.
|
|
182
|
+
:type func_pkg_path: str
|
|
183
|
+
"""
|
|
184
|
+
self._func_pkg_path = func_pkg_path
|
|
185
|
+
|
|
186
|
+
@property
|
|
187
|
+
def func_logo_path(self):
|
|
188
|
+
r"""Gets the func_logo_path of this CreateMyActionTemplateResponse.
|
|
189
|
+
|
|
190
|
+
签名OBS地址,用于上传中英文算子logo
|
|
191
|
+
|
|
192
|
+
:return: The func_logo_path of this CreateMyActionTemplateResponse.
|
|
193
|
+
:rtype: dict(str, str)
|
|
194
|
+
"""
|
|
195
|
+
return self._func_logo_path
|
|
196
|
+
|
|
197
|
+
@func_logo_path.setter
|
|
198
|
+
def func_logo_path(self, func_logo_path):
|
|
199
|
+
r"""Sets the func_logo_path of this CreateMyActionTemplateResponse.
|
|
200
|
+
|
|
201
|
+
签名OBS地址,用于上传中英文算子logo
|
|
202
|
+
|
|
203
|
+
:param func_logo_path: The func_logo_path of this CreateMyActionTemplateResponse.
|
|
204
|
+
:type func_logo_path: dict(str, str)
|
|
205
|
+
"""
|
|
206
|
+
self._func_logo_path = func_logo_path
|
|
207
|
+
|
|
208
|
+
@property
|
|
209
|
+
def func_help_path(self):
|
|
210
|
+
r"""Gets the func_help_path of this CreateMyActionTemplateResponse.
|
|
211
|
+
|
|
212
|
+
签名OBS地址,用于上传中英文算子帮助文档
|
|
213
|
+
|
|
214
|
+
:return: The func_help_path of this CreateMyActionTemplateResponse.
|
|
215
|
+
:rtype: dict(str, str)
|
|
216
|
+
"""
|
|
217
|
+
return self._func_help_path
|
|
218
|
+
|
|
219
|
+
@func_help_path.setter
|
|
220
|
+
def func_help_path(self, func_help_path):
|
|
221
|
+
r"""Sets the func_help_path of this CreateMyActionTemplateResponse.
|
|
222
|
+
|
|
223
|
+
签名OBS地址,用于上传中英文算子帮助文档
|
|
224
|
+
|
|
225
|
+
:param func_help_path: The func_help_path of this CreateMyActionTemplateResponse.
|
|
226
|
+
:type func_help_path: dict(str, str)
|
|
227
|
+
"""
|
|
228
|
+
self._func_help_path = func_help_path
|
|
229
|
+
|
|
230
|
+
@property
|
|
231
|
+
def func_test_report_path(self):
|
|
232
|
+
r"""Gets the func_test_report_path of this CreateMyActionTemplateResponse.
|
|
233
|
+
|
|
234
|
+
签名OBS地址,用于上传中英文算子测试报告
|
|
235
|
+
|
|
236
|
+
:return: The func_test_report_path of this CreateMyActionTemplateResponse.
|
|
237
|
+
:rtype: dict(str, str)
|
|
238
|
+
"""
|
|
239
|
+
return self._func_test_report_path
|
|
240
|
+
|
|
241
|
+
@func_test_report_path.setter
|
|
242
|
+
def func_test_report_path(self, func_test_report_path):
|
|
243
|
+
r"""Sets the func_test_report_path of this CreateMyActionTemplateResponse.
|
|
244
|
+
|
|
245
|
+
签名OBS地址,用于上传中英文算子测试报告
|
|
246
|
+
|
|
247
|
+
:param func_test_report_path: The func_test_report_path of this CreateMyActionTemplateResponse.
|
|
248
|
+
:type func_test_report_path: dict(str, str)
|
|
249
|
+
"""
|
|
250
|
+
self._func_test_report_path = func_test_report_path
|
|
251
|
+
|
|
252
|
+
@property
|
|
253
|
+
def func_opensource_notice_path(self):
|
|
254
|
+
r"""Gets the func_opensource_notice_path of this CreateMyActionTemplateResponse.
|
|
255
|
+
|
|
256
|
+
签名OBS地址,用于上传中英文开源须知
|
|
257
|
+
|
|
258
|
+
:return: The func_opensource_notice_path of this CreateMyActionTemplateResponse.
|
|
259
|
+
:rtype: dict(str, str)
|
|
260
|
+
"""
|
|
261
|
+
return self._func_opensource_notice_path
|
|
262
|
+
|
|
263
|
+
@func_opensource_notice_path.setter
|
|
264
|
+
def func_opensource_notice_path(self, func_opensource_notice_path):
|
|
265
|
+
r"""Sets the func_opensource_notice_path of this CreateMyActionTemplateResponse.
|
|
266
|
+
|
|
267
|
+
签名OBS地址,用于上传中英文开源须知
|
|
268
|
+
|
|
269
|
+
:param func_opensource_notice_path: The func_opensource_notice_path of this CreateMyActionTemplateResponse.
|
|
270
|
+
:type func_opensource_notice_path: dict(str, str)
|
|
271
|
+
"""
|
|
272
|
+
self._func_opensource_notice_path = func_opensource_notice_path
|
|
273
|
+
|
|
274
|
+
@property
|
|
275
|
+
def func_sla_path(self):
|
|
276
|
+
r"""Gets the func_sla_path of this CreateMyActionTemplateResponse.
|
|
277
|
+
|
|
278
|
+
签名OBS地址,用于上传中英文服务协议材料
|
|
279
|
+
|
|
280
|
+
:return: The func_sla_path of this CreateMyActionTemplateResponse.
|
|
281
|
+
:rtype: dict(str, str)
|
|
282
|
+
"""
|
|
283
|
+
return self._func_sla_path
|
|
284
|
+
|
|
285
|
+
@func_sla_path.setter
|
|
286
|
+
def func_sla_path(self, func_sla_path):
|
|
287
|
+
r"""Sets the func_sla_path of this CreateMyActionTemplateResponse.
|
|
288
|
+
|
|
289
|
+
签名OBS地址,用于上传中英文服务协议材料
|
|
290
|
+
|
|
291
|
+
:param func_sla_path: The func_sla_path of this CreateMyActionTemplateResponse.
|
|
292
|
+
:type func_sla_path: dict(str, str)
|
|
293
|
+
"""
|
|
294
|
+
self._func_sla_path = func_sla_path
|
|
295
|
+
|
|
296
|
+
@property
|
|
297
|
+
def x_request_id(self):
|
|
298
|
+
r"""Gets the x_request_id of this CreateMyActionTemplateResponse.
|
|
299
|
+
|
|
300
|
+
:return: The x_request_id of this CreateMyActionTemplateResponse.
|
|
301
|
+
:rtype: str
|
|
302
|
+
"""
|
|
303
|
+
return self._x_request_id
|
|
304
|
+
|
|
305
|
+
@x_request_id.setter
|
|
306
|
+
def x_request_id(self, x_request_id):
|
|
307
|
+
r"""Sets the x_request_id of this CreateMyActionTemplateResponse.
|
|
308
|
+
|
|
309
|
+
:param x_request_id: The x_request_id of this CreateMyActionTemplateResponse.
|
|
310
|
+
:type x_request_id: str
|
|
311
|
+
"""
|
|
312
|
+
self._x_request_id = x_request_id
|
|
313
|
+
|
|
314
|
+
@property
|
|
315
|
+
def connection(self):
|
|
316
|
+
r"""Gets the connection of this CreateMyActionTemplateResponse.
|
|
317
|
+
|
|
318
|
+
:return: The connection of this CreateMyActionTemplateResponse.
|
|
319
|
+
:rtype: str
|
|
320
|
+
"""
|
|
321
|
+
return self._connection
|
|
322
|
+
|
|
323
|
+
@connection.setter
|
|
324
|
+
def connection(self, connection):
|
|
325
|
+
r"""Sets the connection of this CreateMyActionTemplateResponse.
|
|
326
|
+
|
|
327
|
+
:param connection: The connection of this CreateMyActionTemplateResponse.
|
|
328
|
+
:type connection: str
|
|
329
|
+
"""
|
|
330
|
+
self._connection = connection
|
|
331
|
+
|
|
332
|
+
@property
|
|
333
|
+
def content_length(self):
|
|
334
|
+
r"""Gets the content_length of this CreateMyActionTemplateResponse.
|
|
335
|
+
|
|
336
|
+
:return: The content_length of this CreateMyActionTemplateResponse.
|
|
337
|
+
:rtype: str
|
|
338
|
+
"""
|
|
339
|
+
return self._content_length
|
|
340
|
+
|
|
341
|
+
@content_length.setter
|
|
342
|
+
def content_length(self, content_length):
|
|
343
|
+
r"""Sets the content_length of this CreateMyActionTemplateResponse.
|
|
344
|
+
|
|
345
|
+
:param content_length: The content_length of this CreateMyActionTemplateResponse.
|
|
346
|
+
:type content_length: str
|
|
347
|
+
"""
|
|
348
|
+
self._content_length = content_length
|
|
349
|
+
|
|
350
|
+
@property
|
|
351
|
+
def date(self):
|
|
352
|
+
r"""Gets the date of this CreateMyActionTemplateResponse.
|
|
353
|
+
|
|
354
|
+
:return: The date of this CreateMyActionTemplateResponse.
|
|
355
|
+
:rtype: str
|
|
356
|
+
"""
|
|
357
|
+
return self._date
|
|
358
|
+
|
|
359
|
+
@date.setter
|
|
360
|
+
def date(self, date):
|
|
361
|
+
r"""Sets the date of this CreateMyActionTemplateResponse.
|
|
362
|
+
|
|
363
|
+
:param date: The date of this CreateMyActionTemplateResponse.
|
|
364
|
+
:type date: str
|
|
365
|
+
"""
|
|
366
|
+
self._date = date
|
|
367
|
+
|
|
368
|
+
def to_dict(self):
|
|
369
|
+
import warnings
|
|
370
|
+
warnings.warn("CreateMyActionTemplateResponse.to_dict() is deprecated and no longer maintained, "
|
|
371
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
372
|
+
result = {}
|
|
373
|
+
|
|
374
|
+
for attr, _ in self.openapi_types.items():
|
|
375
|
+
value = getattr(self, attr)
|
|
376
|
+
if isinstance(value, list):
|
|
377
|
+
result[attr] = list(map(
|
|
378
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
379
|
+
value
|
|
380
|
+
))
|
|
381
|
+
elif hasattr(value, "to_dict"):
|
|
382
|
+
result[attr] = value.to_dict()
|
|
383
|
+
elif isinstance(value, dict):
|
|
384
|
+
result[attr] = dict(map(
|
|
385
|
+
lambda item: (item[0], item[1].to_dict())
|
|
386
|
+
if hasattr(item[1], "to_dict") else item,
|
|
387
|
+
value.items()
|
|
388
|
+
))
|
|
389
|
+
else:
|
|
390
|
+
if attr in self.sensitive_list:
|
|
391
|
+
result[attr] = "****"
|
|
392
|
+
else:
|
|
393
|
+
result[attr] = value
|
|
394
|
+
|
|
395
|
+
return result
|
|
396
|
+
|
|
397
|
+
def to_str(self):
|
|
398
|
+
"""Returns the string representation of the model"""
|
|
399
|
+
import simplejson as json
|
|
400
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
401
|
+
|
|
402
|
+
def __repr__(self):
|
|
403
|
+
"""For `print`"""
|
|
404
|
+
return self.to_str()
|
|
405
|
+
|
|
406
|
+
def __eq__(self, other):
|
|
407
|
+
"""Returns true if both objects are equal"""
|
|
408
|
+
if not isinstance(other, CreateMyActionTemplateResponse):
|
|
409
|
+
return False
|
|
410
|
+
|
|
411
|
+
return self.__dict__ == other.__dict__
|
|
412
|
+
|
|
413
|
+
def __ne__(self, other):
|
|
414
|
+
"""Returns true if both objects are not equal"""
|
|
415
|
+
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 CreateWorkflowAuthenticationRequest:
|
|
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"""CreateWorkflowAuthenticationRequest
|
|
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, CreateWorkflowAuthenticationRequest):
|
|
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,133 @@
|
|
|
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 CreateWorkflowAuthenticationResponse(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
|
+
'x_request_id': 'str',
|
|
20
|
+
'content_length': 'str'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'x_request_id': 'x-request-id',
|
|
25
|
+
'content_length': 'Content-Length'
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
def __init__(self, x_request_id=None, content_length=None):
|
|
29
|
+
r"""CreateWorkflowAuthenticationResponse
|
|
30
|
+
|
|
31
|
+
The model defined in huaweicloud sdk
|
|
32
|
+
|
|
33
|
+
:param x_request_id:
|
|
34
|
+
:type x_request_id: str
|
|
35
|
+
:param content_length:
|
|
36
|
+
:type content_length: str
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
super().__init__()
|
|
40
|
+
|
|
41
|
+
self._x_request_id = None
|
|
42
|
+
self._content_length = None
|
|
43
|
+
self.discriminator = None
|
|
44
|
+
|
|
45
|
+
if x_request_id is not None:
|
|
46
|
+
self.x_request_id = x_request_id
|
|
47
|
+
if content_length is not None:
|
|
48
|
+
self.content_length = content_length
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
def x_request_id(self):
|
|
52
|
+
r"""Gets the x_request_id of this CreateWorkflowAuthenticationResponse.
|
|
53
|
+
|
|
54
|
+
:return: The x_request_id of this CreateWorkflowAuthenticationResponse.
|
|
55
|
+
:rtype: str
|
|
56
|
+
"""
|
|
57
|
+
return self._x_request_id
|
|
58
|
+
|
|
59
|
+
@x_request_id.setter
|
|
60
|
+
def x_request_id(self, x_request_id):
|
|
61
|
+
r"""Sets the x_request_id of this CreateWorkflowAuthenticationResponse.
|
|
62
|
+
|
|
63
|
+
:param x_request_id: The x_request_id of this CreateWorkflowAuthenticationResponse.
|
|
64
|
+
:type x_request_id: str
|
|
65
|
+
"""
|
|
66
|
+
self._x_request_id = x_request_id
|
|
67
|
+
|
|
68
|
+
@property
|
|
69
|
+
def content_length(self):
|
|
70
|
+
r"""Gets the content_length of this CreateWorkflowAuthenticationResponse.
|
|
71
|
+
|
|
72
|
+
:return: The content_length of this CreateWorkflowAuthenticationResponse.
|
|
73
|
+
:rtype: str
|
|
74
|
+
"""
|
|
75
|
+
return self._content_length
|
|
76
|
+
|
|
77
|
+
@content_length.setter
|
|
78
|
+
def content_length(self, content_length):
|
|
79
|
+
r"""Sets the content_length of this CreateWorkflowAuthenticationResponse.
|
|
80
|
+
|
|
81
|
+
:param content_length: The content_length of this CreateWorkflowAuthenticationResponse.
|
|
82
|
+
:type content_length: str
|
|
83
|
+
"""
|
|
84
|
+
self._content_length = content_length
|
|
85
|
+
|
|
86
|
+
def to_dict(self):
|
|
87
|
+
import warnings
|
|
88
|
+
warnings.warn("CreateWorkflowAuthenticationResponse.to_dict() is deprecated and no longer maintained, "
|
|
89
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
90
|
+
result = {}
|
|
91
|
+
|
|
92
|
+
for attr, _ in self.openapi_types.items():
|
|
93
|
+
value = getattr(self, attr)
|
|
94
|
+
if isinstance(value, list):
|
|
95
|
+
result[attr] = list(map(
|
|
96
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
97
|
+
value
|
|
98
|
+
))
|
|
99
|
+
elif hasattr(value, "to_dict"):
|
|
100
|
+
result[attr] = value.to_dict()
|
|
101
|
+
elif isinstance(value, dict):
|
|
102
|
+
result[attr] = dict(map(
|
|
103
|
+
lambda item: (item[0], item[1].to_dict())
|
|
104
|
+
if hasattr(item[1], "to_dict") else item,
|
|
105
|
+
value.items()
|
|
106
|
+
))
|
|
107
|
+
else:
|
|
108
|
+
if attr in self.sensitive_list:
|
|
109
|
+
result[attr] = "****"
|
|
110
|
+
else:
|
|
111
|
+
result[attr] = value
|
|
112
|
+
|
|
113
|
+
return result
|
|
114
|
+
|
|
115
|
+
def to_str(self):
|
|
116
|
+
"""Returns the string representation of the model"""
|
|
117
|
+
import simplejson as json
|
|
118
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
119
|
+
|
|
120
|
+
def __repr__(self):
|
|
121
|
+
"""For `print`"""
|
|
122
|
+
return self.to_str()
|
|
123
|
+
|
|
124
|
+
def __eq__(self, other):
|
|
125
|
+
"""Returns true if both objects are equal"""
|
|
126
|
+
if not isinstance(other, CreateWorkflowAuthenticationResponse):
|
|
127
|
+
return False
|
|
128
|
+
|
|
129
|
+
return self.__dict__ == other.__dict__
|
|
130
|
+
|
|
131
|
+
def __ne__(self, other):
|
|
132
|
+
"""Returns true if both objects are not equal"""
|
|
133
|
+
return not self == other
|