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.
- huaweicloudsdkdwr/v1/__init__.py +7 -5
- huaweicloudsdkdwr/v1/dwr_async_client.py +266 -266
- huaweicloudsdkdwr/v1/dwr_client.py +266 -266
- huaweicloudsdkdwr/v1/model/__init__.py +7 -5
- huaweicloudsdkdwr/v1/model/build_progress.py +15 -15
- huaweicloudsdkdwr/v1/model/charge_info.py +15 -15
- huaweicloudsdkdwr/v1/model/collection_base_info.py +6 -6
- huaweicloudsdkdwr/v1/model/create_collection_body.py +18 -18
- huaweicloudsdkdwr/v1/model/create_collection_response.py +6 -6
- huaweicloudsdkdwr/v1/model/create_index_body.py +6 -6
- huaweicloudsdkdwr/v1/model/create_index_response.py +6 -6
- huaweicloudsdkdwr/v1/model/create_store_body.py +12 -12
- huaweicloudsdkdwr/v1/model/create_store_data.py +21 -21
- huaweicloudsdkdwr/v1/model/create_store_response.py +6 -6
- huaweicloudsdkdwr/v1/model/decribe_collection_data.py +102 -73
- huaweicloudsdkdwr/v1/model/delete_collection_response.py +6 -6
- huaweicloudsdkdwr/v1/model/delete_entities_body.py +9 -9
- huaweicloudsdkdwr/v1/model/delete_entities_response.py +6 -6
- huaweicloudsdkdwr/v1/model/delete_index_body.py +9 -9
- huaweicloudsdkdwr/v1/model/delete_index_response.py +6 -6
- huaweicloudsdkdwr/v1/model/delete_store_data.py +3 -3
- huaweicloudsdkdwr/v1/model/delete_store_response.py +6 -6
- huaweicloudsdkdwr/v1/model/describe_collection_response.py +6 -6
- huaweicloudsdkdwr/v1/model/describe_index_body.py +9 -9
- huaweicloudsdkdwr/v1/model/{describe_index_respose_data.py → describe_index_data.py} +27 -32
- huaweicloudsdkdwr/v1/model/describe_index_response.py +10 -10
- huaweicloudsdkdwr/v1/model/describe_job_body.py +3 -3
- huaweicloudsdkdwr/v1/model/describe_job_response.py +6 -6
- huaweicloudsdkdwr/v1/model/describe_store_response.py +10 -10
- huaweicloudsdkdwr/v1/model/entities_data.py +114 -0
- huaweicloudsdkdwr/v1/model/field.py +15 -15
- huaweicloudsdkdwr/v1/model/field_data.py +102 -15
- huaweicloudsdkdwr/v1/model/flavor.py +6 -6
- huaweicloudsdkdwr/v1/model/get_index_progress_body.py +9 -9
- huaweicloudsdkdwr/v1/model/{get_index_progress_response_data.py → get_progress_data.py} +21 -21
- huaweicloudsdkdwr/v1/model/get_progress_response.py +10 -10
- huaweicloudsdkdwr/v1/model/hybrid_search_body.py +20 -16
- huaweicloudsdkdwr/v1/model/hybrid_search_response.py +11 -15
- huaweicloudsdkdwr/v1/model/index_desc.py +14 -16
- huaweicloudsdkdwr/v1/model/index_params.py +9 -9
- huaweicloudsdkdwr/v1/model/insert_entities_body.py +9 -9
- huaweicloudsdkdwr/v1/model/{insert_entities_response_data.py → insert_entities_data.py} +17 -17
- huaweicloudsdkdwr/v1/model/insert_entities_response.py +10 -10
- huaweicloudsdkdwr/v1/model/job_data.py +24 -24
- huaweicloudsdkdwr/v1/model/list_collection_data.py +6 -6
- huaweicloudsdkdwr/v1/model/list_collection_details.py +18 -18
- huaweicloudsdkdwr/v1/model/list_collections_body.py +6 -6
- huaweicloudsdkdwr/v1/model/list_collections_response.py +6 -6
- huaweicloudsdkdwr/v1/model/list_jobs_data.py +3 -3
- huaweicloudsdkdwr/v1/model/list_jobs_request.py +15 -15
- huaweicloudsdkdwr/v1/model/list_jobs_response.py +6 -6
- huaweicloudsdkdwr/v1/model/list_store_data.py +114 -0
- huaweicloudsdkdwr/v1/model/list_stores_response.py +11 -15
- huaweicloudsdkdwr/v1/model/load_collection_body.py +6 -6
- huaweicloudsdkdwr/v1/model/load_collection_response.py +6 -6
- huaweicloudsdkdwr/v1/model/primary_field.py +6 -6
- huaweicloudsdkdwr/v1/model/query_entities_body.py +18 -18
- huaweicloudsdkdwr/v1/model/query_entities_response.py +11 -15
- huaweicloudsdkdwr/v1/model/release_collection_response.py +6 -6
- huaweicloudsdkdwr/v1/model/rerank.py +6 -6
- huaweicloudsdkdwr/v1/model/search_entities_body.py +27 -27
- huaweicloudsdkdwr/v1/model/search_entities_response.py +11 -15
- huaweicloudsdkdwr/v1/model/store_data.py +364 -0
- huaweicloudsdkdwr/v1/model/store_info.py +3 -3
- huaweicloudsdkdwr/v1/model/sub_search.py +18 -18
- huaweicloudsdkdwr/v1/model/upsert_entities_body.py +9 -9
- huaweicloudsdkdwr/v1/model/{upsert_entities_response_data.py → upsert_entities_data.py} +18 -19
- huaweicloudsdkdwr/v1/model/upsert_entities_response.py +10 -10
- huaweicloudsdkdwr/v1/region/dwr_region.py +6 -0
- huaweicloudsdkdwr/v3/region/dwr_region.py +6 -0
- {huaweicloudsdkdwr-3.1.155.dist-info → huaweicloudsdkdwr-3.1.157.dist-info}/METADATA +2 -2
- {huaweicloudsdkdwr-3.1.155.dist-info → huaweicloudsdkdwr-3.1.157.dist-info}/RECORD +75 -73
- huaweicloudsdkdwr/v1/model/describe_store_data.py +0 -364
- {huaweicloudsdkdwr-3.1.155.dist-info → huaweicloudsdkdwr-3.1.157.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdwr-3.1.155.dist-info → huaweicloudsdkdwr-3.1.157.dist-info}/WHEEL +0 -0
- {huaweicloudsdkdwr-3.1.155.dist-info → huaweicloudsdkdwr-3.1.157.dist-info}/top_level.txt +0 -0
|
@@ -32,9 +32,9 @@ class DeleteCollectionResponse(SdkResponse):
|
|
|
32
32
|
|
|
33
33
|
The model defined in huaweicloud sdk
|
|
34
34
|
|
|
35
|
-
:param code:
|
|
35
|
+
:param code: **参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
36
36
|
:type code: str
|
|
37
|
-
:param message:
|
|
37
|
+
:param message: **参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
38
38
|
:type message: str
|
|
39
39
|
"""
|
|
40
40
|
|
|
@@ -53,7 +53,7 @@ class DeleteCollectionResponse(SdkResponse):
|
|
|
53
53
|
def code(self):
|
|
54
54
|
r"""Gets the code of this DeleteCollectionResponse.
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
**参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
57
57
|
|
|
58
58
|
:return: The code of this DeleteCollectionResponse.
|
|
59
59
|
:rtype: str
|
|
@@ -64,7 +64,7 @@ class DeleteCollectionResponse(SdkResponse):
|
|
|
64
64
|
def code(self, code):
|
|
65
65
|
r"""Sets the code of this DeleteCollectionResponse.
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
**参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
68
68
|
|
|
69
69
|
:param code: The code of this DeleteCollectionResponse.
|
|
70
70
|
:type code: str
|
|
@@ -75,7 +75,7 @@ class DeleteCollectionResponse(SdkResponse):
|
|
|
75
75
|
def message(self):
|
|
76
76
|
r"""Gets the message of this DeleteCollectionResponse.
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
**参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
79
79
|
|
|
80
80
|
:return: The message of this DeleteCollectionResponse.
|
|
81
81
|
:rtype: str
|
|
@@ -86,7 +86,7 @@ class DeleteCollectionResponse(SdkResponse):
|
|
|
86
86
|
def message(self, message):
|
|
87
87
|
r"""Sets the message of this DeleteCollectionResponse.
|
|
88
88
|
|
|
89
|
-
|
|
89
|
+
**参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
90
90
|
|
|
91
91
|
:param message: The message of this DeleteCollectionResponse.
|
|
92
92
|
:type message: str
|
|
@@ -33,11 +33,11 @@ class DeleteEntitiesBody:
|
|
|
33
33
|
|
|
34
34
|
The model defined in huaweicloud sdk
|
|
35
35
|
|
|
36
|
-
:param store_name:
|
|
36
|
+
:param store_name: **参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及 **默认取值:** 不涉及
|
|
37
37
|
:type store_name: str
|
|
38
|
-
:param collection_name: collection
|
|
38
|
+
:param collection_name: **参数解释:** collection名称,知识仓内唯一。 **约束限制:** 长度范围为1到255个字符,支持字母、数字、中划线(-)和下划线(_),大小写敏感。第一个字符只能够是下划线(_)和字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
39
39
|
:type collection_name: str
|
|
40
|
-
:param filter:
|
|
40
|
+
:param filter: **参数解释:** 用于过滤匹配entity的标量过滤条件。 **约束限制:** 要构建标量过滤条件,请参阅filter表达式规则。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
41
41
|
:type filter: str
|
|
42
42
|
"""
|
|
43
43
|
|
|
@@ -56,7 +56,7 @@ class DeleteEntitiesBody:
|
|
|
56
56
|
def store_name(self):
|
|
57
57
|
r"""Gets the store_name of this DeleteEntitiesBody.
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
**参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及 **默认取值:** 不涉及
|
|
60
60
|
|
|
61
61
|
:return: The store_name of this DeleteEntitiesBody.
|
|
62
62
|
:rtype: str
|
|
@@ -67,7 +67,7 @@ class DeleteEntitiesBody:
|
|
|
67
67
|
def store_name(self, store_name):
|
|
68
68
|
r"""Sets the store_name of this DeleteEntitiesBody.
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
**参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及 **默认取值:** 不涉及
|
|
71
71
|
|
|
72
72
|
:param store_name: The store_name of this DeleteEntitiesBody.
|
|
73
73
|
:type store_name: str
|
|
@@ -78,7 +78,7 @@ class DeleteEntitiesBody:
|
|
|
78
78
|
def collection_name(self):
|
|
79
79
|
r"""Gets the collection_name of this DeleteEntitiesBody.
|
|
80
80
|
|
|
81
|
-
collection
|
|
81
|
+
**参数解释:** collection名称,知识仓内唯一。 **约束限制:** 长度范围为1到255个字符,支持字母、数字、中划线(-)和下划线(_),大小写敏感。第一个字符只能够是下划线(_)和字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
82
82
|
|
|
83
83
|
:return: The collection_name of this DeleteEntitiesBody.
|
|
84
84
|
:rtype: str
|
|
@@ -89,7 +89,7 @@ class DeleteEntitiesBody:
|
|
|
89
89
|
def collection_name(self, collection_name):
|
|
90
90
|
r"""Sets the collection_name of this DeleteEntitiesBody.
|
|
91
91
|
|
|
92
|
-
collection
|
|
92
|
+
**参数解释:** collection名称,知识仓内唯一。 **约束限制:** 长度范围为1到255个字符,支持字母、数字、中划线(-)和下划线(_),大小写敏感。第一个字符只能够是下划线(_)和字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
93
93
|
|
|
94
94
|
:param collection_name: The collection_name of this DeleteEntitiesBody.
|
|
95
95
|
:type collection_name: str
|
|
@@ -100,7 +100,7 @@ class DeleteEntitiesBody:
|
|
|
100
100
|
def filter(self):
|
|
101
101
|
r"""Gets the filter of this DeleteEntitiesBody.
|
|
102
102
|
|
|
103
|
-
|
|
103
|
+
**参数解释:** 用于过滤匹配entity的标量过滤条件。 **约束限制:** 要构建标量过滤条件,请参阅filter表达式规则。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
104
104
|
|
|
105
105
|
:return: The filter of this DeleteEntitiesBody.
|
|
106
106
|
:rtype: str
|
|
@@ -111,7 +111,7 @@ class DeleteEntitiesBody:
|
|
|
111
111
|
def filter(self, filter):
|
|
112
112
|
r"""Sets the filter of this DeleteEntitiesBody.
|
|
113
113
|
|
|
114
|
-
|
|
114
|
+
**参数解释:** 用于过滤匹配entity的标量过滤条件。 **约束限制:** 要构建标量过滤条件,请参阅filter表达式规则。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
115
115
|
|
|
116
116
|
:param filter: The filter of this DeleteEntitiesBody.
|
|
117
117
|
:type filter: str
|
|
@@ -32,9 +32,9 @@ class DeleteEntitiesResponse(SdkResponse):
|
|
|
32
32
|
|
|
33
33
|
The model defined in huaweicloud sdk
|
|
34
34
|
|
|
35
|
-
:param code:
|
|
35
|
+
:param code: **参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
36
36
|
:type code: str
|
|
37
|
-
:param message:
|
|
37
|
+
:param message: **参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
38
38
|
:type message: str
|
|
39
39
|
"""
|
|
40
40
|
|
|
@@ -53,7 +53,7 @@ class DeleteEntitiesResponse(SdkResponse):
|
|
|
53
53
|
def code(self):
|
|
54
54
|
r"""Gets the code of this DeleteEntitiesResponse.
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
**参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
57
57
|
|
|
58
58
|
:return: The code of this DeleteEntitiesResponse.
|
|
59
59
|
:rtype: str
|
|
@@ -64,7 +64,7 @@ class DeleteEntitiesResponse(SdkResponse):
|
|
|
64
64
|
def code(self, code):
|
|
65
65
|
r"""Sets the code of this DeleteEntitiesResponse.
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
**参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
68
68
|
|
|
69
69
|
:param code: The code of this DeleteEntitiesResponse.
|
|
70
70
|
:type code: str
|
|
@@ -75,7 +75,7 @@ class DeleteEntitiesResponse(SdkResponse):
|
|
|
75
75
|
def message(self):
|
|
76
76
|
r"""Gets the message of this DeleteEntitiesResponse.
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
**参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
79
79
|
|
|
80
80
|
:return: The message of this DeleteEntitiesResponse.
|
|
81
81
|
:rtype: str
|
|
@@ -86,7 +86,7 @@ class DeleteEntitiesResponse(SdkResponse):
|
|
|
86
86
|
def message(self, message):
|
|
87
87
|
r"""Sets the message of this DeleteEntitiesResponse.
|
|
88
88
|
|
|
89
|
-
|
|
89
|
+
**参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
90
90
|
|
|
91
91
|
:param message: The message of this DeleteEntitiesResponse.
|
|
92
92
|
:type message: str
|
|
@@ -33,11 +33,11 @@ class DeleteIndexBody:
|
|
|
33
33
|
|
|
34
34
|
The model defined in huaweicloud sdk
|
|
35
35
|
|
|
36
|
-
:param store_name:
|
|
36
|
+
:param store_name: **参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
37
37
|
:type store_name: str
|
|
38
|
-
:param collection_name:
|
|
38
|
+
:param collection_name: **参数解释:** collection名称,知识仓内唯一。 **约束限制:** 长度范围为1到255个字符,支持字母、数字、中划线(-)和下划线(_),大小写敏感。第一个字符只能够是下划线(_)和字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
39
39
|
:type collection_name: str
|
|
40
|
-
:param index_name:
|
|
40
|
+
:param index_name: **参数解释:** 创建的索引名称,collection内唯一。 **约束限制:** 长度范围为1到255个字符,支持字母、数字、中划线(-)和下划线(_),大小写敏感。第一个字符只能够是下划线(_)和字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
41
41
|
:type index_name: str
|
|
42
42
|
"""
|
|
43
43
|
|
|
@@ -56,7 +56,7 @@ class DeleteIndexBody:
|
|
|
56
56
|
def store_name(self):
|
|
57
57
|
r"""Gets the store_name of this DeleteIndexBody.
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
**参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
60
60
|
|
|
61
61
|
:return: The store_name of this DeleteIndexBody.
|
|
62
62
|
:rtype: str
|
|
@@ -67,7 +67,7 @@ class DeleteIndexBody:
|
|
|
67
67
|
def store_name(self, store_name):
|
|
68
68
|
r"""Sets the store_name of this DeleteIndexBody.
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
**参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
71
71
|
|
|
72
72
|
:param store_name: The store_name of this DeleteIndexBody.
|
|
73
73
|
:type store_name: str
|
|
@@ -78,7 +78,7 @@ class DeleteIndexBody:
|
|
|
78
78
|
def collection_name(self):
|
|
79
79
|
r"""Gets the collection_name of this DeleteIndexBody.
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
**参数解释:** collection名称,知识仓内唯一。 **约束限制:** 长度范围为1到255个字符,支持字母、数字、中划线(-)和下划线(_),大小写敏感。第一个字符只能够是下划线(_)和字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
82
82
|
|
|
83
83
|
:return: The collection_name of this DeleteIndexBody.
|
|
84
84
|
:rtype: str
|
|
@@ -89,7 +89,7 @@ class DeleteIndexBody:
|
|
|
89
89
|
def collection_name(self, collection_name):
|
|
90
90
|
r"""Sets the collection_name of this DeleteIndexBody.
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
**参数解释:** collection名称,知识仓内唯一。 **约束限制:** 长度范围为1到255个字符,支持字母、数字、中划线(-)和下划线(_),大小写敏感。第一个字符只能够是下划线(_)和字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
93
93
|
|
|
94
94
|
:param collection_name: The collection_name of this DeleteIndexBody.
|
|
95
95
|
:type collection_name: str
|
|
@@ -100,7 +100,7 @@ class DeleteIndexBody:
|
|
|
100
100
|
def index_name(self):
|
|
101
101
|
r"""Gets the index_name of this DeleteIndexBody.
|
|
102
102
|
|
|
103
|
-
|
|
103
|
+
**参数解释:** 创建的索引名称,collection内唯一。 **约束限制:** 长度范围为1到255个字符,支持字母、数字、中划线(-)和下划线(_),大小写敏感。第一个字符只能够是下划线(_)和字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
104
104
|
|
|
105
105
|
:return: The index_name of this DeleteIndexBody.
|
|
106
106
|
:rtype: str
|
|
@@ -111,7 +111,7 @@ class DeleteIndexBody:
|
|
|
111
111
|
def index_name(self, index_name):
|
|
112
112
|
r"""Sets the index_name of this DeleteIndexBody.
|
|
113
113
|
|
|
114
|
-
|
|
114
|
+
**参数解释:** 创建的索引名称,collection内唯一。 **约束限制:** 长度范围为1到255个字符,支持字母、数字、中划线(-)和下划线(_),大小写敏感。第一个字符只能够是下划线(_)和字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
115
115
|
|
|
116
116
|
:param index_name: The index_name of this DeleteIndexBody.
|
|
117
117
|
:type index_name: str
|
|
@@ -32,9 +32,9 @@ class DeleteIndexResponse(SdkResponse):
|
|
|
32
32
|
|
|
33
33
|
The model defined in huaweicloud sdk
|
|
34
34
|
|
|
35
|
-
:param code:
|
|
35
|
+
:param code: **参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
36
36
|
:type code: str
|
|
37
|
-
:param message:
|
|
37
|
+
:param message: **参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
38
38
|
:type message: str
|
|
39
39
|
"""
|
|
40
40
|
|
|
@@ -53,7 +53,7 @@ class DeleteIndexResponse(SdkResponse):
|
|
|
53
53
|
def code(self):
|
|
54
54
|
r"""Gets the code of this DeleteIndexResponse.
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
**参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
57
57
|
|
|
58
58
|
:return: The code of this DeleteIndexResponse.
|
|
59
59
|
:rtype: str
|
|
@@ -64,7 +64,7 @@ class DeleteIndexResponse(SdkResponse):
|
|
|
64
64
|
def code(self, code):
|
|
65
65
|
r"""Sets the code of this DeleteIndexResponse.
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
**参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
68
68
|
|
|
69
69
|
:param code: The code of this DeleteIndexResponse.
|
|
70
70
|
:type code: str
|
|
@@ -75,7 +75,7 @@ class DeleteIndexResponse(SdkResponse):
|
|
|
75
75
|
def message(self):
|
|
76
76
|
r"""Gets the message of this DeleteIndexResponse.
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
**参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
79
79
|
|
|
80
80
|
:return: The message of this DeleteIndexResponse.
|
|
81
81
|
:rtype: str
|
|
@@ -86,7 +86,7 @@ class DeleteIndexResponse(SdkResponse):
|
|
|
86
86
|
def message(self, message):
|
|
87
87
|
r"""Sets the message of this DeleteIndexResponse.
|
|
88
88
|
|
|
89
|
-
|
|
89
|
+
**参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
90
90
|
|
|
91
91
|
:param message: The message of this DeleteIndexResponse.
|
|
92
92
|
:type message: str
|
|
@@ -29,7 +29,7 @@ class DeleteStoreData:
|
|
|
29
29
|
|
|
30
30
|
The model defined in huaweicloud sdk
|
|
31
31
|
|
|
32
|
-
:param job_id:
|
|
32
|
+
:param job_id: **参数解释:** 创建知识仓实例的任务id。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
33
33
|
:type job_id: str
|
|
34
34
|
"""
|
|
35
35
|
|
|
@@ -44,7 +44,7 @@ class DeleteStoreData:
|
|
|
44
44
|
def job_id(self):
|
|
45
45
|
r"""Gets the job_id of this DeleteStoreData.
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
**参数解释:** 创建知识仓实例的任务id。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
48
48
|
|
|
49
49
|
:return: The job_id of this DeleteStoreData.
|
|
50
50
|
:rtype: str
|
|
@@ -55,7 +55,7 @@ class DeleteStoreData:
|
|
|
55
55
|
def job_id(self, job_id):
|
|
56
56
|
r"""Sets the job_id of this DeleteStoreData.
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
**参数解释:** 创建知识仓实例的任务id。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
59
59
|
|
|
60
60
|
:param job_id: The job_id of this DeleteStoreData.
|
|
61
61
|
:type job_id: str
|
|
@@ -34,9 +34,9 @@ class DeleteStoreResponse(SdkResponse):
|
|
|
34
34
|
|
|
35
35
|
The model defined in huaweicloud sdk
|
|
36
36
|
|
|
37
|
-
:param code:
|
|
37
|
+
:param code: **参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
38
38
|
:type code: str
|
|
39
|
-
:param message: 描述信息
|
|
39
|
+
:param message: **参数解释:** 描述信息 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
40
40
|
:type message: str
|
|
41
41
|
:param data:
|
|
42
42
|
:type data: :class:`huaweicloudsdkdwr.v1.DeleteStoreData`
|
|
@@ -60,7 +60,7 @@ class DeleteStoreResponse(SdkResponse):
|
|
|
60
60
|
def code(self):
|
|
61
61
|
r"""Gets the code of this DeleteStoreResponse.
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
**参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
64
64
|
|
|
65
65
|
:return: The code of this DeleteStoreResponse.
|
|
66
66
|
:rtype: str
|
|
@@ -71,7 +71,7 @@ class DeleteStoreResponse(SdkResponse):
|
|
|
71
71
|
def code(self, code):
|
|
72
72
|
r"""Sets the code of this DeleteStoreResponse.
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
**参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
75
75
|
|
|
76
76
|
:param code: The code of this DeleteStoreResponse.
|
|
77
77
|
:type code: str
|
|
@@ -82,7 +82,7 @@ class DeleteStoreResponse(SdkResponse):
|
|
|
82
82
|
def message(self):
|
|
83
83
|
r"""Gets the message of this DeleteStoreResponse.
|
|
84
84
|
|
|
85
|
-
描述信息
|
|
85
|
+
**参数解释:** 描述信息 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
86
86
|
|
|
87
87
|
:return: The message of this DeleteStoreResponse.
|
|
88
88
|
:rtype: str
|
|
@@ -93,7 +93,7 @@ class DeleteStoreResponse(SdkResponse):
|
|
|
93
93
|
def message(self, message):
|
|
94
94
|
r"""Sets the message of this DeleteStoreResponse.
|
|
95
95
|
|
|
96
|
-
描述信息
|
|
96
|
+
**参数解释:** 描述信息 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
97
97
|
|
|
98
98
|
:param message: The message of this DeleteStoreResponse.
|
|
99
99
|
:type message: str
|
|
@@ -34,9 +34,9 @@ class DescribeCollectionResponse(SdkResponse):
|
|
|
34
34
|
|
|
35
35
|
The model defined in huaweicloud sdk
|
|
36
36
|
|
|
37
|
-
:param code:
|
|
37
|
+
:param code: **参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
38
38
|
:type code: str
|
|
39
|
-
:param message:
|
|
39
|
+
:param message: **参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
40
40
|
:type message: str
|
|
41
41
|
:param data:
|
|
42
42
|
:type data: :class:`huaweicloudsdkdwr.v1.DecribeCollectionData`
|
|
@@ -60,7 +60,7 @@ class DescribeCollectionResponse(SdkResponse):
|
|
|
60
60
|
def code(self):
|
|
61
61
|
r"""Gets the code of this DescribeCollectionResponse.
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
**参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
64
64
|
|
|
65
65
|
:return: The code of this DescribeCollectionResponse.
|
|
66
66
|
:rtype: str
|
|
@@ -71,7 +71,7 @@ class DescribeCollectionResponse(SdkResponse):
|
|
|
71
71
|
def code(self, code):
|
|
72
72
|
r"""Sets the code of this DescribeCollectionResponse.
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
**参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
75
75
|
|
|
76
76
|
:param code: The code of this DescribeCollectionResponse.
|
|
77
77
|
:type code: str
|
|
@@ -82,7 +82,7 @@ class DescribeCollectionResponse(SdkResponse):
|
|
|
82
82
|
def message(self):
|
|
83
83
|
r"""Gets the message of this DescribeCollectionResponse.
|
|
84
84
|
|
|
85
|
-
|
|
85
|
+
**参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
86
86
|
|
|
87
87
|
:return: The message of this DescribeCollectionResponse.
|
|
88
88
|
:rtype: str
|
|
@@ -93,7 +93,7 @@ class DescribeCollectionResponse(SdkResponse):
|
|
|
93
93
|
def message(self, message):
|
|
94
94
|
r"""Sets the message of this DescribeCollectionResponse.
|
|
95
95
|
|
|
96
|
-
|
|
96
|
+
**参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
97
97
|
|
|
98
98
|
:param message: The message of this DescribeCollectionResponse.
|
|
99
99
|
:type message: str
|
|
@@ -33,11 +33,11 @@ class DescribeIndexBody:
|
|
|
33
33
|
|
|
34
34
|
The model defined in huaweicloud sdk
|
|
35
35
|
|
|
36
|
-
:param store_name:
|
|
36
|
+
:param store_name: **参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
37
37
|
:type store_name: str
|
|
38
|
-
:param collection_name:
|
|
38
|
+
:param collection_name: **参数解释:** collection名称,知识仓内唯一。 **约束限制:** 长度范围为1到255个字符,支持字母、数字、中划线(-)和下划线(_),大小写敏感。第一个字符只能够是下划线(_)和字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
39
39
|
:type collection_name: str
|
|
40
|
-
:param index_name:
|
|
40
|
+
:param index_name: **参数解释:** 创建的索引名称,collection内唯一。 **约束限制:** 长度范围为1到255个字符,支持字母、数字、中划线(-)和下划线(_),大小写敏感。第一个字符只能够是下划线(_)和字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
41
41
|
:type index_name: str
|
|
42
42
|
"""
|
|
43
43
|
|
|
@@ -56,7 +56,7 @@ class DescribeIndexBody:
|
|
|
56
56
|
def store_name(self):
|
|
57
57
|
r"""Gets the store_name of this DescribeIndexBody.
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
**参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
60
60
|
|
|
61
61
|
:return: The store_name of this DescribeIndexBody.
|
|
62
62
|
:rtype: str
|
|
@@ -67,7 +67,7 @@ class DescribeIndexBody:
|
|
|
67
67
|
def store_name(self, store_name):
|
|
68
68
|
r"""Sets the store_name of this DescribeIndexBody.
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
**参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
71
71
|
|
|
72
72
|
:param store_name: The store_name of this DescribeIndexBody.
|
|
73
73
|
:type store_name: str
|
|
@@ -78,7 +78,7 @@ class DescribeIndexBody:
|
|
|
78
78
|
def collection_name(self):
|
|
79
79
|
r"""Gets the collection_name of this DescribeIndexBody.
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
**参数解释:** collection名称,知识仓内唯一。 **约束限制:** 长度范围为1到255个字符,支持字母、数字、中划线(-)和下划线(_),大小写敏感。第一个字符只能够是下划线(_)和字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
82
82
|
|
|
83
83
|
:return: The collection_name of this DescribeIndexBody.
|
|
84
84
|
:rtype: str
|
|
@@ -89,7 +89,7 @@ class DescribeIndexBody:
|
|
|
89
89
|
def collection_name(self, collection_name):
|
|
90
90
|
r"""Sets the collection_name of this DescribeIndexBody.
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
**参数解释:** collection名称,知识仓内唯一。 **约束限制:** 长度范围为1到255个字符,支持字母、数字、中划线(-)和下划线(_),大小写敏感。第一个字符只能够是下划线(_)和字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
93
93
|
|
|
94
94
|
:param collection_name: The collection_name of this DescribeIndexBody.
|
|
95
95
|
:type collection_name: str
|
|
@@ -100,7 +100,7 @@ class DescribeIndexBody:
|
|
|
100
100
|
def index_name(self):
|
|
101
101
|
r"""Gets the index_name of this DescribeIndexBody.
|
|
102
102
|
|
|
103
|
-
|
|
103
|
+
**参数解释:** 创建的索引名称,collection内唯一。 **约束限制:** 长度范围为1到255个字符,支持字母、数字、中划线(-)和下划线(_),大小写敏感。第一个字符只能够是下划线(_)和字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
104
104
|
|
|
105
105
|
:return: The index_name of this DescribeIndexBody.
|
|
106
106
|
:rtype: str
|
|
@@ -111,7 +111,7 @@ class DescribeIndexBody:
|
|
|
111
111
|
def index_name(self, index_name):
|
|
112
112
|
r"""Sets the index_name of this DescribeIndexBody.
|
|
113
113
|
|
|
114
|
-
|
|
114
|
+
**参数解释:** 创建的索引名称,collection内唯一。 **约束限制:** 长度范围为1到255个字符,支持字母、数字、中划线(-)和下划线(_),大小写敏感。第一个字符只能够是下划线(_)和字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
115
115
|
|
|
116
116
|
:param index_name: The index_name of this DescribeIndexBody.
|
|
117
117
|
:type index_name: str
|
|
@@ -5,7 +5,7 @@ import six
|
|
|
5
5
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class
|
|
8
|
+
class DescribeIndexData:
|
|
9
9
|
|
|
10
10
|
"""
|
|
11
11
|
Attributes:
|
|
@@ -19,7 +19,7 @@ class DescribeIndexResposeData:
|
|
|
19
19
|
openapi_types = {
|
|
20
20
|
'store_name': 'str',
|
|
21
21
|
'collection_name': 'str',
|
|
22
|
-
'index_desc': '
|
|
22
|
+
'index_desc': 'IndexDesc'
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
attribute_map = {
|
|
@@ -29,16 +29,16 @@ class DescribeIndexResposeData:
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
def __init__(self, store_name=None, collection_name=None, index_desc=None):
|
|
32
|
-
r"""
|
|
32
|
+
r"""DescribeIndexData
|
|
33
33
|
|
|
34
34
|
The model defined in huaweicloud sdk
|
|
35
35
|
|
|
36
|
-
:param store_name:
|
|
36
|
+
:param store_name: **参数解释:** 知识仓实例名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
37
37
|
:type store_name: str
|
|
38
|
-
:param collection_name:
|
|
38
|
+
:param collection_name: **参数解释:** collection名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
39
39
|
:type collection_name: str
|
|
40
|
-
:param index_desc:
|
|
41
|
-
:type index_desc:
|
|
40
|
+
:param index_desc:
|
|
41
|
+
:type index_desc: :class:`huaweicloudsdkdwr.v1.IndexDesc`
|
|
42
42
|
"""
|
|
43
43
|
|
|
44
44
|
|
|
@@ -50,72 +50,67 @@ class DescribeIndexResposeData:
|
|
|
50
50
|
|
|
51
51
|
self.store_name = store_name
|
|
52
52
|
self.collection_name = collection_name
|
|
53
|
-
|
|
54
|
-
self.index_desc = index_desc
|
|
53
|
+
self.index_desc = index_desc
|
|
55
54
|
|
|
56
55
|
@property
|
|
57
56
|
def store_name(self):
|
|
58
|
-
r"""Gets the store_name of this
|
|
57
|
+
r"""Gets the store_name of this DescribeIndexData.
|
|
59
58
|
|
|
60
|
-
|
|
59
|
+
**参数解释:** 知识仓实例名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
61
60
|
|
|
62
|
-
:return: The store_name of this
|
|
61
|
+
:return: The store_name of this DescribeIndexData.
|
|
63
62
|
:rtype: str
|
|
64
63
|
"""
|
|
65
64
|
return self._store_name
|
|
66
65
|
|
|
67
66
|
@store_name.setter
|
|
68
67
|
def store_name(self, store_name):
|
|
69
|
-
r"""Sets the store_name of this
|
|
68
|
+
r"""Sets the store_name of this DescribeIndexData.
|
|
70
69
|
|
|
71
|
-
|
|
70
|
+
**参数解释:** 知识仓实例名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
72
71
|
|
|
73
|
-
:param store_name: The store_name of this
|
|
72
|
+
:param store_name: The store_name of this DescribeIndexData.
|
|
74
73
|
:type store_name: str
|
|
75
74
|
"""
|
|
76
75
|
self._store_name = store_name
|
|
77
76
|
|
|
78
77
|
@property
|
|
79
78
|
def collection_name(self):
|
|
80
|
-
r"""Gets the collection_name of this
|
|
79
|
+
r"""Gets the collection_name of this DescribeIndexData.
|
|
81
80
|
|
|
82
|
-
|
|
81
|
+
**参数解释:** collection名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
83
82
|
|
|
84
|
-
:return: The collection_name of this
|
|
83
|
+
:return: The collection_name of this DescribeIndexData.
|
|
85
84
|
:rtype: str
|
|
86
85
|
"""
|
|
87
86
|
return self._collection_name
|
|
88
87
|
|
|
89
88
|
@collection_name.setter
|
|
90
89
|
def collection_name(self, collection_name):
|
|
91
|
-
r"""Sets the collection_name of this
|
|
90
|
+
r"""Sets the collection_name of this DescribeIndexData.
|
|
92
91
|
|
|
93
|
-
|
|
92
|
+
**参数解释:** collection名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
94
93
|
|
|
95
|
-
:param collection_name: The collection_name of this
|
|
94
|
+
:param collection_name: The collection_name of this DescribeIndexData.
|
|
96
95
|
:type collection_name: str
|
|
97
96
|
"""
|
|
98
97
|
self._collection_name = collection_name
|
|
99
98
|
|
|
100
99
|
@property
|
|
101
100
|
def index_desc(self):
|
|
102
|
-
r"""Gets the index_desc of this
|
|
101
|
+
r"""Gets the index_desc of this DescribeIndexData.
|
|
103
102
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
:return: The index_desc of this DescribeIndexResposeData.
|
|
107
|
-
:rtype: list[:class:`huaweicloudsdkdwr.v1.IndexDesc`]
|
|
103
|
+
:return: The index_desc of this DescribeIndexData.
|
|
104
|
+
:rtype: :class:`huaweicloudsdkdwr.v1.IndexDesc`
|
|
108
105
|
"""
|
|
109
106
|
return self._index_desc
|
|
110
107
|
|
|
111
108
|
@index_desc.setter
|
|
112
109
|
def index_desc(self, index_desc):
|
|
113
|
-
r"""Sets the index_desc of this
|
|
114
|
-
|
|
115
|
-
索引描述信息
|
|
110
|
+
r"""Sets the index_desc of this DescribeIndexData.
|
|
116
111
|
|
|
117
|
-
:param index_desc: The index_desc of this
|
|
118
|
-
:type index_desc:
|
|
112
|
+
:param index_desc: The index_desc of this DescribeIndexData.
|
|
113
|
+
:type index_desc: :class:`huaweicloudsdkdwr.v1.IndexDesc`
|
|
119
114
|
"""
|
|
120
115
|
self._index_desc = index_desc
|
|
121
116
|
|
|
@@ -161,7 +156,7 @@ class DescribeIndexResposeData:
|
|
|
161
156
|
|
|
162
157
|
def __eq__(self, other):
|
|
163
158
|
"""Returns true if both objects are equal"""
|
|
164
|
-
if not isinstance(other,
|
|
159
|
+
if not isinstance(other, DescribeIndexData):
|
|
165
160
|
return False
|
|
166
161
|
|
|
167
162
|
return self.__dict__ == other.__dict__
|