huaweicloudsdkdwr 3.1.181__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- huaweicloudsdkdwr/__init__.py +0 -0
- huaweicloudsdkdwr/v1/__init__.py +97 -0
- huaweicloudsdkdwr/v1/dwr_async_client.py +1584 -0
- huaweicloudsdkdwr/v1/dwr_client.py +1581 -0
- huaweicloudsdkdwr/v1/model/__init__.py +94 -0
- huaweicloudsdkdwr/v1/model/build_progress.py +224 -0
- huaweicloudsdkdwr/v1/model/charge_info.py +223 -0
- huaweicloudsdkdwr/v1/model/collection_base_info.py +135 -0
- huaweicloudsdkdwr/v1/model/create_collection_body.py +274 -0
- huaweicloudsdkdwr/v1/model/create_collection_request.py +104 -0
- huaweicloudsdkdwr/v1/model/create_collection_response.py +141 -0
- huaweicloudsdkdwr/v1/model/create_index_body.py +159 -0
- huaweicloudsdkdwr/v1/model/create_index_request.py +104 -0
- huaweicloudsdkdwr/v1/model/create_index_response.py +141 -0
- huaweicloudsdkdwr/v1/model/create_store_body.py +241 -0
- huaweicloudsdkdwr/v1/model/create_store_data.py +328 -0
- huaweicloudsdkdwr/v1/model/create_store_request.py +104 -0
- huaweicloudsdkdwr/v1/model/create_store_response.py +166 -0
- huaweicloudsdkdwr/v1/model/decribe_collection_data.py +337 -0
- huaweicloudsdkdwr/v1/model/delete_collection_request.py +104 -0
- huaweicloudsdkdwr/v1/model/delete_collection_response.py +141 -0
- huaweicloudsdkdwr/v1/model/delete_entities_body.py +163 -0
- huaweicloudsdkdwr/v1/model/delete_entities_request.py +104 -0
- huaweicloudsdkdwr/v1/model/delete_entities_response.py +141 -0
- huaweicloudsdkdwr/v1/model/delete_index_body.py +163 -0
- huaweicloudsdkdwr/v1/model/delete_index_request.py +104 -0
- huaweicloudsdkdwr/v1/model/delete_index_response.py +141 -0
- huaweicloudsdkdwr/v1/model/delete_store_data.py +107 -0
- huaweicloudsdkdwr/v1/model/delete_store_request.py +104 -0
- huaweicloudsdkdwr/v1/model/delete_store_response.py +166 -0
- huaweicloudsdkdwr/v1/model/describe_collection_request.py +104 -0
- huaweicloudsdkdwr/v1/model/describe_collection_response.py +166 -0
- huaweicloudsdkdwr/v1/model/describe_index_body.py +163 -0
- huaweicloudsdkdwr/v1/model/describe_index_data.py +159 -0
- huaweicloudsdkdwr/v1/model/describe_index_request.py +104 -0
- huaweicloudsdkdwr/v1/model/describe_index_response.py +166 -0
- huaweicloudsdkdwr/v1/model/describe_job_body.py +107 -0
- huaweicloudsdkdwr/v1/model/describe_job_request.py +104 -0
- huaweicloudsdkdwr/v1/model/describe_job_response.py +166 -0
- huaweicloudsdkdwr/v1/model/describe_store_request.py +104 -0
- huaweicloudsdkdwr/v1/model/describe_store_response.py +166 -0
- huaweicloudsdkdwr/v1/model/entities_data.py +107 -0
- huaweicloudsdkdwr/v1/model/field.py +222 -0
- huaweicloudsdkdwr/v1/model/field_data.py +278 -0
- huaweicloudsdkdwr/v1/model/flavor.py +135 -0
- huaweicloudsdkdwr/v1/model/get_index_progress_body.py +163 -0
- huaweicloudsdkdwr/v1/model/get_progress_data.py +160 -0
- huaweicloudsdkdwr/v1/model/get_progress_request.py +104 -0
- huaweicloudsdkdwr/v1/model/get_progress_response.py +166 -0
- huaweicloudsdkdwr/v1/model/hybrid_search_body.py +275 -0
- huaweicloudsdkdwr/v1/model/hybrid_search_request.py +104 -0
- huaweicloudsdkdwr/v1/model/hybrid_search_response.py +166 -0
- huaweicloudsdkdwr/v1/model/index_desc.py +191 -0
- huaweicloudsdkdwr/v1/model/index_params.py +164 -0
- huaweicloudsdkdwr/v1/model/insert_entities_body.py +163 -0
- huaweicloudsdkdwr/v1/model/insert_entities_data.py +136 -0
- huaweicloudsdkdwr/v1/model/insert_entities_request.py +104 -0
- huaweicloudsdkdwr/v1/model/insert_entities_response.py +166 -0
- huaweicloudsdkdwr/v1/model/job_data.py +309 -0
- huaweicloudsdkdwr/v1/model/list_collection_data.py +136 -0
- huaweicloudsdkdwr/v1/model/list_collection_details.py +253 -0
- huaweicloudsdkdwr/v1/model/list_collections_body.py +136 -0
- huaweicloudsdkdwr/v1/model/list_collections_request.py +104 -0
- huaweicloudsdkdwr/v1/model/list_collections_response.py +166 -0
- huaweicloudsdkdwr/v1/model/list_jobs_data.py +108 -0
- huaweicloudsdkdwr/v1/model/list_jobs_request.py +224 -0
- huaweicloudsdkdwr/v1/model/list_jobs_response.py +166 -0
- huaweicloudsdkdwr/v1/model/list_store_data.py +107 -0
- huaweicloudsdkdwr/v1/model/list_stores_request.py +77 -0
- huaweicloudsdkdwr/v1/model/list_stores_response.py +166 -0
- huaweicloudsdkdwr/v1/model/load_collection_body.py +135 -0
- huaweicloudsdkdwr/v1/model/load_collection_request.py +104 -0
- huaweicloudsdkdwr/v1/model/load_collection_response.py +141 -0
- huaweicloudsdkdwr/v1/model/primary_field.py +135 -0
- huaweicloudsdkdwr/v1/model/query_entities_body.py +250 -0
- huaweicloudsdkdwr/v1/model/query_entities_request.py +104 -0
- huaweicloudsdkdwr/v1/model/query_entities_response.py +166 -0
- huaweicloudsdkdwr/v1/model/release_collection_request.py +104 -0
- huaweicloudsdkdwr/v1/model/release_collection_response.py +141 -0
- huaweicloudsdkdwr/v1/model/rerank.py +136 -0
- huaweicloudsdkdwr/v1/model/scale_store_body.py +135 -0
- huaweicloudsdkdwr/v1/model/scale_store_data.py +220 -0
- huaweicloudsdkdwr/v1/model/scale_store_request.py +104 -0
- huaweicloudsdkdwr/v1/model/scale_store_response.py +166 -0
- huaweicloudsdkdwr/v1/model/search_entities_body.py +336 -0
- huaweicloudsdkdwr/v1/model/search_entities_request.py +104 -0
- huaweicloudsdkdwr/v1/model/search_entities_response.py +166 -0
- huaweicloudsdkdwr/v1/model/store_data.py +357 -0
- huaweicloudsdkdwr/v1/model/store_info.py +107 -0
- huaweicloudsdkdwr/v1/model/sub_search.py +251 -0
- huaweicloudsdkdwr/v1/model/upsert_entities_body.py +163 -0
- huaweicloudsdkdwr/v1/model/upsert_entities_data.py +135 -0
- huaweicloudsdkdwr/v1/model/upsert_entities_request.py +104 -0
- huaweicloudsdkdwr/v1/model/upsert_entities_response.py +166 -0
- huaweicloudsdkdwr/v1/region/__init__.py +0 -0
- huaweicloudsdkdwr/v1/region/dwr_region.py +43 -0
- huaweicloudsdkdwr/v3/__init__.py +76 -0
- huaweicloudsdkdwr/v3/dwr_async_client.py +1622 -0
- huaweicloudsdkdwr/v3/dwr_client.py +1619 -0
- huaweicloudsdkdwr/v3/model/__init__.py +73 -0
- huaweicloudsdkdwr/v3/model/accept_service_contract_request.py +107 -0
- huaweicloudsdkdwr/v3/model/accept_service_contract_response.py +133 -0
- huaweicloudsdkdwr/v3/model/action.py +420 -0
- huaweicloudsdkdwr/v3/model/action_result.py +221 -0
- huaweicloudsdkdwr/v3/model/action_template_item.py +137 -0
- huaweicloudsdkdwr/v3/model/async_invoke_api_start_workflow_request.py +132 -0
- huaweicloudsdkdwr/v3/model/async_invoke_api_start_workflow_response.py +270 -0
- huaweicloudsdkdwr/v3/model/check_workflow_authentication_request.py +77 -0
- huaweicloudsdkdwr/v3/model/check_workflow_authentication_response.py +473 -0
- huaweicloudsdkdwr/v3/model/create_my_action_template_request.py +132 -0
- huaweicloudsdkdwr/v3/model/create_my_action_template_response.py +415 -0
- huaweicloudsdkdwr/v3/model/create_workflow_authentication_request.py +77 -0
- huaweicloudsdkdwr/v3/model/create_workflow_authentication_response.py +133 -0
- huaweicloudsdkdwr/v3/model/create_workflow_request.py +132 -0
- huaweicloudsdkdwr/v3/model/create_workflow_request_body.py +274 -0
- huaweicloudsdkdwr/v3/model/create_workflow_response.py +270 -0
- huaweicloudsdkdwr/v3/model/delete_my_action_template_request.py +107 -0
- huaweicloudsdkdwr/v3/model/delete_my_action_template_response.py +133 -0
- huaweicloudsdkdwr/v3/model/delete_workflow_request.py +107 -0
- huaweicloudsdkdwr/v3/model/delete_workflow_response.py +133 -0
- huaweicloudsdkdwr/v3/model/execute_workflow_body.py +160 -0
- huaweicloudsdkdwr/v3/model/execution.py +282 -0
- huaweicloudsdkdwr/v3/model/express_config.py +137 -0
- huaweicloudsdkdwr/v3/model/func_vpc.py +253 -0
- huaweicloudsdkdwr/v3/model/graph_item.py +195 -0
- huaweicloudsdkdwr/v3/model/input.py +367 -0
- huaweicloudsdkdwr/v3/model/input_para_type.py +77 -0
- huaweicloudsdkdwr/v3/model/input_para_value_type.py +77 -0
- huaweicloudsdkdwr/v3/model/list_my_action_template_request.py +224 -0
- huaweicloudsdkdwr/v3/model/list_my_action_template_response.py +299 -0
- huaweicloudsdkdwr/v3/model/list_system_templates_request.py +195 -0
- huaweicloudsdkdwr/v3/model/list_system_templates_response.py +328 -0
- huaweicloudsdkdwr/v3/model/list_workflow_instance_request.py +252 -0
- huaweicloudsdkdwr/v3/model/list_workflow_instance_response.py +299 -0
- huaweicloudsdkdwr/v3/model/list_workflows_request.py +166 -0
- huaweicloudsdkdwr/v3/model/list_workflows_response.py +299 -0
- huaweicloudsdkdwr/v3/model/node_execution.py +282 -0
- huaweicloudsdkdwr/v3/model/policy.py +137 -0
- huaweicloudsdkdwr/v3/model/provided_action.py +561 -0
- huaweicloudsdkdwr/v3/model/public_template_item.py +282 -0
- huaweicloudsdkdwr/v3/model/public_template_register_type.py +77 -0
- huaweicloudsdkdwr/v3/model/restore_workflow_execution_request.py +135 -0
- huaweicloudsdkdwr/v3/model/restore_workflow_execution_response.py +270 -0
- huaweicloudsdkdwr/v3/model/show_public_action_list_request.py +195 -0
- huaweicloudsdkdwr/v3/model/show_public_action_list_response.py +328 -0
- huaweicloudsdkdwr/v3/model/show_public_template_info_request.py +107 -0
- huaweicloudsdkdwr/v3/model/show_public_template_info_response.py +208 -0
- huaweicloudsdkdwr/v3/model/show_service_contract_request.py +107 -0
- huaweicloudsdkdwr/v3/model/show_service_contract_response.py +241 -0
- huaweicloudsdkdwr/v3/model/show_system_template_detail_request.py +107 -0
- huaweicloudsdkdwr/v3/model/show_system_template_detail_response.py +208 -0
- huaweicloudsdkdwr/v3/model/show_third_template_info_request.py +107 -0
- huaweicloudsdkdwr/v3/model/show_third_template_info_response.py +208 -0
- huaweicloudsdkdwr/v3/model/show_workflow_info_request.py +107 -0
- huaweicloudsdkdwr/v3/model/show_workflow_info_response.py +328 -0
- huaweicloudsdkdwr/v3/model/show_workflow_instance_request.py +135 -0
- huaweicloudsdkdwr/v3/model/show_workflow_instance_response.py +531 -0
- huaweicloudsdkdwr/v3/model/state.py +338 -0
- huaweicloudsdkdwr/v3/model/statement.py +137 -0
- huaweicloudsdkdwr/v3/model/third_action_template_item.py +282 -0
- huaweicloudsdkdwr/v3/model/third_template_request_body.py +423 -0
- huaweicloudsdkdwr/v3/model/update_my_action_template_request.py +132 -0
- huaweicloudsdkdwr/v3/model/update_my_action_template_response.py +270 -0
- huaweicloudsdkdwr/v3/model/update_my_action_template_to_deprecated_request.py +107 -0
- huaweicloudsdkdwr/v3/model/update_my_action_template_to_deprecated_response.py +133 -0
- huaweicloudsdkdwr/v3/model/update_workflow_body.py +108 -0
- huaweicloudsdkdwr/v3/model/update_workflow_request.py +132 -0
- huaweicloudsdkdwr/v3/model/update_workflow_response.py +270 -0
- huaweicloudsdkdwr/v3/region/__init__.py +0 -0
- huaweicloudsdkdwr/v3/region/dwr_region.py +43 -0
- huaweicloudsdkdwr-3.1.181.dist-info/METADATA +25 -0
- huaweicloudsdkdwr-3.1.181.dist-info/RECORD +174 -0
- huaweicloudsdkdwr-3.1.181.dist-info/WHEEL +4 -0
- huaweicloudsdkdwr-3.1.181.dist-info/licenses/LICENSE +13 -0
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
|
4
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class ShowPublicActionListResponse(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
|
+
'count': 'int',
|
|
20
|
+
'action_templates': 'list[PublicTemplateItem]',
|
|
21
|
+
'total': 'int',
|
|
22
|
+
'is_truncated': 'bool',
|
|
23
|
+
'offset': 'int',
|
|
24
|
+
'x_request_id': 'str',
|
|
25
|
+
'connection': 'str',
|
|
26
|
+
'content_length': 'str',
|
|
27
|
+
'date': 'str'
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
attribute_map = {
|
|
31
|
+
'count': 'count',
|
|
32
|
+
'action_templates': 'action_templates',
|
|
33
|
+
'total': 'total',
|
|
34
|
+
'is_truncated': 'is_truncated',
|
|
35
|
+
'offset': 'offset',
|
|
36
|
+
'x_request_id': 'X-request-id',
|
|
37
|
+
'connection': 'Connection',
|
|
38
|
+
'content_length': 'Content-Length',
|
|
39
|
+
'date': 'Date'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
def __init__(self, count=None, action_templates=None, total=None, is_truncated=None, offset=None, x_request_id=None, connection=None, content_length=None, date=None):
|
|
43
|
+
r"""ShowPublicActionListResponse
|
|
44
|
+
|
|
45
|
+
The model defined in huaweicloud sdk
|
|
46
|
+
|
|
47
|
+
:param count: 列表条目数
|
|
48
|
+
:type count: int
|
|
49
|
+
:param action_templates: 模板列表信息
|
|
50
|
+
:type action_templates: list[:class:`huaweicloudsdkdwr.v3.PublicTemplateItem`]
|
|
51
|
+
:param total: 列表总条目数
|
|
52
|
+
:type total: int
|
|
53
|
+
:param is_truncated: 是否为分页返回
|
|
54
|
+
:type is_truncated: bool
|
|
55
|
+
:param offset: 下次查询的起始位置
|
|
56
|
+
:type offset: int
|
|
57
|
+
:param x_request_id:
|
|
58
|
+
:type x_request_id: str
|
|
59
|
+
:param connection:
|
|
60
|
+
:type connection: str
|
|
61
|
+
:param content_length:
|
|
62
|
+
:type content_length: str
|
|
63
|
+
:param date:
|
|
64
|
+
:type date: str
|
|
65
|
+
"""
|
|
66
|
+
|
|
67
|
+
super().__init__()
|
|
68
|
+
|
|
69
|
+
self._count = None
|
|
70
|
+
self._action_templates = None
|
|
71
|
+
self._total = None
|
|
72
|
+
self._is_truncated = None
|
|
73
|
+
self._offset = None
|
|
74
|
+
self._x_request_id = None
|
|
75
|
+
self._connection = None
|
|
76
|
+
self._content_length = None
|
|
77
|
+
self._date = None
|
|
78
|
+
self.discriminator = None
|
|
79
|
+
|
|
80
|
+
if count is not None:
|
|
81
|
+
self.count = count
|
|
82
|
+
if action_templates is not None:
|
|
83
|
+
self.action_templates = action_templates
|
|
84
|
+
if total is not None:
|
|
85
|
+
self.total = total
|
|
86
|
+
if is_truncated is not None:
|
|
87
|
+
self.is_truncated = is_truncated
|
|
88
|
+
if offset is not None:
|
|
89
|
+
self.offset = offset
|
|
90
|
+
if x_request_id is not None:
|
|
91
|
+
self.x_request_id = x_request_id
|
|
92
|
+
if connection is not None:
|
|
93
|
+
self.connection = connection
|
|
94
|
+
if content_length is not None:
|
|
95
|
+
self.content_length = content_length
|
|
96
|
+
if date is not None:
|
|
97
|
+
self.date = date
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
def count(self):
|
|
101
|
+
r"""Gets the count of this ShowPublicActionListResponse.
|
|
102
|
+
|
|
103
|
+
列表条目数
|
|
104
|
+
|
|
105
|
+
:return: The count of this ShowPublicActionListResponse.
|
|
106
|
+
:rtype: int
|
|
107
|
+
"""
|
|
108
|
+
return self._count
|
|
109
|
+
|
|
110
|
+
@count.setter
|
|
111
|
+
def count(self, count):
|
|
112
|
+
r"""Sets the count of this ShowPublicActionListResponse.
|
|
113
|
+
|
|
114
|
+
列表条目数
|
|
115
|
+
|
|
116
|
+
:param count: The count of this ShowPublicActionListResponse.
|
|
117
|
+
:type count: int
|
|
118
|
+
"""
|
|
119
|
+
self._count = count
|
|
120
|
+
|
|
121
|
+
@property
|
|
122
|
+
def action_templates(self):
|
|
123
|
+
r"""Gets the action_templates of this ShowPublicActionListResponse.
|
|
124
|
+
|
|
125
|
+
模板列表信息
|
|
126
|
+
|
|
127
|
+
:return: The action_templates of this ShowPublicActionListResponse.
|
|
128
|
+
:rtype: list[:class:`huaweicloudsdkdwr.v3.PublicTemplateItem`]
|
|
129
|
+
"""
|
|
130
|
+
return self._action_templates
|
|
131
|
+
|
|
132
|
+
@action_templates.setter
|
|
133
|
+
def action_templates(self, action_templates):
|
|
134
|
+
r"""Sets the action_templates of this ShowPublicActionListResponse.
|
|
135
|
+
|
|
136
|
+
模板列表信息
|
|
137
|
+
|
|
138
|
+
:param action_templates: The action_templates of this ShowPublicActionListResponse.
|
|
139
|
+
:type action_templates: list[:class:`huaweicloudsdkdwr.v3.PublicTemplateItem`]
|
|
140
|
+
"""
|
|
141
|
+
self._action_templates = action_templates
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
def total(self):
|
|
145
|
+
r"""Gets the total of this ShowPublicActionListResponse.
|
|
146
|
+
|
|
147
|
+
列表总条目数
|
|
148
|
+
|
|
149
|
+
:return: The total of this ShowPublicActionListResponse.
|
|
150
|
+
:rtype: int
|
|
151
|
+
"""
|
|
152
|
+
return self._total
|
|
153
|
+
|
|
154
|
+
@total.setter
|
|
155
|
+
def total(self, total):
|
|
156
|
+
r"""Sets the total of this ShowPublicActionListResponse.
|
|
157
|
+
|
|
158
|
+
列表总条目数
|
|
159
|
+
|
|
160
|
+
:param total: The total of this ShowPublicActionListResponse.
|
|
161
|
+
:type total: int
|
|
162
|
+
"""
|
|
163
|
+
self._total = total
|
|
164
|
+
|
|
165
|
+
@property
|
|
166
|
+
def is_truncated(self):
|
|
167
|
+
r"""Gets the is_truncated of this ShowPublicActionListResponse.
|
|
168
|
+
|
|
169
|
+
是否为分页返回
|
|
170
|
+
|
|
171
|
+
:return: The is_truncated of this ShowPublicActionListResponse.
|
|
172
|
+
:rtype: bool
|
|
173
|
+
"""
|
|
174
|
+
return self._is_truncated
|
|
175
|
+
|
|
176
|
+
@is_truncated.setter
|
|
177
|
+
def is_truncated(self, is_truncated):
|
|
178
|
+
r"""Sets the is_truncated of this ShowPublicActionListResponse.
|
|
179
|
+
|
|
180
|
+
是否为分页返回
|
|
181
|
+
|
|
182
|
+
:param is_truncated: The is_truncated of this ShowPublicActionListResponse.
|
|
183
|
+
:type is_truncated: bool
|
|
184
|
+
"""
|
|
185
|
+
self._is_truncated = is_truncated
|
|
186
|
+
|
|
187
|
+
@property
|
|
188
|
+
def offset(self):
|
|
189
|
+
r"""Gets the offset of this ShowPublicActionListResponse.
|
|
190
|
+
|
|
191
|
+
下次查询的起始位置
|
|
192
|
+
|
|
193
|
+
:return: The offset of this ShowPublicActionListResponse.
|
|
194
|
+
:rtype: int
|
|
195
|
+
"""
|
|
196
|
+
return self._offset
|
|
197
|
+
|
|
198
|
+
@offset.setter
|
|
199
|
+
def offset(self, offset):
|
|
200
|
+
r"""Sets the offset of this ShowPublicActionListResponse.
|
|
201
|
+
|
|
202
|
+
下次查询的起始位置
|
|
203
|
+
|
|
204
|
+
:param offset: The offset of this ShowPublicActionListResponse.
|
|
205
|
+
:type offset: int
|
|
206
|
+
"""
|
|
207
|
+
self._offset = offset
|
|
208
|
+
|
|
209
|
+
@property
|
|
210
|
+
def x_request_id(self):
|
|
211
|
+
r"""Gets the x_request_id of this ShowPublicActionListResponse.
|
|
212
|
+
|
|
213
|
+
:return: The x_request_id of this ShowPublicActionListResponse.
|
|
214
|
+
:rtype: str
|
|
215
|
+
"""
|
|
216
|
+
return self._x_request_id
|
|
217
|
+
|
|
218
|
+
@x_request_id.setter
|
|
219
|
+
def x_request_id(self, x_request_id):
|
|
220
|
+
r"""Sets the x_request_id of this ShowPublicActionListResponse.
|
|
221
|
+
|
|
222
|
+
:param x_request_id: The x_request_id of this ShowPublicActionListResponse.
|
|
223
|
+
:type x_request_id: str
|
|
224
|
+
"""
|
|
225
|
+
self._x_request_id = x_request_id
|
|
226
|
+
|
|
227
|
+
@property
|
|
228
|
+
def connection(self):
|
|
229
|
+
r"""Gets the connection of this ShowPublicActionListResponse.
|
|
230
|
+
|
|
231
|
+
:return: The connection of this ShowPublicActionListResponse.
|
|
232
|
+
:rtype: str
|
|
233
|
+
"""
|
|
234
|
+
return self._connection
|
|
235
|
+
|
|
236
|
+
@connection.setter
|
|
237
|
+
def connection(self, connection):
|
|
238
|
+
r"""Sets the connection of this ShowPublicActionListResponse.
|
|
239
|
+
|
|
240
|
+
:param connection: The connection of this ShowPublicActionListResponse.
|
|
241
|
+
:type connection: str
|
|
242
|
+
"""
|
|
243
|
+
self._connection = connection
|
|
244
|
+
|
|
245
|
+
@property
|
|
246
|
+
def content_length(self):
|
|
247
|
+
r"""Gets the content_length of this ShowPublicActionListResponse.
|
|
248
|
+
|
|
249
|
+
:return: The content_length of this ShowPublicActionListResponse.
|
|
250
|
+
:rtype: str
|
|
251
|
+
"""
|
|
252
|
+
return self._content_length
|
|
253
|
+
|
|
254
|
+
@content_length.setter
|
|
255
|
+
def content_length(self, content_length):
|
|
256
|
+
r"""Sets the content_length of this ShowPublicActionListResponse.
|
|
257
|
+
|
|
258
|
+
:param content_length: The content_length of this ShowPublicActionListResponse.
|
|
259
|
+
:type content_length: str
|
|
260
|
+
"""
|
|
261
|
+
self._content_length = content_length
|
|
262
|
+
|
|
263
|
+
@property
|
|
264
|
+
def date(self):
|
|
265
|
+
r"""Gets the date of this ShowPublicActionListResponse.
|
|
266
|
+
|
|
267
|
+
:return: The date of this ShowPublicActionListResponse.
|
|
268
|
+
:rtype: str
|
|
269
|
+
"""
|
|
270
|
+
return self._date
|
|
271
|
+
|
|
272
|
+
@date.setter
|
|
273
|
+
def date(self, date):
|
|
274
|
+
r"""Sets the date of this ShowPublicActionListResponse.
|
|
275
|
+
|
|
276
|
+
:param date: The date of this ShowPublicActionListResponse.
|
|
277
|
+
:type date: str
|
|
278
|
+
"""
|
|
279
|
+
self._date = date
|
|
280
|
+
|
|
281
|
+
def to_dict(self):
|
|
282
|
+
import warnings
|
|
283
|
+
warnings.warn("ShowPublicActionListResponse.to_dict() is deprecated and no longer maintained, "
|
|
284
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
285
|
+
result = {}
|
|
286
|
+
|
|
287
|
+
for attr, _ in self.openapi_types.items():
|
|
288
|
+
value = getattr(self, attr)
|
|
289
|
+
if isinstance(value, list):
|
|
290
|
+
result[attr] = list(map(
|
|
291
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
292
|
+
value
|
|
293
|
+
))
|
|
294
|
+
elif hasattr(value, "to_dict"):
|
|
295
|
+
result[attr] = value.to_dict()
|
|
296
|
+
elif isinstance(value, dict):
|
|
297
|
+
result[attr] = dict(map(
|
|
298
|
+
lambda item: (item[0], item[1].to_dict())
|
|
299
|
+
if hasattr(item[1], "to_dict") else item,
|
|
300
|
+
value.items()
|
|
301
|
+
))
|
|
302
|
+
else:
|
|
303
|
+
if attr in self.sensitive_list:
|
|
304
|
+
result[attr] = "****"
|
|
305
|
+
else:
|
|
306
|
+
result[attr] = value
|
|
307
|
+
|
|
308
|
+
return result
|
|
309
|
+
|
|
310
|
+
def to_str(self):
|
|
311
|
+
"""Returns the string representation of the model"""
|
|
312
|
+
import simplejson as json
|
|
313
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
314
|
+
|
|
315
|
+
def __repr__(self):
|
|
316
|
+
"""For `print`"""
|
|
317
|
+
return self.to_str()
|
|
318
|
+
|
|
319
|
+
def __eq__(self, other):
|
|
320
|
+
"""Returns true if both objects are equal"""
|
|
321
|
+
if not isinstance(other, ShowPublicActionListResponse):
|
|
322
|
+
return False
|
|
323
|
+
|
|
324
|
+
return self.__dict__ == other.__dict__
|
|
325
|
+
|
|
326
|
+
def __ne__(self, other):
|
|
327
|
+
"""Returns true if both objects are not equal"""
|
|
328
|
+
return not self == other
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class ShowPublicTemplateInfoRequest:
|
|
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
|
+
'template_name': 'str'
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
attribute_map = {
|
|
22
|
+
'template_name': 'template_name'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
def __init__(self, template_name=None):
|
|
26
|
+
r"""ShowPublicTemplateInfoRequest
|
|
27
|
+
|
|
28
|
+
The model defined in huaweicloud sdk
|
|
29
|
+
|
|
30
|
+
:param template_name: 模板名称。
|
|
31
|
+
:type template_name: str
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
self._template_name = None
|
|
37
|
+
self.discriminator = None
|
|
38
|
+
|
|
39
|
+
self.template_name = template_name
|
|
40
|
+
|
|
41
|
+
@property
|
|
42
|
+
def template_name(self):
|
|
43
|
+
r"""Gets the template_name of this ShowPublicTemplateInfoRequest.
|
|
44
|
+
|
|
45
|
+
模板名称。
|
|
46
|
+
|
|
47
|
+
:return: The template_name of this ShowPublicTemplateInfoRequest.
|
|
48
|
+
:rtype: str
|
|
49
|
+
"""
|
|
50
|
+
return self._template_name
|
|
51
|
+
|
|
52
|
+
@template_name.setter
|
|
53
|
+
def template_name(self, template_name):
|
|
54
|
+
r"""Sets the template_name of this ShowPublicTemplateInfoRequest.
|
|
55
|
+
|
|
56
|
+
模板名称。
|
|
57
|
+
|
|
58
|
+
:param template_name: The template_name of this ShowPublicTemplateInfoRequest.
|
|
59
|
+
:type template_name: str
|
|
60
|
+
"""
|
|
61
|
+
self._template_name = template_name
|
|
62
|
+
|
|
63
|
+
def to_dict(self):
|
|
64
|
+
result = {}
|
|
65
|
+
|
|
66
|
+
for attr, _ in self.openapi_types.items():
|
|
67
|
+
value = getattr(self, attr)
|
|
68
|
+
if isinstance(value, list):
|
|
69
|
+
result[attr] = list(map(
|
|
70
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
71
|
+
value
|
|
72
|
+
))
|
|
73
|
+
elif hasattr(value, "to_dict"):
|
|
74
|
+
result[attr] = value.to_dict()
|
|
75
|
+
elif isinstance(value, dict):
|
|
76
|
+
result[attr] = dict(map(
|
|
77
|
+
lambda item: (item[0], item[1].to_dict())
|
|
78
|
+
if hasattr(item[1], "to_dict") else item,
|
|
79
|
+
value.items()
|
|
80
|
+
))
|
|
81
|
+
else:
|
|
82
|
+
if attr in self.sensitive_list:
|
|
83
|
+
result[attr] = "****"
|
|
84
|
+
else:
|
|
85
|
+
result[attr] = value
|
|
86
|
+
|
|
87
|
+
return result
|
|
88
|
+
|
|
89
|
+
def to_str(self):
|
|
90
|
+
"""Returns the string representation of the model"""
|
|
91
|
+
import simplejson as json
|
|
92
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
93
|
+
|
|
94
|
+
def __repr__(self):
|
|
95
|
+
"""For `print`"""
|
|
96
|
+
return self.to_str()
|
|
97
|
+
|
|
98
|
+
def __eq__(self, other):
|
|
99
|
+
"""Returns true if both objects are equal"""
|
|
100
|
+
if not isinstance(other, ShowPublicTemplateInfoRequest):
|
|
101
|
+
return False
|
|
102
|
+
|
|
103
|
+
return self.__dict__ == other.__dict__
|
|
104
|
+
|
|
105
|
+
def __ne__(self, other):
|
|
106
|
+
"""Returns true if both objects are not equal"""
|
|
107
|
+
return not self == other
|
|
@@ -0,0 +1,208 @@
|
|
|
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 ShowPublicTemplateInfoResponse(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
|
+
'provided_actions': 'ProvidedAction',
|
|
20
|
+
'x_request_id': 'str',
|
|
21
|
+
'connection': 'str',
|
|
22
|
+
'content_length': 'str',
|
|
23
|
+
'date': 'str'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
attribute_map = {
|
|
27
|
+
'provided_actions': 'provided_actions',
|
|
28
|
+
'x_request_id': 'X-request-id',
|
|
29
|
+
'connection': 'Connection',
|
|
30
|
+
'content_length': 'Content-Length',
|
|
31
|
+
'date': 'Date'
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
def __init__(self, provided_actions=None, x_request_id=None, connection=None, content_length=None, date=None):
|
|
35
|
+
r"""ShowPublicTemplateInfoResponse
|
|
36
|
+
|
|
37
|
+
The model defined in huaweicloud sdk
|
|
38
|
+
|
|
39
|
+
:param provided_actions:
|
|
40
|
+
:type provided_actions: :class:`huaweicloudsdkdwr.v3.ProvidedAction`
|
|
41
|
+
:param x_request_id:
|
|
42
|
+
:type x_request_id: str
|
|
43
|
+
:param connection:
|
|
44
|
+
:type connection: str
|
|
45
|
+
:param content_length:
|
|
46
|
+
:type content_length: str
|
|
47
|
+
:param date:
|
|
48
|
+
:type date: str
|
|
49
|
+
"""
|
|
50
|
+
|
|
51
|
+
super().__init__()
|
|
52
|
+
|
|
53
|
+
self._provided_actions = None
|
|
54
|
+
self._x_request_id = None
|
|
55
|
+
self._connection = None
|
|
56
|
+
self._content_length = None
|
|
57
|
+
self._date = None
|
|
58
|
+
self.discriminator = None
|
|
59
|
+
|
|
60
|
+
if provided_actions is not None:
|
|
61
|
+
self.provided_actions = provided_actions
|
|
62
|
+
if x_request_id is not None:
|
|
63
|
+
self.x_request_id = x_request_id
|
|
64
|
+
if connection is not None:
|
|
65
|
+
self.connection = connection
|
|
66
|
+
if content_length is not None:
|
|
67
|
+
self.content_length = content_length
|
|
68
|
+
if date is not None:
|
|
69
|
+
self.date = date
|
|
70
|
+
|
|
71
|
+
@property
|
|
72
|
+
def provided_actions(self):
|
|
73
|
+
r"""Gets the provided_actions of this ShowPublicTemplateInfoResponse.
|
|
74
|
+
|
|
75
|
+
:return: The provided_actions of this ShowPublicTemplateInfoResponse.
|
|
76
|
+
:rtype: :class:`huaweicloudsdkdwr.v3.ProvidedAction`
|
|
77
|
+
"""
|
|
78
|
+
return self._provided_actions
|
|
79
|
+
|
|
80
|
+
@provided_actions.setter
|
|
81
|
+
def provided_actions(self, provided_actions):
|
|
82
|
+
r"""Sets the provided_actions of this ShowPublicTemplateInfoResponse.
|
|
83
|
+
|
|
84
|
+
:param provided_actions: The provided_actions of this ShowPublicTemplateInfoResponse.
|
|
85
|
+
:type provided_actions: :class:`huaweicloudsdkdwr.v3.ProvidedAction`
|
|
86
|
+
"""
|
|
87
|
+
self._provided_actions = provided_actions
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
def x_request_id(self):
|
|
91
|
+
r"""Gets the x_request_id of this ShowPublicTemplateInfoResponse.
|
|
92
|
+
|
|
93
|
+
:return: The x_request_id of this ShowPublicTemplateInfoResponse.
|
|
94
|
+
:rtype: str
|
|
95
|
+
"""
|
|
96
|
+
return self._x_request_id
|
|
97
|
+
|
|
98
|
+
@x_request_id.setter
|
|
99
|
+
def x_request_id(self, x_request_id):
|
|
100
|
+
r"""Sets the x_request_id of this ShowPublicTemplateInfoResponse.
|
|
101
|
+
|
|
102
|
+
:param x_request_id: The x_request_id of this ShowPublicTemplateInfoResponse.
|
|
103
|
+
:type x_request_id: str
|
|
104
|
+
"""
|
|
105
|
+
self._x_request_id = x_request_id
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def connection(self):
|
|
109
|
+
r"""Gets the connection of this ShowPublicTemplateInfoResponse.
|
|
110
|
+
|
|
111
|
+
:return: The connection of this ShowPublicTemplateInfoResponse.
|
|
112
|
+
:rtype: str
|
|
113
|
+
"""
|
|
114
|
+
return self._connection
|
|
115
|
+
|
|
116
|
+
@connection.setter
|
|
117
|
+
def connection(self, connection):
|
|
118
|
+
r"""Sets the connection of this ShowPublicTemplateInfoResponse.
|
|
119
|
+
|
|
120
|
+
:param connection: The connection of this ShowPublicTemplateInfoResponse.
|
|
121
|
+
:type connection: str
|
|
122
|
+
"""
|
|
123
|
+
self._connection = connection
|
|
124
|
+
|
|
125
|
+
@property
|
|
126
|
+
def content_length(self):
|
|
127
|
+
r"""Gets the content_length of this ShowPublicTemplateInfoResponse.
|
|
128
|
+
|
|
129
|
+
:return: The content_length of this ShowPublicTemplateInfoResponse.
|
|
130
|
+
:rtype: str
|
|
131
|
+
"""
|
|
132
|
+
return self._content_length
|
|
133
|
+
|
|
134
|
+
@content_length.setter
|
|
135
|
+
def content_length(self, content_length):
|
|
136
|
+
r"""Sets the content_length of this ShowPublicTemplateInfoResponse.
|
|
137
|
+
|
|
138
|
+
:param content_length: The content_length of this ShowPublicTemplateInfoResponse.
|
|
139
|
+
:type content_length: str
|
|
140
|
+
"""
|
|
141
|
+
self._content_length = content_length
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
def date(self):
|
|
145
|
+
r"""Gets the date of this ShowPublicTemplateInfoResponse.
|
|
146
|
+
|
|
147
|
+
:return: The date of this ShowPublicTemplateInfoResponse.
|
|
148
|
+
:rtype: str
|
|
149
|
+
"""
|
|
150
|
+
return self._date
|
|
151
|
+
|
|
152
|
+
@date.setter
|
|
153
|
+
def date(self, date):
|
|
154
|
+
r"""Sets the date of this ShowPublicTemplateInfoResponse.
|
|
155
|
+
|
|
156
|
+
:param date: The date of this ShowPublicTemplateInfoResponse.
|
|
157
|
+
:type date: str
|
|
158
|
+
"""
|
|
159
|
+
self._date = date
|
|
160
|
+
|
|
161
|
+
def to_dict(self):
|
|
162
|
+
import warnings
|
|
163
|
+
warnings.warn("ShowPublicTemplateInfoResponse.to_dict() is deprecated and no longer maintained, "
|
|
164
|
+
"use to_json_object() to get the response content.", DeprecationWarning)
|
|
165
|
+
result = {}
|
|
166
|
+
|
|
167
|
+
for attr, _ in self.openapi_types.items():
|
|
168
|
+
value = getattr(self, attr)
|
|
169
|
+
if isinstance(value, list):
|
|
170
|
+
result[attr] = list(map(
|
|
171
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
172
|
+
value
|
|
173
|
+
))
|
|
174
|
+
elif hasattr(value, "to_dict"):
|
|
175
|
+
result[attr] = value.to_dict()
|
|
176
|
+
elif isinstance(value, dict):
|
|
177
|
+
result[attr] = dict(map(
|
|
178
|
+
lambda item: (item[0], item[1].to_dict())
|
|
179
|
+
if hasattr(item[1], "to_dict") else item,
|
|
180
|
+
value.items()
|
|
181
|
+
))
|
|
182
|
+
else:
|
|
183
|
+
if attr in self.sensitive_list:
|
|
184
|
+
result[attr] = "****"
|
|
185
|
+
else:
|
|
186
|
+
result[attr] = value
|
|
187
|
+
|
|
188
|
+
return result
|
|
189
|
+
|
|
190
|
+
def to_str(self):
|
|
191
|
+
"""Returns the string representation of the model"""
|
|
192
|
+
import simplejson as json
|
|
193
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
194
|
+
|
|
195
|
+
def __repr__(self):
|
|
196
|
+
"""For `print`"""
|
|
197
|
+
return self.to_str()
|
|
198
|
+
|
|
199
|
+
def __eq__(self, other):
|
|
200
|
+
"""Returns true if both objects are equal"""
|
|
201
|
+
if not isinstance(other, ShowPublicTemplateInfoResponse):
|
|
202
|
+
return False
|
|
203
|
+
|
|
204
|
+
return self.__dict__ == other.__dict__
|
|
205
|
+
|
|
206
|
+
def __ne__(self, other):
|
|
207
|
+
"""Returns true if both objects are not equal"""
|
|
208
|
+
return not self == other
|