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