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.
- huaweicloudsdkdwr/__init__.py +0 -0
- huaweicloudsdkdwr/v1/__init__.py +93 -0
- huaweicloudsdkdwr/v1/dwr_async_client.py +1519 -0
- huaweicloudsdkdwr/v1/dwr_client.py +1516 -0
- huaweicloudsdkdwr/v1/model/__init__.py +90 -0
- huaweicloudsdkdwr/v1/model/build_progress.py +231 -0
- huaweicloudsdkdwr/v1/model/charge_info.py +230 -0
- huaweicloudsdkdwr/v1/model/collection_base_info.py +142 -0
- huaweicloudsdkdwr/v1/model/create_collection_body.py +281 -0
- huaweicloudsdkdwr/v1/model/create_collection_request.py +111 -0
- huaweicloudsdkdwr/v1/model/create_collection_response.py +145 -0
- huaweicloudsdkdwr/v1/model/create_index_body.py +166 -0
- huaweicloudsdkdwr/v1/model/create_index_request.py +111 -0
- huaweicloudsdkdwr/v1/model/create_index_response.py +145 -0
- huaweicloudsdkdwr/v1/model/create_store_body.py +248 -0
- huaweicloudsdkdwr/v1/model/create_store_data.py +335 -0
- huaweicloudsdkdwr/v1/model/create_store_request.py +111 -0
- huaweicloudsdkdwr/v1/model/create_store_response.py +170 -0
- huaweicloudsdkdwr/v1/model/decribe_collection_data.py +344 -0
- huaweicloudsdkdwr/v1/model/delete_collection_request.py +111 -0
- huaweicloudsdkdwr/v1/model/delete_collection_response.py +145 -0
- huaweicloudsdkdwr/v1/model/delete_entities_body.py +170 -0
- huaweicloudsdkdwr/v1/model/delete_entities_request.py +111 -0
- huaweicloudsdkdwr/v1/model/delete_entities_response.py +145 -0
- huaweicloudsdkdwr/v1/model/delete_index_body.py +170 -0
- huaweicloudsdkdwr/v1/model/delete_index_request.py +111 -0
- huaweicloudsdkdwr/v1/model/delete_index_response.py +145 -0
- huaweicloudsdkdwr/v1/model/delete_store_data.py +114 -0
- huaweicloudsdkdwr/v1/model/delete_store_request.py +111 -0
- huaweicloudsdkdwr/v1/model/delete_store_response.py +170 -0
- huaweicloudsdkdwr/v1/model/describe_collection_request.py +111 -0
- huaweicloudsdkdwr/v1/model/describe_collection_response.py +170 -0
- huaweicloudsdkdwr/v1/model/describe_index_body.py +170 -0
- huaweicloudsdkdwr/v1/model/describe_index_data.py +166 -0
- huaweicloudsdkdwr/v1/model/describe_index_request.py +111 -0
- huaweicloudsdkdwr/v1/model/describe_index_response.py +170 -0
- huaweicloudsdkdwr/v1/model/describe_job_body.py +114 -0
- huaweicloudsdkdwr/v1/model/describe_job_request.py +111 -0
- huaweicloudsdkdwr/v1/model/describe_job_response.py +170 -0
- huaweicloudsdkdwr/v1/model/describe_store_request.py +111 -0
- huaweicloudsdkdwr/v1/model/describe_store_response.py +170 -0
- huaweicloudsdkdwr/v1/model/entities_data.py +114 -0
- huaweicloudsdkdwr/v1/model/field.py +229 -0
- huaweicloudsdkdwr/v1/model/field_data.py +285 -0
- huaweicloudsdkdwr/v1/model/flavor.py +142 -0
- huaweicloudsdkdwr/v1/model/get_index_progress_body.py +170 -0
- huaweicloudsdkdwr/v1/model/get_progress_data.py +167 -0
- huaweicloudsdkdwr/v1/model/get_progress_request.py +111 -0
- huaweicloudsdkdwr/v1/model/get_progress_response.py +170 -0
- huaweicloudsdkdwr/v1/model/hybrid_search_body.py +282 -0
- huaweicloudsdkdwr/v1/model/hybrid_search_request.py +111 -0
- huaweicloudsdkdwr/v1/model/hybrid_search_response.py +170 -0
- huaweicloudsdkdwr/v1/model/index_desc.py +198 -0
- huaweicloudsdkdwr/v1/model/index_params.py +171 -0
- huaweicloudsdkdwr/v1/model/insert_entities_body.py +170 -0
- huaweicloudsdkdwr/v1/model/insert_entities_data.py +143 -0
- huaweicloudsdkdwr/v1/model/insert_entities_request.py +111 -0
- huaweicloudsdkdwr/v1/model/insert_entities_response.py +170 -0
- huaweicloudsdkdwr/v1/model/job_data.py +316 -0
- huaweicloudsdkdwr/v1/model/list_collection_data.py +143 -0
- huaweicloudsdkdwr/v1/model/list_collection_details.py +260 -0
- huaweicloudsdkdwr/v1/model/list_collections_body.py +143 -0
- huaweicloudsdkdwr/v1/model/list_collections_request.py +111 -0
- huaweicloudsdkdwr/v1/model/list_collections_response.py +170 -0
- huaweicloudsdkdwr/v1/model/list_jobs_data.py +115 -0
- huaweicloudsdkdwr/v1/model/list_jobs_request.py +231 -0
- huaweicloudsdkdwr/v1/model/list_jobs_response.py +170 -0
- huaweicloudsdkdwr/v1/model/list_store_data.py +114 -0
- huaweicloudsdkdwr/v1/model/list_stores_request.py +84 -0
- huaweicloudsdkdwr/v1/model/list_stores_response.py +170 -0
- huaweicloudsdkdwr/v1/model/load_collection_body.py +142 -0
- huaweicloudsdkdwr/v1/model/load_collection_request.py +111 -0
- huaweicloudsdkdwr/v1/model/load_collection_response.py +145 -0
- huaweicloudsdkdwr/v1/model/primary_field.py +142 -0
- huaweicloudsdkdwr/v1/model/query_entities_body.py +257 -0
- huaweicloudsdkdwr/v1/model/query_entities_request.py +111 -0
- huaweicloudsdkdwr/v1/model/query_entities_response.py +170 -0
- huaweicloudsdkdwr/v1/model/release_collection_request.py +111 -0
- huaweicloudsdkdwr/v1/model/release_collection_response.py +145 -0
- huaweicloudsdkdwr/v1/model/rerank.py +143 -0
- huaweicloudsdkdwr/v1/model/search_entities_body.py +343 -0
- huaweicloudsdkdwr/v1/model/search_entities_request.py +111 -0
- huaweicloudsdkdwr/v1/model/search_entities_response.py +170 -0
- huaweicloudsdkdwr/v1/model/store_data.py +364 -0
- huaweicloudsdkdwr/v1/model/store_info.py +114 -0
- huaweicloudsdkdwr/v1/model/sub_search.py +258 -0
- huaweicloudsdkdwr/v1/model/upsert_entities_body.py +170 -0
- huaweicloudsdkdwr/v1/model/upsert_entities_data.py +142 -0
- huaweicloudsdkdwr/v1/model/upsert_entities_request.py +111 -0
- huaweicloudsdkdwr/v1/model/upsert_entities_response.py +170 -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 +114 -0
- huaweicloudsdkdwr/v3/model/accept_service_contract_response.py +137 -0
- huaweicloudsdkdwr/v3/model/action.py +427 -0
- huaweicloudsdkdwr/v3/model/action_result.py +228 -0
- huaweicloudsdkdwr/v3/model/action_template_item.py +144 -0
- huaweicloudsdkdwr/v3/model/async_invoke_api_start_workflow_request.py +139 -0
- huaweicloudsdkdwr/v3/model/async_invoke_api_start_workflow_response.py +274 -0
- huaweicloudsdkdwr/v3/model/check_workflow_authentication_request.py +84 -0
- huaweicloudsdkdwr/v3/model/check_workflow_authentication_response.py +477 -0
- huaweicloudsdkdwr/v3/model/create_my_action_template_request.py +139 -0
- huaweicloudsdkdwr/v3/model/create_my_action_template_response.py +419 -0
- huaweicloudsdkdwr/v3/model/create_workflow_authentication_request.py +84 -0
- huaweicloudsdkdwr/v3/model/create_workflow_authentication_response.py +137 -0
- huaweicloudsdkdwr/v3/model/create_workflow_request.py +139 -0
- huaweicloudsdkdwr/v3/model/create_workflow_request_body.py +281 -0
- huaweicloudsdkdwr/v3/model/create_workflow_response.py +274 -0
- huaweicloudsdkdwr/v3/model/delete_my_action_template_request.py +114 -0
- huaweicloudsdkdwr/v3/model/delete_my_action_template_response.py +137 -0
- huaweicloudsdkdwr/v3/model/delete_workflow_request.py +114 -0
- huaweicloudsdkdwr/v3/model/delete_workflow_response.py +137 -0
- huaweicloudsdkdwr/v3/model/execute_workflow_body.py +167 -0
- huaweicloudsdkdwr/v3/model/execution.py +289 -0
- huaweicloudsdkdwr/v3/model/express_config.py +144 -0
- huaweicloudsdkdwr/v3/model/func_vpc.py +260 -0
- huaweicloudsdkdwr/v3/model/graph_item.py +202 -0
- huaweicloudsdkdwr/v3/model/input.py +370 -0
- huaweicloudsdkdwr/v3/model/input_para_type.py +84 -0
- huaweicloudsdkdwr/v3/model/input_para_value_type.py +89 -0
- huaweicloudsdkdwr/v3/model/list_my_action_template_request.py +231 -0
- huaweicloudsdkdwr/v3/model/list_my_action_template_response.py +303 -0
- huaweicloudsdkdwr/v3/model/list_system_templates_request.py +202 -0
- huaweicloudsdkdwr/v3/model/list_system_templates_response.py +332 -0
- huaweicloudsdkdwr/v3/model/list_workflow_instance_request.py +259 -0
- huaweicloudsdkdwr/v3/model/list_workflow_instance_response.py +303 -0
- huaweicloudsdkdwr/v3/model/list_workflows_request.py +173 -0
- huaweicloudsdkdwr/v3/model/list_workflows_response.py +303 -0
- huaweicloudsdkdwr/v3/model/node_execution.py +289 -0
- huaweicloudsdkdwr/v3/model/policy.py +144 -0
- huaweicloudsdkdwr/v3/model/provided_action.py +564 -0
- huaweicloudsdkdwr/v3/model/public_template_item.py +285 -0
- huaweicloudsdkdwr/v3/model/public_template_register_type.py +87 -0
- huaweicloudsdkdwr/v3/model/restore_workflow_execution_request.py +142 -0
- huaweicloudsdkdwr/v3/model/restore_workflow_execution_response.py +274 -0
- huaweicloudsdkdwr/v3/model/show_public_action_list_request.py +202 -0
- huaweicloudsdkdwr/v3/model/show_public_action_list_response.py +332 -0
- huaweicloudsdkdwr/v3/model/show_public_template_info_request.py +114 -0
- huaweicloudsdkdwr/v3/model/show_public_template_info_response.py +212 -0
- huaweicloudsdkdwr/v3/model/show_service_contract_request.py +114 -0
- huaweicloudsdkdwr/v3/model/show_service_contract_response.py +245 -0
- huaweicloudsdkdwr/v3/model/show_system_template_detail_request.py +114 -0
- huaweicloudsdkdwr/v3/model/show_system_template_detail_response.py +212 -0
- huaweicloudsdkdwr/v3/model/show_third_template_info_request.py +114 -0
- huaweicloudsdkdwr/v3/model/show_third_template_info_response.py +212 -0
- huaweicloudsdkdwr/v3/model/show_workflow_info_request.py +114 -0
- huaweicloudsdkdwr/v3/model/show_workflow_info_response.py +332 -0
- huaweicloudsdkdwr/v3/model/show_workflow_instance_request.py +142 -0
- huaweicloudsdkdwr/v3/model/show_workflow_instance_response.py +535 -0
- huaweicloudsdkdwr/v3/model/state.py +345 -0
- huaweicloudsdkdwr/v3/model/statement.py +144 -0
- huaweicloudsdkdwr/v3/model/third_action_template_item.py +285 -0
- huaweicloudsdkdwr/v3/model/third_template_request_body.py +430 -0
- huaweicloudsdkdwr/v3/model/update_my_action_template_request.py +139 -0
- huaweicloudsdkdwr/v3/model/update_my_action_template_response.py +274 -0
- huaweicloudsdkdwr/v3/model/update_my_action_template_to_deprecated_request.py +114 -0
- huaweicloudsdkdwr/v3/model/update_my_action_template_to_deprecated_response.py +137 -0
- huaweicloudsdkdwr/v3/model/update_workflow_body.py +115 -0
- huaweicloudsdkdwr/v3/model/update_workflow_request.py +139 -0
- huaweicloudsdkdwr/v3/model/update_workflow_response.py +274 -0
- huaweicloudsdkdwr/v3/region/__init__.py +0 -0
- huaweicloudsdkdwr/v3/region/dwr_region.py +43 -0
- huaweicloudsdkdwr-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdkdwr-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdkdwr-3.1.160.dist-info/RECORD +171 -0
- huaweicloudsdkdwr-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdkdwr-3.1.160.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ListCollectionDetails:
|
|
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
|
+
'collection_name': 'str',
|
|
21
|
+
'index_num': 'int',
|
|
22
|
+
'entity_num': 'int',
|
|
23
|
+
'load_state': 'str',
|
|
24
|
+
'create_time': 'str',
|
|
25
|
+
'description': 'str'
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
attribute_map = {
|
|
29
|
+
'collection_name': 'collection_name',
|
|
30
|
+
'index_num': 'index_num',
|
|
31
|
+
'entity_num': 'entity_num',
|
|
32
|
+
'load_state': 'load_state',
|
|
33
|
+
'create_time': 'create_time',
|
|
34
|
+
'description': 'description'
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
def __init__(self, collection_name=None, index_num=None, entity_num=None, load_state=None, create_time=None, description=None):
|
|
38
|
+
r"""ListCollectionDetails
|
|
39
|
+
|
|
40
|
+
The model defined in huaweicloud sdk
|
|
41
|
+
|
|
42
|
+
:param collection_name: **参数解释:** collection名称。 **约束限制:** 可包含数字、字母和下划线 (_)。资源名称必须以字母或下划线 (_) 开头。最大长度支持255。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
43
|
+
:type collection_name: str
|
|
44
|
+
:param index_num: **参数解释:** 索引数量。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
45
|
+
:type index_num: int
|
|
46
|
+
:param entity_num: **参数解释:** collection中的entity数量。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
47
|
+
:type entity_num: int
|
|
48
|
+
:param load_state: **参数解释:** 标识当前Collection加载状态。 **约束限制:** 不涉及。 **取值范围:** 1、LoadStateLoaded:表示当前Collection已准备就绪,可正常使用。 2、LoadStateLoading:表示当前Collection正在load。 3、LoadStateNotLoad:表示collection未加载。 **默认取值:** 不涉及。
|
|
49
|
+
:type load_state: str
|
|
50
|
+
:param create_time: **参数解释:** 创建时间。 **约束限制:** 格式为“yyyy-mm-ddThh:mm:ssZ\"。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
51
|
+
:type create_time: str
|
|
52
|
+
:param description: **参数解释:** collection的描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
53
|
+
:type description: str
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
self._collection_name = None
|
|
59
|
+
self._index_num = None
|
|
60
|
+
self._entity_num = None
|
|
61
|
+
self._load_state = None
|
|
62
|
+
self._create_time = None
|
|
63
|
+
self._description = None
|
|
64
|
+
self.discriminator = None
|
|
65
|
+
|
|
66
|
+
if collection_name is not None:
|
|
67
|
+
self.collection_name = collection_name
|
|
68
|
+
if index_num is not None:
|
|
69
|
+
self.index_num = index_num
|
|
70
|
+
if entity_num is not None:
|
|
71
|
+
self.entity_num = entity_num
|
|
72
|
+
if load_state is not None:
|
|
73
|
+
self.load_state = load_state
|
|
74
|
+
if create_time is not None:
|
|
75
|
+
self.create_time = create_time
|
|
76
|
+
if description is not None:
|
|
77
|
+
self.description = description
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
def collection_name(self):
|
|
81
|
+
r"""Gets the collection_name of this ListCollectionDetails.
|
|
82
|
+
|
|
83
|
+
**参数解释:** collection名称。 **约束限制:** 可包含数字、字母和下划线 (_)。资源名称必须以字母或下划线 (_) 开头。最大长度支持255。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
84
|
+
|
|
85
|
+
:return: The collection_name of this ListCollectionDetails.
|
|
86
|
+
:rtype: str
|
|
87
|
+
"""
|
|
88
|
+
return self._collection_name
|
|
89
|
+
|
|
90
|
+
@collection_name.setter
|
|
91
|
+
def collection_name(self, collection_name):
|
|
92
|
+
r"""Sets the collection_name of this ListCollectionDetails.
|
|
93
|
+
|
|
94
|
+
**参数解释:** collection名称。 **约束限制:** 可包含数字、字母和下划线 (_)。资源名称必须以字母或下划线 (_) 开头。最大长度支持255。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
95
|
+
|
|
96
|
+
:param collection_name: The collection_name of this ListCollectionDetails.
|
|
97
|
+
:type collection_name: str
|
|
98
|
+
"""
|
|
99
|
+
self._collection_name = collection_name
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def index_num(self):
|
|
103
|
+
r"""Gets the index_num of this ListCollectionDetails.
|
|
104
|
+
|
|
105
|
+
**参数解释:** 索引数量。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
106
|
+
|
|
107
|
+
:return: The index_num of this ListCollectionDetails.
|
|
108
|
+
:rtype: int
|
|
109
|
+
"""
|
|
110
|
+
return self._index_num
|
|
111
|
+
|
|
112
|
+
@index_num.setter
|
|
113
|
+
def index_num(self, index_num):
|
|
114
|
+
r"""Sets the index_num of this ListCollectionDetails.
|
|
115
|
+
|
|
116
|
+
**参数解释:** 索引数量。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
117
|
+
|
|
118
|
+
:param index_num: The index_num of this ListCollectionDetails.
|
|
119
|
+
:type index_num: int
|
|
120
|
+
"""
|
|
121
|
+
self._index_num = index_num
|
|
122
|
+
|
|
123
|
+
@property
|
|
124
|
+
def entity_num(self):
|
|
125
|
+
r"""Gets the entity_num of this ListCollectionDetails.
|
|
126
|
+
|
|
127
|
+
**参数解释:** collection中的entity数量。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
128
|
+
|
|
129
|
+
:return: The entity_num of this ListCollectionDetails.
|
|
130
|
+
:rtype: int
|
|
131
|
+
"""
|
|
132
|
+
return self._entity_num
|
|
133
|
+
|
|
134
|
+
@entity_num.setter
|
|
135
|
+
def entity_num(self, entity_num):
|
|
136
|
+
r"""Sets the entity_num of this ListCollectionDetails.
|
|
137
|
+
|
|
138
|
+
**参数解释:** collection中的entity数量。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
139
|
+
|
|
140
|
+
:param entity_num: The entity_num of this ListCollectionDetails.
|
|
141
|
+
:type entity_num: int
|
|
142
|
+
"""
|
|
143
|
+
self._entity_num = entity_num
|
|
144
|
+
|
|
145
|
+
@property
|
|
146
|
+
def load_state(self):
|
|
147
|
+
r"""Gets the load_state of this ListCollectionDetails.
|
|
148
|
+
|
|
149
|
+
**参数解释:** 标识当前Collection加载状态。 **约束限制:** 不涉及。 **取值范围:** 1、LoadStateLoaded:表示当前Collection已准备就绪,可正常使用。 2、LoadStateLoading:表示当前Collection正在load。 3、LoadStateNotLoad:表示collection未加载。 **默认取值:** 不涉及。
|
|
150
|
+
|
|
151
|
+
:return: The load_state of this ListCollectionDetails.
|
|
152
|
+
:rtype: str
|
|
153
|
+
"""
|
|
154
|
+
return self._load_state
|
|
155
|
+
|
|
156
|
+
@load_state.setter
|
|
157
|
+
def load_state(self, load_state):
|
|
158
|
+
r"""Sets the load_state of this ListCollectionDetails.
|
|
159
|
+
|
|
160
|
+
**参数解释:** 标识当前Collection加载状态。 **约束限制:** 不涉及。 **取值范围:** 1、LoadStateLoaded:表示当前Collection已准备就绪,可正常使用。 2、LoadStateLoading:表示当前Collection正在load。 3、LoadStateNotLoad:表示collection未加载。 **默认取值:** 不涉及。
|
|
161
|
+
|
|
162
|
+
:param load_state: The load_state of this ListCollectionDetails.
|
|
163
|
+
:type load_state: str
|
|
164
|
+
"""
|
|
165
|
+
self._load_state = load_state
|
|
166
|
+
|
|
167
|
+
@property
|
|
168
|
+
def create_time(self):
|
|
169
|
+
r"""Gets the create_time of this ListCollectionDetails.
|
|
170
|
+
|
|
171
|
+
**参数解释:** 创建时间。 **约束限制:** 格式为“yyyy-mm-ddThh:mm:ssZ\"。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
172
|
+
|
|
173
|
+
:return: The create_time of this ListCollectionDetails.
|
|
174
|
+
:rtype: str
|
|
175
|
+
"""
|
|
176
|
+
return self._create_time
|
|
177
|
+
|
|
178
|
+
@create_time.setter
|
|
179
|
+
def create_time(self, create_time):
|
|
180
|
+
r"""Sets the create_time of this ListCollectionDetails.
|
|
181
|
+
|
|
182
|
+
**参数解释:** 创建时间。 **约束限制:** 格式为“yyyy-mm-ddThh:mm:ssZ\"。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
183
|
+
|
|
184
|
+
:param create_time: The create_time of this ListCollectionDetails.
|
|
185
|
+
:type create_time: str
|
|
186
|
+
"""
|
|
187
|
+
self._create_time = create_time
|
|
188
|
+
|
|
189
|
+
@property
|
|
190
|
+
def description(self):
|
|
191
|
+
r"""Gets the description of this ListCollectionDetails.
|
|
192
|
+
|
|
193
|
+
**参数解释:** collection的描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
194
|
+
|
|
195
|
+
:return: The description of this ListCollectionDetails.
|
|
196
|
+
:rtype: str
|
|
197
|
+
"""
|
|
198
|
+
return self._description
|
|
199
|
+
|
|
200
|
+
@description.setter
|
|
201
|
+
def description(self, description):
|
|
202
|
+
r"""Sets the description of this ListCollectionDetails.
|
|
203
|
+
|
|
204
|
+
**参数解释:** collection的描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
205
|
+
|
|
206
|
+
:param description: The description of this ListCollectionDetails.
|
|
207
|
+
:type description: str
|
|
208
|
+
"""
|
|
209
|
+
self._description = description
|
|
210
|
+
|
|
211
|
+
def to_dict(self):
|
|
212
|
+
"""Returns the model properties as a dict"""
|
|
213
|
+
result = {}
|
|
214
|
+
|
|
215
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
216
|
+
value = getattr(self, attr)
|
|
217
|
+
if isinstance(value, list):
|
|
218
|
+
result[attr] = list(map(
|
|
219
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
220
|
+
value
|
|
221
|
+
))
|
|
222
|
+
elif hasattr(value, "to_dict"):
|
|
223
|
+
result[attr] = value.to_dict()
|
|
224
|
+
elif isinstance(value, dict):
|
|
225
|
+
result[attr] = dict(map(
|
|
226
|
+
lambda item: (item[0], item[1].to_dict())
|
|
227
|
+
if hasattr(item[1], "to_dict") else item,
|
|
228
|
+
value.items()
|
|
229
|
+
))
|
|
230
|
+
else:
|
|
231
|
+
if attr in self.sensitive_list:
|
|
232
|
+
result[attr] = "****"
|
|
233
|
+
else:
|
|
234
|
+
result[attr] = value
|
|
235
|
+
|
|
236
|
+
return result
|
|
237
|
+
|
|
238
|
+
def to_str(self):
|
|
239
|
+
"""Returns the string representation of the model"""
|
|
240
|
+
import simplejson as json
|
|
241
|
+
if six.PY2:
|
|
242
|
+
import sys
|
|
243
|
+
reload(sys)
|
|
244
|
+
sys.setdefaultencoding("utf-8")
|
|
245
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
246
|
+
|
|
247
|
+
def __repr__(self):
|
|
248
|
+
"""For `print`"""
|
|
249
|
+
return self.to_str()
|
|
250
|
+
|
|
251
|
+
def __eq__(self, other):
|
|
252
|
+
"""Returns true if both objects are equal"""
|
|
253
|
+
if not isinstance(other, ListCollectionDetails):
|
|
254
|
+
return False
|
|
255
|
+
|
|
256
|
+
return self.__dict__ == other.__dict__
|
|
257
|
+
|
|
258
|
+
def __ne__(self, other):
|
|
259
|
+
"""Returns true if both objects are not equal"""
|
|
260
|
+
return not self == other
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ListCollectionsBody:
|
|
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
|
+
'store_name': 'str',
|
|
21
|
+
'detail': 'bool'
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
attribute_map = {
|
|
25
|
+
'store_name': 'store_name',
|
|
26
|
+
'detail': 'detail'
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
def __init__(self, store_name=None, detail=None):
|
|
30
|
+
r"""ListCollectionsBody
|
|
31
|
+
|
|
32
|
+
The model defined in huaweicloud sdk
|
|
33
|
+
|
|
34
|
+
:param store_name: **参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及 **默认取值:** 不涉及
|
|
35
|
+
:type store_name: str
|
|
36
|
+
:param detail: **参数解释:** 列举collection的详细信息。 **约束限制:** 不涉及。 **取值范围:** true 或者 false。 **默认取值:** false。
|
|
37
|
+
:type detail: bool
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
self._store_name = None
|
|
43
|
+
self._detail = None
|
|
44
|
+
self.discriminator = None
|
|
45
|
+
|
|
46
|
+
self.store_name = store_name
|
|
47
|
+
if detail is not None:
|
|
48
|
+
self.detail = detail
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
def store_name(self):
|
|
52
|
+
r"""Gets the store_name of this ListCollectionsBody.
|
|
53
|
+
|
|
54
|
+
**参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及 **默认取值:** 不涉及
|
|
55
|
+
|
|
56
|
+
:return: The store_name of this ListCollectionsBody.
|
|
57
|
+
:rtype: str
|
|
58
|
+
"""
|
|
59
|
+
return self._store_name
|
|
60
|
+
|
|
61
|
+
@store_name.setter
|
|
62
|
+
def store_name(self, store_name):
|
|
63
|
+
r"""Sets the store_name of this ListCollectionsBody.
|
|
64
|
+
|
|
65
|
+
**参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及 **默认取值:** 不涉及
|
|
66
|
+
|
|
67
|
+
:param store_name: The store_name of this ListCollectionsBody.
|
|
68
|
+
:type store_name: str
|
|
69
|
+
"""
|
|
70
|
+
self._store_name = store_name
|
|
71
|
+
|
|
72
|
+
@property
|
|
73
|
+
def detail(self):
|
|
74
|
+
r"""Gets the detail of this ListCollectionsBody.
|
|
75
|
+
|
|
76
|
+
**参数解释:** 列举collection的详细信息。 **约束限制:** 不涉及。 **取值范围:** true 或者 false。 **默认取值:** false。
|
|
77
|
+
|
|
78
|
+
:return: The detail of this ListCollectionsBody.
|
|
79
|
+
:rtype: bool
|
|
80
|
+
"""
|
|
81
|
+
return self._detail
|
|
82
|
+
|
|
83
|
+
@detail.setter
|
|
84
|
+
def detail(self, detail):
|
|
85
|
+
r"""Sets the detail of this ListCollectionsBody.
|
|
86
|
+
|
|
87
|
+
**参数解释:** 列举collection的详细信息。 **约束限制:** 不涉及。 **取值范围:** true 或者 false。 **默认取值:** false。
|
|
88
|
+
|
|
89
|
+
:param detail: The detail of this ListCollectionsBody.
|
|
90
|
+
:type detail: bool
|
|
91
|
+
"""
|
|
92
|
+
self._detail = detail
|
|
93
|
+
|
|
94
|
+
def to_dict(self):
|
|
95
|
+
"""Returns the model properties as a dict"""
|
|
96
|
+
result = {}
|
|
97
|
+
|
|
98
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
99
|
+
value = getattr(self, attr)
|
|
100
|
+
if isinstance(value, list):
|
|
101
|
+
result[attr] = list(map(
|
|
102
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
103
|
+
value
|
|
104
|
+
))
|
|
105
|
+
elif hasattr(value, "to_dict"):
|
|
106
|
+
result[attr] = value.to_dict()
|
|
107
|
+
elif isinstance(value, dict):
|
|
108
|
+
result[attr] = dict(map(
|
|
109
|
+
lambda item: (item[0], item[1].to_dict())
|
|
110
|
+
if hasattr(item[1], "to_dict") else item,
|
|
111
|
+
value.items()
|
|
112
|
+
))
|
|
113
|
+
else:
|
|
114
|
+
if attr in self.sensitive_list:
|
|
115
|
+
result[attr] = "****"
|
|
116
|
+
else:
|
|
117
|
+
result[attr] = value
|
|
118
|
+
|
|
119
|
+
return result
|
|
120
|
+
|
|
121
|
+
def to_str(self):
|
|
122
|
+
"""Returns the string representation of the model"""
|
|
123
|
+
import simplejson as json
|
|
124
|
+
if six.PY2:
|
|
125
|
+
import sys
|
|
126
|
+
reload(sys)
|
|
127
|
+
sys.setdefaultencoding("utf-8")
|
|
128
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
129
|
+
|
|
130
|
+
def __repr__(self):
|
|
131
|
+
"""For `print`"""
|
|
132
|
+
return self.to_str()
|
|
133
|
+
|
|
134
|
+
def __eq__(self, other):
|
|
135
|
+
"""Returns true if both objects are equal"""
|
|
136
|
+
if not isinstance(other, ListCollectionsBody):
|
|
137
|
+
return False
|
|
138
|
+
|
|
139
|
+
return self.__dict__ == other.__dict__
|
|
140
|
+
|
|
141
|
+
def __ne__(self, other):
|
|
142
|
+
"""Returns true if both objects are not equal"""
|
|
143
|
+
return not self == other
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ListCollectionsRequest:
|
|
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
|
+
'body': 'ListCollectionsBody'
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
attribute_map = {
|
|
24
|
+
'body': 'body'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
def __init__(self, body=None):
|
|
28
|
+
r"""ListCollectionsRequest
|
|
29
|
+
|
|
30
|
+
The model defined in huaweicloud sdk
|
|
31
|
+
|
|
32
|
+
:param body: Body of the ListCollectionsRequest
|
|
33
|
+
:type body: :class:`huaweicloudsdkdwr.v1.ListCollectionsBody`
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
self._body = None
|
|
39
|
+
self.discriminator = None
|
|
40
|
+
|
|
41
|
+
if body is not None:
|
|
42
|
+
self.body = body
|
|
43
|
+
|
|
44
|
+
@property
|
|
45
|
+
def body(self):
|
|
46
|
+
r"""Gets the body of this ListCollectionsRequest.
|
|
47
|
+
|
|
48
|
+
:return: The body of this ListCollectionsRequest.
|
|
49
|
+
:rtype: :class:`huaweicloudsdkdwr.v1.ListCollectionsBody`
|
|
50
|
+
"""
|
|
51
|
+
return self._body
|
|
52
|
+
|
|
53
|
+
@body.setter
|
|
54
|
+
def body(self, body):
|
|
55
|
+
r"""Sets the body of this ListCollectionsRequest.
|
|
56
|
+
|
|
57
|
+
:param body: The body of this ListCollectionsRequest.
|
|
58
|
+
:type body: :class:`huaweicloudsdkdwr.v1.ListCollectionsBody`
|
|
59
|
+
"""
|
|
60
|
+
self._body = body
|
|
61
|
+
|
|
62
|
+
def to_dict(self):
|
|
63
|
+
"""Returns the model properties as a dict"""
|
|
64
|
+
result = {}
|
|
65
|
+
|
|
66
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
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
|
+
if six.PY2:
|
|
93
|
+
import sys
|
|
94
|
+
reload(sys)
|
|
95
|
+
sys.setdefaultencoding("utf-8")
|
|
96
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
97
|
+
|
|
98
|
+
def __repr__(self):
|
|
99
|
+
"""For `print`"""
|
|
100
|
+
return self.to_str()
|
|
101
|
+
|
|
102
|
+
def __eq__(self, other):
|
|
103
|
+
"""Returns true if both objects are equal"""
|
|
104
|
+
if not isinstance(other, ListCollectionsRequest):
|
|
105
|
+
return False
|
|
106
|
+
|
|
107
|
+
return self.__dict__ == other.__dict__
|
|
108
|
+
|
|
109
|
+
def __ne__(self, other):
|
|
110
|
+
"""Returns true if both objects are not equal"""
|
|
111
|
+
return not self == other
|
|
@@ -0,0 +1,170 @@
|
|
|
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 ListCollectionsResponse(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
|
+
'code': 'str',
|
|
22
|
+
'message': 'str',
|
|
23
|
+
'data': 'ListCollectionData'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
attribute_map = {
|
|
27
|
+
'code': 'code',
|
|
28
|
+
'message': 'message',
|
|
29
|
+
'data': 'data'
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
def __init__(self, code=None, message=None, data=None):
|
|
33
|
+
r"""ListCollectionsResponse
|
|
34
|
+
|
|
35
|
+
The model defined in huaweicloud sdk
|
|
36
|
+
|
|
37
|
+
:param code: **参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
38
|
+
:type code: str
|
|
39
|
+
:param message: **参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
40
|
+
:type message: str
|
|
41
|
+
:param data:
|
|
42
|
+
:type data: :class:`huaweicloudsdkdwr.v1.ListCollectionData`
|
|
43
|
+
"""
|
|
44
|
+
|
|
45
|
+
super(ListCollectionsResponse, self).__init__()
|
|
46
|
+
|
|
47
|
+
self._code = None
|
|
48
|
+
self._message = None
|
|
49
|
+
self._data = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
if code is not None:
|
|
53
|
+
self.code = code
|
|
54
|
+
if message is not None:
|
|
55
|
+
self.message = message
|
|
56
|
+
if data is not None:
|
|
57
|
+
self.data = data
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def code(self):
|
|
61
|
+
r"""Gets the code of this ListCollectionsResponse.
|
|
62
|
+
|
|
63
|
+
**参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
64
|
+
|
|
65
|
+
:return: The code of this ListCollectionsResponse.
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._code
|
|
69
|
+
|
|
70
|
+
@code.setter
|
|
71
|
+
def code(self, code):
|
|
72
|
+
r"""Sets the code of this ListCollectionsResponse.
|
|
73
|
+
|
|
74
|
+
**参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
75
|
+
|
|
76
|
+
:param code: The code of this ListCollectionsResponse.
|
|
77
|
+
:type code: str
|
|
78
|
+
"""
|
|
79
|
+
self._code = code
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def message(self):
|
|
83
|
+
r"""Gets the message of this ListCollectionsResponse.
|
|
84
|
+
|
|
85
|
+
**参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
86
|
+
|
|
87
|
+
:return: The message of this ListCollectionsResponse.
|
|
88
|
+
:rtype: str
|
|
89
|
+
"""
|
|
90
|
+
return self._message
|
|
91
|
+
|
|
92
|
+
@message.setter
|
|
93
|
+
def message(self, message):
|
|
94
|
+
r"""Sets the message of this ListCollectionsResponse.
|
|
95
|
+
|
|
96
|
+
**参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
97
|
+
|
|
98
|
+
:param message: The message of this ListCollectionsResponse.
|
|
99
|
+
:type message: str
|
|
100
|
+
"""
|
|
101
|
+
self._message = message
|
|
102
|
+
|
|
103
|
+
@property
|
|
104
|
+
def data(self):
|
|
105
|
+
r"""Gets the data of this ListCollectionsResponse.
|
|
106
|
+
|
|
107
|
+
:return: The data of this ListCollectionsResponse.
|
|
108
|
+
:rtype: :class:`huaweicloudsdkdwr.v1.ListCollectionData`
|
|
109
|
+
"""
|
|
110
|
+
return self._data
|
|
111
|
+
|
|
112
|
+
@data.setter
|
|
113
|
+
def data(self, data):
|
|
114
|
+
r"""Sets the data of this ListCollectionsResponse.
|
|
115
|
+
|
|
116
|
+
:param data: The data of this ListCollectionsResponse.
|
|
117
|
+
:type data: :class:`huaweicloudsdkdwr.v1.ListCollectionData`
|
|
118
|
+
"""
|
|
119
|
+
self._data = data
|
|
120
|
+
|
|
121
|
+
def to_dict(self):
|
|
122
|
+
"""Returns the model properties as a dict"""
|
|
123
|
+
result = {}
|
|
124
|
+
|
|
125
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
126
|
+
value = getattr(self, attr)
|
|
127
|
+
if isinstance(value, list):
|
|
128
|
+
result[attr] = list(map(
|
|
129
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
130
|
+
value
|
|
131
|
+
))
|
|
132
|
+
elif hasattr(value, "to_dict"):
|
|
133
|
+
result[attr] = value.to_dict()
|
|
134
|
+
elif isinstance(value, dict):
|
|
135
|
+
result[attr] = dict(map(
|
|
136
|
+
lambda item: (item[0], item[1].to_dict())
|
|
137
|
+
if hasattr(item[1], "to_dict") else item,
|
|
138
|
+
value.items()
|
|
139
|
+
))
|
|
140
|
+
else:
|
|
141
|
+
if attr in self.sensitive_list:
|
|
142
|
+
result[attr] = "****"
|
|
143
|
+
else:
|
|
144
|
+
result[attr] = value
|
|
145
|
+
|
|
146
|
+
return result
|
|
147
|
+
|
|
148
|
+
def to_str(self):
|
|
149
|
+
"""Returns the string representation of the model"""
|
|
150
|
+
import simplejson as json
|
|
151
|
+
if six.PY2:
|
|
152
|
+
import sys
|
|
153
|
+
reload(sys)
|
|
154
|
+
sys.setdefaultencoding("utf-8")
|
|
155
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
156
|
+
|
|
157
|
+
def __repr__(self):
|
|
158
|
+
"""For `print`"""
|
|
159
|
+
return self.to_str()
|
|
160
|
+
|
|
161
|
+
def __eq__(self, other):
|
|
162
|
+
"""Returns true if both objects are equal"""
|
|
163
|
+
if not isinstance(other, ListCollectionsResponse):
|
|
164
|
+
return False
|
|
165
|
+
|
|
166
|
+
return self.__dict__ == other.__dict__
|
|
167
|
+
|
|
168
|
+
def __ne__(self, other):
|
|
169
|
+
"""Returns true if both objects are not equal"""
|
|
170
|
+
return not self == other
|