huaweicloudsdkdwr 3.1.155__py2.py3-none-any.whl → 3.1.157__py2.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 (76) hide show
  1. huaweicloudsdkdwr/v1/__init__.py +7 -5
  2. huaweicloudsdkdwr/v1/dwr_async_client.py +266 -266
  3. huaweicloudsdkdwr/v1/dwr_client.py +266 -266
  4. huaweicloudsdkdwr/v1/model/__init__.py +7 -5
  5. huaweicloudsdkdwr/v1/model/build_progress.py +15 -15
  6. huaweicloudsdkdwr/v1/model/charge_info.py +15 -15
  7. huaweicloudsdkdwr/v1/model/collection_base_info.py +6 -6
  8. huaweicloudsdkdwr/v1/model/create_collection_body.py +18 -18
  9. huaweicloudsdkdwr/v1/model/create_collection_response.py +6 -6
  10. huaweicloudsdkdwr/v1/model/create_index_body.py +6 -6
  11. huaweicloudsdkdwr/v1/model/create_index_response.py +6 -6
  12. huaweicloudsdkdwr/v1/model/create_store_body.py +12 -12
  13. huaweicloudsdkdwr/v1/model/create_store_data.py +21 -21
  14. huaweicloudsdkdwr/v1/model/create_store_response.py +6 -6
  15. huaweicloudsdkdwr/v1/model/decribe_collection_data.py +102 -73
  16. huaweicloudsdkdwr/v1/model/delete_collection_response.py +6 -6
  17. huaweicloudsdkdwr/v1/model/delete_entities_body.py +9 -9
  18. huaweicloudsdkdwr/v1/model/delete_entities_response.py +6 -6
  19. huaweicloudsdkdwr/v1/model/delete_index_body.py +9 -9
  20. huaweicloudsdkdwr/v1/model/delete_index_response.py +6 -6
  21. huaweicloudsdkdwr/v1/model/delete_store_data.py +3 -3
  22. huaweicloudsdkdwr/v1/model/delete_store_response.py +6 -6
  23. huaweicloudsdkdwr/v1/model/describe_collection_response.py +6 -6
  24. huaweicloudsdkdwr/v1/model/describe_index_body.py +9 -9
  25. huaweicloudsdkdwr/v1/model/{describe_index_respose_data.py → describe_index_data.py} +27 -32
  26. huaweicloudsdkdwr/v1/model/describe_index_response.py +10 -10
  27. huaweicloudsdkdwr/v1/model/describe_job_body.py +3 -3
  28. huaweicloudsdkdwr/v1/model/describe_job_response.py +6 -6
  29. huaweicloudsdkdwr/v1/model/describe_store_response.py +10 -10
  30. huaweicloudsdkdwr/v1/model/entities_data.py +114 -0
  31. huaweicloudsdkdwr/v1/model/field.py +15 -15
  32. huaweicloudsdkdwr/v1/model/field_data.py +102 -15
  33. huaweicloudsdkdwr/v1/model/flavor.py +6 -6
  34. huaweicloudsdkdwr/v1/model/get_index_progress_body.py +9 -9
  35. huaweicloudsdkdwr/v1/model/{get_index_progress_response_data.py → get_progress_data.py} +21 -21
  36. huaweicloudsdkdwr/v1/model/get_progress_response.py +10 -10
  37. huaweicloudsdkdwr/v1/model/hybrid_search_body.py +20 -16
  38. huaweicloudsdkdwr/v1/model/hybrid_search_response.py +11 -15
  39. huaweicloudsdkdwr/v1/model/index_desc.py +14 -16
  40. huaweicloudsdkdwr/v1/model/index_params.py +9 -9
  41. huaweicloudsdkdwr/v1/model/insert_entities_body.py +9 -9
  42. huaweicloudsdkdwr/v1/model/{insert_entities_response_data.py → insert_entities_data.py} +17 -17
  43. huaweicloudsdkdwr/v1/model/insert_entities_response.py +10 -10
  44. huaweicloudsdkdwr/v1/model/job_data.py +24 -24
  45. huaweicloudsdkdwr/v1/model/list_collection_data.py +6 -6
  46. huaweicloudsdkdwr/v1/model/list_collection_details.py +18 -18
  47. huaweicloudsdkdwr/v1/model/list_collections_body.py +6 -6
  48. huaweicloudsdkdwr/v1/model/list_collections_response.py +6 -6
  49. huaweicloudsdkdwr/v1/model/list_jobs_data.py +3 -3
  50. huaweicloudsdkdwr/v1/model/list_jobs_request.py +15 -15
  51. huaweicloudsdkdwr/v1/model/list_jobs_response.py +6 -6
  52. huaweicloudsdkdwr/v1/model/list_store_data.py +114 -0
  53. huaweicloudsdkdwr/v1/model/list_stores_response.py +11 -15
  54. huaweicloudsdkdwr/v1/model/load_collection_body.py +6 -6
  55. huaweicloudsdkdwr/v1/model/load_collection_response.py +6 -6
  56. huaweicloudsdkdwr/v1/model/primary_field.py +6 -6
  57. huaweicloudsdkdwr/v1/model/query_entities_body.py +18 -18
  58. huaweicloudsdkdwr/v1/model/query_entities_response.py +11 -15
  59. huaweicloudsdkdwr/v1/model/release_collection_response.py +6 -6
  60. huaweicloudsdkdwr/v1/model/rerank.py +6 -6
  61. huaweicloudsdkdwr/v1/model/search_entities_body.py +27 -27
  62. huaweicloudsdkdwr/v1/model/search_entities_response.py +11 -15
  63. huaweicloudsdkdwr/v1/model/store_data.py +364 -0
  64. huaweicloudsdkdwr/v1/model/store_info.py +3 -3
  65. huaweicloudsdkdwr/v1/model/sub_search.py +18 -18
  66. huaweicloudsdkdwr/v1/model/upsert_entities_body.py +9 -9
  67. huaweicloudsdkdwr/v1/model/{upsert_entities_response_data.py → upsert_entities_data.py} +18 -19
  68. huaweicloudsdkdwr/v1/model/upsert_entities_response.py +10 -10
  69. huaweicloudsdkdwr/v1/region/dwr_region.py +6 -0
  70. huaweicloudsdkdwr/v3/region/dwr_region.py +6 -0
  71. {huaweicloudsdkdwr-3.1.155.dist-info → huaweicloudsdkdwr-3.1.157.dist-info}/METADATA +2 -2
  72. {huaweicloudsdkdwr-3.1.155.dist-info → huaweicloudsdkdwr-3.1.157.dist-info}/RECORD +75 -73
  73. huaweicloudsdkdwr/v1/model/describe_store_data.py +0 -364
  74. {huaweicloudsdkdwr-3.1.155.dist-info → huaweicloudsdkdwr-3.1.157.dist-info}/LICENSE +0 -0
  75. {huaweicloudsdkdwr-3.1.155.dist-info → huaweicloudsdkdwr-3.1.157.dist-info}/WHEEL +0 -0
  76. {huaweicloudsdkdwr-3.1.155.dist-info → huaweicloudsdkdwr-3.1.157.dist-info}/top_level.txt +0 -0
@@ -1,364 +0,0 @@
1
- # coding: utf-8
2
-
3
- import six
4
-
5
- from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
-
7
-
8
- class DescribeStoreData:
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
- 'id': 'str',
21
- 'store_name': 'str',
22
- 'status': 'str',
23
- 'create_time': 'str',
24
- 'region': 'str',
25
- 'availability_zones': 'list[str]',
26
- 'flavor': 'Flavor',
27
- 'charge_info': 'ChargeInfo',
28
- 'description': 'str',
29
- 'private_link': 'str'
30
- }
31
-
32
- attribute_map = {
33
- 'id': 'id',
34
- 'store_name': 'store_name',
35
- 'status': 'status',
36
- 'create_time': 'create_time',
37
- 'region': 'region',
38
- 'availability_zones': 'availability_zones',
39
- 'flavor': 'flavor',
40
- 'charge_info': 'charge_info',
41
- 'description': 'description',
42
- 'private_link': 'private_link'
43
- }
44
-
45
- def __init__(self, id=None, store_name=None, status=None, create_time=None, region=None, availability_zones=None, flavor=None, charge_info=None, description=None, private_link=None):
46
- r"""DescribeStoreData
47
-
48
- The model defined in huaweicloud sdk
49
-
50
- :param id: 知识仓实例id
51
- :type id: str
52
- :param store_name: 知识仓实例名称,全域唯一。 支持字符,数字,_。必须以字母或下划线 (_) 开头;字符长度是1-64个字节;
53
- :type store_name: str
54
- :param status: 知识仓实例状态。取值范围: \"CREATING\" - 创建中, \"NORMAL\" - 正常, \"CREATED_FAILED\" - 创建失败, \"ABNORMAL\" - 异常, \"FROZEN\" - 被冻结, \"DISK_FULL\"-存储空间已满, \"DROPPING\" - 删除中,\"DELETE_FAILED\" - 删除失败
55
- :type status: str
56
- :param create_time: 创建时间,格式为“yyyy-mm-ddThh:mm:ssZ”。
57
- :type create_time: str
58
- :param region: 区域ID。 取值范围:非空,请参见地区和终端节点。
59
- :type region: str
60
- :param availability_zones: 可用区ID。
61
- :type availability_zones: list[str]
62
- :param flavor:
63
- :type flavor: :class:`huaweicloudsdkdwr.v1.Flavor`
64
- :param charge_info:
65
- :type charge_info: :class:`huaweicloudsdkdwr.v1.ChargeInfo`
66
- :param description: 知识仓描述信息。
67
- :type description: str
68
- :param private_link: 知识仓的私网链接信息。
69
- :type private_link: str
70
- """
71
-
72
-
73
-
74
- self._id = None
75
- self._store_name = None
76
- self._status = None
77
- self._create_time = None
78
- self._region = None
79
- self._availability_zones = None
80
- self._flavor = None
81
- self._charge_info = None
82
- self._description = None
83
- self._private_link = None
84
- self.discriminator = None
85
-
86
- self.id = id
87
- self.store_name = store_name
88
- self.status = status
89
- if create_time is not None:
90
- self.create_time = create_time
91
- if region is not None:
92
- self.region = region
93
- if availability_zones is not None:
94
- self.availability_zones = availability_zones
95
- if flavor is not None:
96
- self.flavor = flavor
97
- if charge_info is not None:
98
- self.charge_info = charge_info
99
- if description is not None:
100
- self.description = description
101
- self.private_link = private_link
102
-
103
- @property
104
- def id(self):
105
- r"""Gets the id of this DescribeStoreData.
106
-
107
- 知识仓实例id
108
-
109
- :return: The id of this DescribeStoreData.
110
- :rtype: str
111
- """
112
- return self._id
113
-
114
- @id.setter
115
- def id(self, id):
116
- r"""Sets the id of this DescribeStoreData.
117
-
118
- 知识仓实例id
119
-
120
- :param id: The id of this DescribeStoreData.
121
- :type id: str
122
- """
123
- self._id = id
124
-
125
- @property
126
- def store_name(self):
127
- r"""Gets the store_name of this DescribeStoreData.
128
-
129
- 知识仓实例名称,全域唯一。 支持字符,数字,_。必须以字母或下划线 (_) 开头;字符长度是1-64个字节;
130
-
131
- :return: The store_name of this DescribeStoreData.
132
- :rtype: str
133
- """
134
- return self._store_name
135
-
136
- @store_name.setter
137
- def store_name(self, store_name):
138
- r"""Sets the store_name of this DescribeStoreData.
139
-
140
- 知识仓实例名称,全域唯一。 支持字符,数字,_。必须以字母或下划线 (_) 开头;字符长度是1-64个字节;
141
-
142
- :param store_name: The store_name of this DescribeStoreData.
143
- :type store_name: str
144
- """
145
- self._store_name = store_name
146
-
147
- @property
148
- def status(self):
149
- r"""Gets the status of this DescribeStoreData.
150
-
151
- 知识仓实例状态。取值范围: \"CREATING\" - 创建中, \"NORMAL\" - 正常, \"CREATED_FAILED\" - 创建失败, \"ABNORMAL\" - 异常, \"FROZEN\" - 被冻结, \"DISK_FULL\"-存储空间已满, \"DROPPING\" - 删除中,\"DELETE_FAILED\" - 删除失败
152
-
153
- :return: The status of this DescribeStoreData.
154
- :rtype: str
155
- """
156
- return self._status
157
-
158
- @status.setter
159
- def status(self, status):
160
- r"""Sets the status of this DescribeStoreData.
161
-
162
- 知识仓实例状态。取值范围: \"CREATING\" - 创建中, \"NORMAL\" - 正常, \"CREATED_FAILED\" - 创建失败, \"ABNORMAL\" - 异常, \"FROZEN\" - 被冻结, \"DISK_FULL\"-存储空间已满, \"DROPPING\" - 删除中,\"DELETE_FAILED\" - 删除失败
163
-
164
- :param status: The status of this DescribeStoreData.
165
- :type status: str
166
- """
167
- self._status = status
168
-
169
- @property
170
- def create_time(self):
171
- r"""Gets the create_time of this DescribeStoreData.
172
-
173
- 创建时间,格式为“yyyy-mm-ddThh:mm:ssZ”。
174
-
175
- :return: The create_time of this DescribeStoreData.
176
- :rtype: str
177
- """
178
- return self._create_time
179
-
180
- @create_time.setter
181
- def create_time(self, create_time):
182
- r"""Sets the create_time of this DescribeStoreData.
183
-
184
- 创建时间,格式为“yyyy-mm-ddThh:mm:ssZ”。
185
-
186
- :param create_time: The create_time of this DescribeStoreData.
187
- :type create_time: str
188
- """
189
- self._create_time = create_time
190
-
191
- @property
192
- def region(self):
193
- r"""Gets the region of this DescribeStoreData.
194
-
195
- 区域ID。 取值范围:非空,请参见地区和终端节点。
196
-
197
- :return: The region of this DescribeStoreData.
198
- :rtype: str
199
- """
200
- return self._region
201
-
202
- @region.setter
203
- def region(self, region):
204
- r"""Sets the region of this DescribeStoreData.
205
-
206
- 区域ID。 取值范围:非空,请参见地区和终端节点。
207
-
208
- :param region: The region of this DescribeStoreData.
209
- :type region: str
210
- """
211
- self._region = region
212
-
213
- @property
214
- def availability_zones(self):
215
- r"""Gets the availability_zones of this DescribeStoreData.
216
-
217
- 可用区ID。
218
-
219
- :return: The availability_zones of this DescribeStoreData.
220
- :rtype: list[str]
221
- """
222
- return self._availability_zones
223
-
224
- @availability_zones.setter
225
- def availability_zones(self, availability_zones):
226
- r"""Sets the availability_zones of this DescribeStoreData.
227
-
228
- 可用区ID。
229
-
230
- :param availability_zones: The availability_zones of this DescribeStoreData.
231
- :type availability_zones: list[str]
232
- """
233
- self._availability_zones = availability_zones
234
-
235
- @property
236
- def flavor(self):
237
- r"""Gets the flavor of this DescribeStoreData.
238
-
239
- :return: The flavor of this DescribeStoreData.
240
- :rtype: :class:`huaweicloudsdkdwr.v1.Flavor`
241
- """
242
- return self._flavor
243
-
244
- @flavor.setter
245
- def flavor(self, flavor):
246
- r"""Sets the flavor of this DescribeStoreData.
247
-
248
- :param flavor: The flavor of this DescribeStoreData.
249
- :type flavor: :class:`huaweicloudsdkdwr.v1.Flavor`
250
- """
251
- self._flavor = flavor
252
-
253
- @property
254
- def charge_info(self):
255
- r"""Gets the charge_info of this DescribeStoreData.
256
-
257
- :return: The charge_info of this DescribeStoreData.
258
- :rtype: :class:`huaweicloudsdkdwr.v1.ChargeInfo`
259
- """
260
- return self._charge_info
261
-
262
- @charge_info.setter
263
- def charge_info(self, charge_info):
264
- r"""Sets the charge_info of this DescribeStoreData.
265
-
266
- :param charge_info: The charge_info of this DescribeStoreData.
267
- :type charge_info: :class:`huaweicloudsdkdwr.v1.ChargeInfo`
268
- """
269
- self._charge_info = charge_info
270
-
271
- @property
272
- def description(self):
273
- r"""Gets the description of this DescribeStoreData.
274
-
275
- 知识仓描述信息。
276
-
277
- :return: The description of this DescribeStoreData.
278
- :rtype: str
279
- """
280
- return self._description
281
-
282
- @description.setter
283
- def description(self, description):
284
- r"""Sets the description of this DescribeStoreData.
285
-
286
- 知识仓描述信息。
287
-
288
- :param description: The description of this DescribeStoreData.
289
- :type description: str
290
- """
291
- self._description = description
292
-
293
- @property
294
- def private_link(self):
295
- r"""Gets the private_link of this DescribeStoreData.
296
-
297
- 知识仓的私网链接信息。
298
-
299
- :return: The private_link of this DescribeStoreData.
300
- :rtype: str
301
- """
302
- return self._private_link
303
-
304
- @private_link.setter
305
- def private_link(self, private_link):
306
- r"""Sets the private_link of this DescribeStoreData.
307
-
308
- 知识仓的私网链接信息。
309
-
310
- :param private_link: The private_link of this DescribeStoreData.
311
- :type private_link: str
312
- """
313
- self._private_link = private_link
314
-
315
- def to_dict(self):
316
- """Returns the model properties as a dict"""
317
- result = {}
318
-
319
- for attr, _ in six.iteritems(self.openapi_types):
320
- value = getattr(self, attr)
321
- if isinstance(value, list):
322
- result[attr] = list(map(
323
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
324
- value
325
- ))
326
- elif hasattr(value, "to_dict"):
327
- result[attr] = value.to_dict()
328
- elif isinstance(value, dict):
329
- result[attr] = dict(map(
330
- lambda item: (item[0], item[1].to_dict())
331
- if hasattr(item[1], "to_dict") else item,
332
- value.items()
333
- ))
334
- else:
335
- if attr in self.sensitive_list:
336
- result[attr] = "****"
337
- else:
338
- result[attr] = value
339
-
340
- return result
341
-
342
- def to_str(self):
343
- """Returns the string representation of the model"""
344
- import simplejson as json
345
- if six.PY2:
346
- import sys
347
- reload(sys)
348
- sys.setdefaultencoding("utf-8")
349
- return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
350
-
351
- def __repr__(self):
352
- """For `print`"""
353
- return self.to_str()
354
-
355
- def __eq__(self, other):
356
- """Returns true if both objects are equal"""
357
- if not isinstance(other, DescribeStoreData):
358
- return False
359
-
360
- return self.__dict__ == other.__dict__
361
-
362
- def __ne__(self, other):
363
- """Returns true if both objects are not equal"""
364
- return not self == other