tencentcloud-sdk-lowcode 3.0.1006 → 3.0.1007
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210108/client.rb +216 -0
- data/lib/v20210108/models.rb +1111 -20
- metadata +2 -2
data/lib/v20210108/models.rb
CHANGED
@@ -17,6 +17,46 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Lowcode
|
19
19
|
module V20210108
|
20
|
+
# CreateKnowledgeSet请求参数结构体
|
21
|
+
class CreateKnowledgeSetRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param Name: 知识库标识
|
23
|
+
# @type Name: String
|
24
|
+
# @param Title: 知识库名称
|
25
|
+
# @type Title: String
|
26
|
+
# @param Desc: 描述
|
27
|
+
# @type Desc: String
|
28
|
+
|
29
|
+
attr_accessor :Name, :Title, :Desc
|
30
|
+
|
31
|
+
def initialize(name=nil, title=nil, desc=nil)
|
32
|
+
@Name = name
|
33
|
+
@Title = title
|
34
|
+
@Desc = desc
|
35
|
+
end
|
36
|
+
|
37
|
+
def deserialize(params)
|
38
|
+
@Name = params['Name']
|
39
|
+
@Title = params['Title']
|
40
|
+
@Desc = params['Desc']
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# CreateKnowledgeSet返回参数结构体
|
45
|
+
class CreateKnowledgeSetResponse < TencentCloud::Common::AbstractModel
|
46
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
47
|
+
# @type RequestId: String
|
48
|
+
|
49
|
+
attr_accessor :RequestId
|
50
|
+
|
51
|
+
def initialize(requestid=nil)
|
52
|
+
@RequestId = requestid
|
53
|
+
end
|
54
|
+
|
55
|
+
def deserialize(params)
|
56
|
+
@RequestId = params['RequestId']
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
20
60
|
# 数据源详情列表
|
21
61
|
class DataSourceDetail < TencentCloud::Common::AbstractModel
|
22
62
|
# @param Id: 数据源 ID
|
@@ -28,19 +68,18 @@ module TencentCloud
|
|
28
68
|
# @param Type: 数据源类型
|
29
69
|
# @type Type: String
|
30
70
|
# @param Description: 数据源描述
|
71
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31
72
|
# @type Description: String
|
32
73
|
# @param Schema: 数据源配置
|
33
74
|
# @type Schema: String
|
34
75
|
# @param CmsProject: cms 项目状态, 0: 重新获取详情信息,1: 不需要重新获取详情信息
|
35
76
|
# @type CmsProject: String
|
36
77
|
# @param PkgId: 当前为环境 id
|
37
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
38
78
|
# @type PkgId: String
|
39
79
|
# @param SchemaVersion: schema 版本信息
|
40
80
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
41
81
|
# @type SchemaVersion: String
|
42
82
|
# @param CreatorId: 创建者用户 ID
|
43
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
44
83
|
# @type CreatorId: String
|
45
84
|
# @param CreatedAt: 创建时间
|
46
85
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -49,7 +88,6 @@ module TencentCloud
|
|
49
88
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
50
89
|
# @type UpdatedAt: String
|
51
90
|
# @param EnvId: 环境 id
|
52
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
53
91
|
# @type EnvId: String
|
54
92
|
# @param DataSourceVersion: 版本
|
55
93
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -58,7 +96,6 @@ module TencentCloud
|
|
58
96
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
59
97
|
# @type AppUsageList: Array
|
60
98
|
# @param PublishedAt: 发布时间
|
61
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
62
99
|
# @type PublishedAt: String
|
63
100
|
# @param ChildDataSourceIds: 子数据源ids
|
64
101
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -67,16 +104,13 @@ module TencentCloud
|
|
67
104
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
68
105
|
# @type Fun: String
|
69
106
|
# @param ScfStatus: 云函数状态 1 Active 2 Creating 3 Updating 4 Deleting 9 Deleted 11 CreatFailed 12 UpdateFailed 13 DeleteFailed 21 UpdateTimeOut
|
70
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
71
107
|
# @type ScfStatus: Integer
|
72
108
|
# @param Methods: 自定义方法
|
73
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
74
109
|
# @type Methods: String
|
75
110
|
# @param ChildDataSourceNames: 子数据源名数组
|
76
111
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
77
112
|
# @type ChildDataSourceNames: Array
|
78
113
|
# @param IsNewDataSource: 是否旧数据源 1 新 0 旧
|
79
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
80
114
|
# @type IsNewDataSource: Integer
|
81
115
|
# @param ViewId: 数据源视图id
|
82
116
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -97,7 +131,6 @@ module TencentCloud
|
|
97
131
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
98
132
|
# @type PublishViewId: String
|
99
133
|
# @param SubType: 数据源子类型 "database" 标准模型 "custom-database" 自定义模型 "system" 系统模型 "connector" 连接器 "custom-connector" 自定义连接器 "hidden" 隐藏数据源
|
100
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
101
134
|
# @type SubType: String
|
102
135
|
# @param AuthStatus: 授权状态 0 授权无效 1 授权有效
|
103
136
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -105,10 +138,32 @@ module TencentCloud
|
|
105
138
|
# @param AuthInfo: 数据源授权信息
|
106
139
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
107
140
|
# @type AuthInfo: :class:`Tencentcloud::Lowcode.v20210108.models.TicketAuthInfo`
|
141
|
+
# @param PublishStatus: 1发布0未发布
|
142
|
+
# @type PublishStatus: Integer
|
143
|
+
# @param UpdateVersion: 更新版本
|
144
|
+
# @type UpdateVersion: Integer
|
145
|
+
# @param RelationFieldList: 模型关联关系字段列表
|
146
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
147
|
+
# @type RelationFieldList: Array
|
148
|
+
# @param DbInstanceType: db实例类型
|
149
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
150
|
+
# @type DbInstanceType: String
|
151
|
+
# @param PreviewTableName: 体验环境db表名
|
152
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
153
|
+
# @type PreviewTableName: String
|
154
|
+
# @param PublishedTableName: 正式环境db表名
|
155
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
156
|
+
# @type PublishedTableName: String
|
157
|
+
# @param DbSourceType: DB来源类型
|
158
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
159
|
+
# @type DbSourceType: String
|
108
160
|
|
109
|
-
attr_accessor :Id, :Title, :Name, :Type, :Description, :Schema, :CmsProject, :PkgId, :SchemaVersion, :CreatorId, :CreatedAt, :UpdatedAt, :EnvId, :DataSourceVersion, :AppUsageList, :PublishedAt, :ChildDataSourceIds, :Fun, :ScfStatus, :Methods, :ChildDataSourceNames, :IsNewDataSource, :ViewId, :Configuration, :TemplateCode, :Source, :PublishVersion, :PublishViewId, :SubType, :AuthStatus, :AuthInfo
|
161
|
+
attr_accessor :Id, :Title, :Name, :Type, :Description, :Schema, :CmsProject, :PkgId, :SchemaVersion, :CreatorId, :CreatedAt, :UpdatedAt, :EnvId, :DataSourceVersion, :AppUsageList, :PublishedAt, :ChildDataSourceIds, :Fun, :ScfStatus, :Methods, :ChildDataSourceNames, :IsNewDataSource, :ViewId, :Configuration, :TemplateCode, :Source, :PublishVersion, :PublishViewId, :SubType, :AuthStatus, :AuthInfo, :PublishStatus, :UpdateVersion, :RelationFieldList, :DbInstanceType, :PreviewTableName, :PublishedTableName, :DbSourceType
|
162
|
+
extend Gem::Deprecate
|
163
|
+
deprecate :PublishVersion, :none, 2025, 2
|
164
|
+
deprecate :PublishVersion=, :none, 2025, 2
|
110
165
|
|
111
|
-
def initialize(id=nil, title=nil, name=nil, type=nil, description=nil, schema=nil, cmsproject=nil, pkgid=nil, schemaversion=nil, creatorid=nil, createdat=nil, updatedat=nil, envid=nil, datasourceversion=nil, appusagelist=nil, publishedat=nil, childdatasourceids=nil, fun=nil, scfstatus=nil, methods=nil, childdatasourcenames=nil, isnewdatasource=nil, viewid=nil, configuration=nil, templatecode=nil, source=nil, publishversion=nil, publishviewid=nil, subtype=nil, authstatus=nil, authinfo=nil)
|
166
|
+
def initialize(id=nil, title=nil, name=nil, type=nil, description=nil, schema=nil, cmsproject=nil, pkgid=nil, schemaversion=nil, creatorid=nil, createdat=nil, updatedat=nil, envid=nil, datasourceversion=nil, appusagelist=nil, publishedat=nil, childdatasourceids=nil, fun=nil, scfstatus=nil, methods=nil, childdatasourcenames=nil, isnewdatasource=nil, viewid=nil, configuration=nil, templatecode=nil, source=nil, publishversion=nil, publishviewid=nil, subtype=nil, authstatus=nil, authinfo=nil, publishstatus=nil, updateversion=nil, relationfieldlist=nil, dbinstancetype=nil, previewtablename=nil, publishedtablename=nil, dbsourcetype=nil)
|
112
167
|
@Id = id
|
113
168
|
@Title = title
|
114
169
|
@Name = name
|
@@ -140,6 +195,13 @@ module TencentCloud
|
|
140
195
|
@SubType = subtype
|
141
196
|
@AuthStatus = authstatus
|
142
197
|
@AuthInfo = authinfo
|
198
|
+
@PublishStatus = publishstatus
|
199
|
+
@UpdateVersion = updateversion
|
200
|
+
@RelationFieldList = relationfieldlist
|
201
|
+
@DbInstanceType = dbinstancetype
|
202
|
+
@PreviewTableName = previewtablename
|
203
|
+
@PublishedTableName = publishedtablename
|
204
|
+
@DbSourceType = dbsourcetype
|
143
205
|
end
|
144
206
|
|
145
207
|
def deserialize(params)
|
@@ -184,6 +246,20 @@ module TencentCloud
|
|
184
246
|
@AuthInfo = TicketAuthInfo.new
|
185
247
|
@AuthInfo.deserialize(params['AuthInfo'])
|
186
248
|
end
|
249
|
+
@PublishStatus = params['PublishStatus']
|
250
|
+
@UpdateVersion = params['UpdateVersion']
|
251
|
+
unless params['RelationFieldList'].nil?
|
252
|
+
@RelationFieldList = []
|
253
|
+
params['RelationFieldList'].each do |i|
|
254
|
+
relationfield_tmp = RelationField.new
|
255
|
+
relationfield_tmp.deserialize(i)
|
256
|
+
@RelationFieldList << relationfield_tmp
|
257
|
+
end
|
258
|
+
end
|
259
|
+
@DbInstanceType = params['DbInstanceType']
|
260
|
+
@PreviewTableName = params['PreviewTableName']
|
261
|
+
@PublishedTableName = params['PublishedTableName']
|
262
|
+
@DbSourceType = params['DbSourceType']
|
187
263
|
end
|
188
264
|
end
|
189
265
|
|
@@ -219,26 +295,25 @@ module TencentCloud
|
|
219
295
|
# @param Id: 应用Id
|
220
296
|
# @type Id: String
|
221
297
|
# @param Title: 应用名称
|
222
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
223
298
|
# @type Title: String
|
224
299
|
# @param EditStatusUse: 是否编辑状态使用
|
225
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
226
300
|
# @type EditStatusUse: Integer
|
227
301
|
# @param PreviewStatusUse: 是否预览状态使用
|
228
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
229
302
|
# @type PreviewStatusUse: Integer
|
230
303
|
# @param OnlineStatusUse: 是否正式状态使用
|
231
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
232
304
|
# @type OnlineStatusUse: Integer
|
305
|
+
# @param DataSourceId: 数据源ID
|
306
|
+
# @type DataSourceId: String
|
233
307
|
|
234
|
-
attr_accessor :Id, :Title, :EditStatusUse, :PreviewStatusUse, :OnlineStatusUse
|
308
|
+
attr_accessor :Id, :Title, :EditStatusUse, :PreviewStatusUse, :OnlineStatusUse, :DataSourceId
|
235
309
|
|
236
|
-
def initialize(id=nil, title=nil, editstatususe=nil, previewstatususe=nil, onlinestatususe=nil)
|
310
|
+
def initialize(id=nil, title=nil, editstatususe=nil, previewstatususe=nil, onlinestatususe=nil, datasourceid=nil)
|
237
311
|
@Id = id
|
238
312
|
@Title = title
|
239
313
|
@EditStatusUse = editstatususe
|
240
314
|
@PreviewStatusUse = previewstatususe
|
241
315
|
@OnlineStatusUse = onlinestatususe
|
316
|
+
@DataSourceId = datasourceid
|
242
317
|
end
|
243
318
|
|
244
319
|
def deserialize(params)
|
@@ -247,6 +322,7 @@ module TencentCloud
|
|
247
322
|
@EditStatusUse = params['EditStatusUse']
|
248
323
|
@PreviewStatusUse = params['PreviewStatusUse']
|
249
324
|
@OnlineStatusUse = params['OnlineStatusUse']
|
325
|
+
@DataSourceId = params['DataSourceId']
|
250
326
|
end
|
251
327
|
end
|
252
328
|
|
@@ -270,6 +346,101 @@ module TencentCloud
|
|
270
346
|
end
|
271
347
|
end
|
272
348
|
|
349
|
+
# DeleteKnowledgeDocumentSet请求参数结构体
|
350
|
+
class DeleteKnowledgeDocumentSetRequest < TencentCloud::Common::AbstractModel
|
351
|
+
# @param CollectionView: 知识库标识
|
352
|
+
# @type CollectionView: String
|
353
|
+
# @param Query: 删除时制定的条件
|
354
|
+
# @type Query: :class:`Tencentcloud::Lowcode.v20210108.models.DocumentQuery`
|
355
|
+
|
356
|
+
attr_accessor :CollectionView, :Query
|
357
|
+
|
358
|
+
def initialize(collectionview=nil, query=nil)
|
359
|
+
@CollectionView = collectionview
|
360
|
+
@Query = query
|
361
|
+
end
|
362
|
+
|
363
|
+
def deserialize(params)
|
364
|
+
@CollectionView = params['CollectionView']
|
365
|
+
unless params['Query'].nil?
|
366
|
+
@Query = DocumentQuery.new
|
367
|
+
@Query.deserialize(params['Query'])
|
368
|
+
end
|
369
|
+
end
|
370
|
+
end
|
371
|
+
|
372
|
+
# DeleteKnowledgeDocumentSet返回参数结构体
|
373
|
+
class DeleteKnowledgeDocumentSetResponse < TencentCloud::Common::AbstractModel
|
374
|
+
# @param Data: 新增文件返回信息
|
375
|
+
# @type Data: :class:`Tencentcloud::Lowcode.v20210108.models.DeleteKnowledgeDocumentSetRsp`
|
376
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
377
|
+
# @type RequestId: String
|
378
|
+
|
379
|
+
attr_accessor :Data, :RequestId
|
380
|
+
|
381
|
+
def initialize(data=nil, requestid=nil)
|
382
|
+
@Data = data
|
383
|
+
@RequestId = requestid
|
384
|
+
end
|
385
|
+
|
386
|
+
def deserialize(params)
|
387
|
+
unless params['Data'].nil?
|
388
|
+
@Data = DeleteKnowledgeDocumentSetRsp.new
|
389
|
+
@Data.deserialize(params['Data'])
|
390
|
+
end
|
391
|
+
@RequestId = params['RequestId']
|
392
|
+
end
|
393
|
+
end
|
394
|
+
|
395
|
+
# 删除文档出参
|
396
|
+
class DeleteKnowledgeDocumentSetRsp < TencentCloud::Common::AbstractModel
|
397
|
+
# @param AffectedCount: 删除文档数量。
|
398
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
399
|
+
# @type AffectedCount: Integer
|
400
|
+
|
401
|
+
attr_accessor :AffectedCount
|
402
|
+
|
403
|
+
def initialize(affectedcount=nil)
|
404
|
+
@AffectedCount = affectedcount
|
405
|
+
end
|
406
|
+
|
407
|
+
def deserialize(params)
|
408
|
+
@AffectedCount = params['AffectedCount']
|
409
|
+
end
|
410
|
+
end
|
411
|
+
|
412
|
+
# DeleteKnowledgeSet请求参数结构体
|
413
|
+
class DeleteKnowledgeSetRequest < TencentCloud::Common::AbstractModel
|
414
|
+
# @param Name: 知识库标识
|
415
|
+
# @type Name: String
|
416
|
+
|
417
|
+
attr_accessor :Name
|
418
|
+
|
419
|
+
def initialize(name=nil)
|
420
|
+
@Name = name
|
421
|
+
end
|
422
|
+
|
423
|
+
def deserialize(params)
|
424
|
+
@Name = params['Name']
|
425
|
+
end
|
426
|
+
end
|
427
|
+
|
428
|
+
# DeleteKnowledgeSet返回参数结构体
|
429
|
+
class DeleteKnowledgeSetResponse < TencentCloud::Common::AbstractModel
|
430
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
431
|
+
# @type RequestId: String
|
432
|
+
|
433
|
+
attr_accessor :RequestId
|
434
|
+
|
435
|
+
def initialize(requestid=nil)
|
436
|
+
@RequestId = requestid
|
437
|
+
end
|
438
|
+
|
439
|
+
def deserialize(params)
|
440
|
+
@RequestId = params['RequestId']
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
273
444
|
# DescribeDataSourceList请求参数结构体
|
274
445
|
class DescribeDataSourceListRequest < TencentCloud::Common::AbstractModel
|
275
446
|
# @param PageSize: 每页条数
|
@@ -296,12 +467,22 @@ module TencentCloud
|
|
296
467
|
# @type QueryBindToApp: Integer
|
297
468
|
# @param QueryConnector: 查询连接器 0 数据模型 1 连接器 2 自定义连接器
|
298
469
|
# @type QueryConnector: Integer
|
299
|
-
# @param NotQuerySubTypeList:
|
470
|
+
# @param NotQuerySubTypeList: 废弃中
|
300
471
|
# @type NotQuerySubTypeList: Array
|
472
|
+
# @param ChannelList: 查询channelList
|
473
|
+
# @type ChannelList: Array
|
474
|
+
# @param QueryDataSourceRelationList: 是否查询数据源关联关系
|
475
|
+
# @type QueryDataSourceRelationList: Boolean
|
476
|
+
# @param DbInstanceType: db实例类型
|
477
|
+
# @type DbInstanceType: String
|
478
|
+
# @param DatabaseTableNames: 数据库表名列表
|
479
|
+
# @type DatabaseTableNames: Array
|
480
|
+
# @param QuerySystemModel: 是否查询系统模型,默认为true,需要显示设置为False才能过滤系统模型
|
481
|
+
# @type QuerySystemModel: Boolean
|
301
482
|
|
302
|
-
attr_accessor :PageSize, :PageIndex, :EnvId, :Appids, :DataSourceIds, :DataSourceNames, :DataSourceType, :QueryOption, :ViewIds, :AppLinkStatus, :QueryBindToApp, :QueryConnector, :NotQuerySubTypeList
|
483
|
+
attr_accessor :PageSize, :PageIndex, :EnvId, :Appids, :DataSourceIds, :DataSourceNames, :DataSourceType, :QueryOption, :ViewIds, :AppLinkStatus, :QueryBindToApp, :QueryConnector, :NotQuerySubTypeList, :ChannelList, :QueryDataSourceRelationList, :DbInstanceType, :DatabaseTableNames, :QuerySystemModel
|
303
484
|
|
304
|
-
def initialize(pagesize=nil, pageindex=nil, envid=nil, appids=nil, datasourceids=nil, datasourcenames=nil, datasourcetype=nil, queryoption=nil, viewids=nil, applinkstatus=nil, querybindtoapp=nil, queryconnector=nil, notquerysubtypelist=nil)
|
485
|
+
def initialize(pagesize=nil, pageindex=nil, envid=nil, appids=nil, datasourceids=nil, datasourcenames=nil, datasourcetype=nil, queryoption=nil, viewids=nil, applinkstatus=nil, querybindtoapp=nil, queryconnector=nil, notquerysubtypelist=nil, channellist=nil, querydatasourcerelationlist=nil, dbinstancetype=nil, databasetablenames=nil, querysystemmodel=nil)
|
305
486
|
@PageSize = pagesize
|
306
487
|
@PageIndex = pageindex
|
307
488
|
@EnvId = envid
|
@@ -315,6 +496,11 @@ module TencentCloud
|
|
315
496
|
@QueryBindToApp = querybindtoapp
|
316
497
|
@QueryConnector = queryconnector
|
317
498
|
@NotQuerySubTypeList = notquerysubtypelist
|
499
|
+
@ChannelList = channellist
|
500
|
+
@QueryDataSourceRelationList = querydatasourcerelationlist
|
501
|
+
@DbInstanceType = dbinstancetype
|
502
|
+
@DatabaseTableNames = databasetablenames
|
503
|
+
@QuerySystemModel = querysystemmodel
|
318
504
|
end
|
319
505
|
|
320
506
|
def deserialize(params)
|
@@ -334,6 +520,11 @@ module TencentCloud
|
|
334
520
|
@QueryBindToApp = params['QueryBindToApp']
|
335
521
|
@QueryConnector = params['QueryConnector']
|
336
522
|
@NotQuerySubTypeList = params['NotQuerySubTypeList']
|
523
|
+
@ChannelList = params['ChannelList']
|
524
|
+
@QueryDataSourceRelationList = params['QueryDataSourceRelationList']
|
525
|
+
@DbInstanceType = params['DbInstanceType']
|
526
|
+
@DatabaseTableNames = params['DatabaseTableNames']
|
527
|
+
@QuerySystemModel = params['QuerySystemModel']
|
337
528
|
end
|
338
529
|
end
|
339
530
|
|
@@ -341,7 +532,7 @@ module TencentCloud
|
|
341
532
|
class DescribeDataSourceListResponse < TencentCloud::Common::AbstractModel
|
342
533
|
# @param Data: data 数据
|
343
534
|
# @type Data: :class:`Tencentcloud::Lowcode.v20210108.models.DataSourceDetailItems`
|
344
|
-
# @param RequestId: 唯一请求 ID
|
535
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
345
536
|
# @type RequestId: String
|
346
537
|
|
347
538
|
attr_accessor :Data, :RequestId
|
@@ -360,6 +551,763 @@ module TencentCloud
|
|
360
551
|
end
|
361
552
|
end
|
362
553
|
|
554
|
+
# DescribeKnowledgeDocumentSetDetail请求参数结构体
|
555
|
+
class DescribeKnowledgeDocumentSetDetailRequest < TencentCloud::Common::AbstractModel
|
556
|
+
# @param CollectionView: 知识库标识
|
557
|
+
# @type CollectionView: String
|
558
|
+
# @param DocumentSetName: 文件名
|
559
|
+
# @type DocumentSetName: String
|
560
|
+
# @param DocumentSetId: 文件id
|
561
|
+
# @type DocumentSetId: String
|
562
|
+
|
563
|
+
attr_accessor :CollectionView, :DocumentSetName, :DocumentSetId
|
564
|
+
|
565
|
+
def initialize(collectionview=nil, documentsetname=nil, documentsetid=nil)
|
566
|
+
@CollectionView = collectionview
|
567
|
+
@DocumentSetName = documentsetname
|
568
|
+
@DocumentSetId = documentsetid
|
569
|
+
end
|
570
|
+
|
571
|
+
def deserialize(params)
|
572
|
+
@CollectionView = params['CollectionView']
|
573
|
+
@DocumentSetName = params['DocumentSetName']
|
574
|
+
@DocumentSetId = params['DocumentSetId']
|
575
|
+
end
|
576
|
+
end
|
577
|
+
|
578
|
+
# DescribeKnowledgeDocumentSetDetail返回参数结构体
|
579
|
+
class DescribeKnowledgeDocumentSetDetailResponse < TencentCloud::Common::AbstractModel
|
580
|
+
# @param Data: 新增文件返回信息
|
581
|
+
# @type Data: :class:`Tencentcloud::Lowcode.v20210108.models.DescribeKnowledgeDocumentSetDetailRsp`
|
582
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
583
|
+
# @type RequestId: String
|
584
|
+
|
585
|
+
attr_accessor :Data, :RequestId
|
586
|
+
|
587
|
+
def initialize(data=nil, requestid=nil)
|
588
|
+
@Data = data
|
589
|
+
@RequestId = requestid
|
590
|
+
end
|
591
|
+
|
592
|
+
def deserialize(params)
|
593
|
+
unless params['Data'].nil?
|
594
|
+
@Data = DescribeKnowledgeDocumentSetDetailRsp.new
|
595
|
+
@Data.deserialize(params['Data'])
|
596
|
+
end
|
597
|
+
@RequestId = params['RequestId']
|
598
|
+
end
|
599
|
+
end
|
600
|
+
|
601
|
+
# 上传知识库文档返回结果
|
602
|
+
class DescribeKnowledgeDocumentSetDetailRsp < TencentCloud::Common::AbstractModel
|
603
|
+
# @param Count: 获取的数量。
|
604
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
605
|
+
# @type Count: Integer
|
606
|
+
# @param DocumentSet: 文档信息
|
607
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
608
|
+
# @type DocumentSet: :class:`Tencentcloud::Lowcode.v20210108.models.KnowledgeDocumentSet`
|
609
|
+
|
610
|
+
attr_accessor :Count, :DocumentSet
|
611
|
+
|
612
|
+
def initialize(count=nil, documentset=nil)
|
613
|
+
@Count = count
|
614
|
+
@DocumentSet = documentset
|
615
|
+
end
|
616
|
+
|
617
|
+
def deserialize(params)
|
618
|
+
@Count = params['Count']
|
619
|
+
unless params['DocumentSet'].nil?
|
620
|
+
@DocumentSet = KnowledgeDocumentSet.new
|
621
|
+
@DocumentSet.deserialize(params['DocumentSet'])
|
622
|
+
end
|
623
|
+
end
|
624
|
+
end
|
625
|
+
|
626
|
+
# DescribeKnowledgeDocumentSetList请求参数结构体
|
627
|
+
class DescribeKnowledgeDocumentSetListRequest < TencentCloud::Common::AbstractModel
|
628
|
+
# @param CollectionView: 知识库标识
|
629
|
+
# @type CollectionView: String
|
630
|
+
# @param Query: 查询条件
|
631
|
+
# @type Query: :class:`Tencentcloud::Lowcode.v20210108.models.PageQuery`
|
632
|
+
|
633
|
+
attr_accessor :CollectionView, :Query
|
634
|
+
|
635
|
+
def initialize(collectionview=nil, query=nil)
|
636
|
+
@CollectionView = collectionview
|
637
|
+
@Query = query
|
638
|
+
end
|
639
|
+
|
640
|
+
def deserialize(params)
|
641
|
+
@CollectionView = params['CollectionView']
|
642
|
+
unless params['Query'].nil?
|
643
|
+
@Query = PageQuery.new
|
644
|
+
@Query.deserialize(params['Query'])
|
645
|
+
end
|
646
|
+
end
|
647
|
+
end
|
648
|
+
|
649
|
+
# DescribeKnowledgeDocumentSetList返回参数结构体
|
650
|
+
class DescribeKnowledgeDocumentSetListResponse < TencentCloud::Common::AbstractModel
|
651
|
+
# @param Data: 新增文件返回信息
|
652
|
+
# @type Data: :class:`Tencentcloud::Lowcode.v20210108.models.DescribeKnowledgeDocumentSetListRsp`
|
653
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
654
|
+
# @type RequestId: String
|
655
|
+
|
656
|
+
attr_accessor :Data, :RequestId
|
657
|
+
|
658
|
+
def initialize(data=nil, requestid=nil)
|
659
|
+
@Data = data
|
660
|
+
@RequestId = requestid
|
661
|
+
end
|
662
|
+
|
663
|
+
def deserialize(params)
|
664
|
+
unless params['Data'].nil?
|
665
|
+
@Data = DescribeKnowledgeDocumentSetListRsp.new
|
666
|
+
@Data.deserialize(params['Data'])
|
667
|
+
end
|
668
|
+
@RequestId = params['RequestId']
|
669
|
+
end
|
670
|
+
end
|
671
|
+
|
672
|
+
# 删除文档出参
|
673
|
+
class DescribeKnowledgeDocumentSetListRsp < TencentCloud::Common::AbstractModel
|
674
|
+
# @param DocumentSets: 文件集
|
675
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
676
|
+
# @type DocumentSets: Array
|
677
|
+
# @param Count: 条数
|
678
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
679
|
+
# @type Count: Integer
|
680
|
+
|
681
|
+
attr_accessor :DocumentSets, :Count
|
682
|
+
|
683
|
+
def initialize(documentsets=nil, count=nil)
|
684
|
+
@DocumentSets = documentsets
|
685
|
+
@Count = count
|
686
|
+
end
|
687
|
+
|
688
|
+
def deserialize(params)
|
689
|
+
unless params['DocumentSets'].nil?
|
690
|
+
@DocumentSets = []
|
691
|
+
params['DocumentSets'].each do |i|
|
692
|
+
qureyknowledgedocumentset_tmp = QureyKnowledgeDocumentSet.new
|
693
|
+
qureyknowledgedocumentset_tmp.deserialize(i)
|
694
|
+
@DocumentSets << qureyknowledgedocumentset_tmp
|
695
|
+
end
|
696
|
+
end
|
697
|
+
@Count = params['Count']
|
698
|
+
end
|
699
|
+
end
|
700
|
+
|
701
|
+
# DescribeKnowledgeSetList请求参数结构体
|
702
|
+
class DescribeKnowledgeSetListRequest < TencentCloud::Common::AbstractModel
|
703
|
+
# @param Name: 知识库标识,精准查询
|
704
|
+
# @type Name: String
|
705
|
+
# @param Title: 知识库名称,精准查询
|
706
|
+
# @type Title: String
|
707
|
+
# @param Limit: 查询条数
|
708
|
+
# @type Limit: Integer
|
709
|
+
# @param QueryMode: NoPage标识不分页
|
710
|
+
# @type QueryMode: String
|
711
|
+
|
712
|
+
attr_accessor :Name, :Title, :Limit, :QueryMode
|
713
|
+
|
714
|
+
def initialize(name=nil, title=nil, limit=nil, querymode=nil)
|
715
|
+
@Name = name
|
716
|
+
@Title = title
|
717
|
+
@Limit = limit
|
718
|
+
@QueryMode = querymode
|
719
|
+
end
|
720
|
+
|
721
|
+
def deserialize(params)
|
722
|
+
@Name = params['Name']
|
723
|
+
@Title = params['Title']
|
724
|
+
@Limit = params['Limit']
|
725
|
+
@QueryMode = params['QueryMode']
|
726
|
+
end
|
727
|
+
end
|
728
|
+
|
729
|
+
# DescribeKnowledgeSetList返回参数结构体
|
730
|
+
class DescribeKnowledgeSetListResponse < TencentCloud::Common::AbstractModel
|
731
|
+
# @param Data: 知识库列表
|
732
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
733
|
+
# @type Data: :class:`Tencentcloud::Lowcode.v20210108.models.KnowledgeSetRsp`
|
734
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
735
|
+
# @type RequestId: String
|
736
|
+
|
737
|
+
attr_accessor :Data, :RequestId
|
738
|
+
|
739
|
+
def initialize(data=nil, requestid=nil)
|
740
|
+
@Data = data
|
741
|
+
@RequestId = requestid
|
742
|
+
end
|
743
|
+
|
744
|
+
def deserialize(params)
|
745
|
+
unless params['Data'].nil?
|
746
|
+
@Data = KnowledgeSetRsp.new
|
747
|
+
@Data.deserialize(params['Data'])
|
748
|
+
end
|
749
|
+
@RequestId = params['RequestId']
|
750
|
+
end
|
751
|
+
end
|
752
|
+
|
753
|
+
# 删除文档时查询入参
|
754
|
+
class DocumentQuery < TencentCloud::Common::AbstractModel
|
755
|
+
# @param DocumentSetId: 文件ids
|
756
|
+
# @type DocumentSetId: Array
|
757
|
+
# @param DocumentSetName: 文件名集合
|
758
|
+
# @type DocumentSetName: Array
|
759
|
+
# @param Filter: 使用创建 CollectionView 指定的 Filter 索引的字段设置查询过滤表达式
|
760
|
+
# @type Filter: String
|
761
|
+
|
762
|
+
attr_accessor :DocumentSetId, :DocumentSetName, :Filter
|
763
|
+
|
764
|
+
def initialize(documentsetid=nil, documentsetname=nil, filter=nil)
|
765
|
+
@DocumentSetId = documentsetid
|
766
|
+
@DocumentSetName = documentsetname
|
767
|
+
@Filter = filter
|
768
|
+
end
|
769
|
+
|
770
|
+
def deserialize(params)
|
771
|
+
@DocumentSetId = params['DocumentSetId']
|
772
|
+
@DocumentSetName = params['DocumentSetName']
|
773
|
+
@Filter = params['Filter']
|
774
|
+
end
|
775
|
+
end
|
776
|
+
|
777
|
+
# 文档信息
|
778
|
+
class KnowledgeDocumentSet < TencentCloud::Common::AbstractModel
|
779
|
+
# @param DocumentSetId: 文档id
|
780
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
781
|
+
# @type DocumentSetId: String
|
782
|
+
# @param DocumentSetName: 文档名
|
783
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
784
|
+
# @type DocumentSetName: String
|
785
|
+
# @param Text: 文件完整内容。
|
786
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
787
|
+
# @type Text: String
|
788
|
+
# @param TextPrefix: 文件内容前 200个字符。
|
789
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
790
|
+
# @type TextPrefix: String
|
791
|
+
# @param DocumentSetInfo: 文件详情
|
792
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
793
|
+
# @type DocumentSetInfo: :class:`Tencentcloud::Lowcode.v20210108.models.KnowledgeDocumentSetInfo`
|
794
|
+
# @param SplitterPreprocess: 文件拆分信息
|
795
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
796
|
+
# @type SplitterPreprocess: :class:`Tencentcloud::Lowcode.v20210108.models.KnowledgeSplitterPreprocess`
|
797
|
+
# @param Name: 未使用
|
798
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
799
|
+
# @type Name: String
|
800
|
+
# @param FileTitle: 文档标题
|
801
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
802
|
+
# @type FileTitle: String
|
803
|
+
# @param FileMetaData: 文档元信息,必须为jsonstring
|
804
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
805
|
+
# @type FileMetaData: String
|
806
|
+
# @param Author: 作者
|
807
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
808
|
+
# @type Author: String
|
809
|
+
|
810
|
+
attr_accessor :DocumentSetId, :DocumentSetName, :Text, :TextPrefix, :DocumentSetInfo, :SplitterPreprocess, :Name, :FileTitle, :FileMetaData, :Author
|
811
|
+
|
812
|
+
def initialize(documentsetid=nil, documentsetname=nil, text=nil, textprefix=nil, documentsetinfo=nil, splitterpreprocess=nil, name=nil, filetitle=nil, filemetadata=nil, author=nil)
|
813
|
+
@DocumentSetId = documentsetid
|
814
|
+
@DocumentSetName = documentsetname
|
815
|
+
@Text = text
|
816
|
+
@TextPrefix = textprefix
|
817
|
+
@DocumentSetInfo = documentsetinfo
|
818
|
+
@SplitterPreprocess = splitterpreprocess
|
819
|
+
@Name = name
|
820
|
+
@FileTitle = filetitle
|
821
|
+
@FileMetaData = filemetadata
|
822
|
+
@Author = author
|
823
|
+
end
|
824
|
+
|
825
|
+
def deserialize(params)
|
826
|
+
@DocumentSetId = params['DocumentSetId']
|
827
|
+
@DocumentSetName = params['DocumentSetName']
|
828
|
+
@Text = params['Text']
|
829
|
+
@TextPrefix = params['TextPrefix']
|
830
|
+
unless params['DocumentSetInfo'].nil?
|
831
|
+
@DocumentSetInfo = KnowledgeDocumentSetInfo.new
|
832
|
+
@DocumentSetInfo.deserialize(params['DocumentSetInfo'])
|
833
|
+
end
|
834
|
+
unless params['SplitterPreprocess'].nil?
|
835
|
+
@SplitterPreprocess = KnowledgeSplitterPreprocess.new
|
836
|
+
@SplitterPreprocess.deserialize(params['SplitterPreprocess'])
|
837
|
+
end
|
838
|
+
@Name = params['Name']
|
839
|
+
@FileTitle = params['FileTitle']
|
840
|
+
@FileMetaData = params['FileMetaData']
|
841
|
+
@Author = params['Author']
|
842
|
+
end
|
843
|
+
end
|
844
|
+
|
845
|
+
# 文档信息
|
846
|
+
class KnowledgeDocumentSetInfo < TencentCloud::Common::AbstractModel
|
847
|
+
# @param TextLength: 文件的字符数。
|
848
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
849
|
+
# @type TextLength: Integer
|
850
|
+
# @param ByteLength: 文件的字节数。
|
851
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
852
|
+
# @type ByteLength: Integer
|
853
|
+
# @param IndexedProgress: 文件被预处理、Embedding 向量化的进度。
|
854
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
855
|
+
# @type IndexedProgress: Integer
|
856
|
+
# @param IndexedStatus: 文件预处理、Embedding 向量化的状态。
|
857
|
+
# New:等待解析。
|
858
|
+
# Loading:文件解析中。
|
859
|
+
# Failure:文件解析、写入出错。
|
860
|
+
# Ready:文件解析、写入完成。
|
861
|
+
|
862
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
863
|
+
# @type IndexedStatus: String
|
864
|
+
# @param CreateTime: 文件创建时间。
|
865
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
866
|
+
# @type CreateTime: String
|
867
|
+
# @param LastUpdateTime: 文件最后更新时间。
|
868
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
869
|
+
# @type LastUpdateTime: String
|
870
|
+
# @param Keywords: 文件关键字。
|
871
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
872
|
+
# @type Keywords: String
|
873
|
+
|
874
|
+
attr_accessor :TextLength, :ByteLength, :IndexedProgress, :IndexedStatus, :CreateTime, :LastUpdateTime, :Keywords
|
875
|
+
|
876
|
+
def initialize(textlength=nil, bytelength=nil, indexedprogress=nil, indexedstatus=nil, createtime=nil, lastupdatetime=nil, keywords=nil)
|
877
|
+
@TextLength = textlength
|
878
|
+
@ByteLength = bytelength
|
879
|
+
@IndexedProgress = indexedprogress
|
880
|
+
@IndexedStatus = indexedstatus
|
881
|
+
@CreateTime = createtime
|
882
|
+
@LastUpdateTime = lastupdatetime
|
883
|
+
@Keywords = keywords
|
884
|
+
end
|
885
|
+
|
886
|
+
def deserialize(params)
|
887
|
+
@TextLength = params['TextLength']
|
888
|
+
@ByteLength = params['ByteLength']
|
889
|
+
@IndexedProgress = params['IndexedProgress']
|
890
|
+
@IndexedStatus = params['IndexedStatus']
|
891
|
+
@CreateTime = params['CreateTime']
|
892
|
+
@LastUpdateTime = params['LastUpdateTime']
|
893
|
+
@Keywords = params['Keywords']
|
894
|
+
end
|
895
|
+
end
|
896
|
+
|
897
|
+
# 知识库信息
|
898
|
+
class KnowledgeSet < TencentCloud::Common::AbstractModel
|
899
|
+
# @param Name: 知识库标识
|
900
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
901
|
+
# @type Name: String
|
902
|
+
# @param Title: 知识库名称
|
903
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
904
|
+
# @type Title: String
|
905
|
+
# @param Desc: 描述
|
906
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
907
|
+
# @type Desc: String
|
908
|
+
# @param Active: 状态,
|
909
|
+
# NOT_ENABLED未启用
|
910
|
+
# ENABLED 已启用
|
911
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
912
|
+
# @type Active: String
|
913
|
+
# @param CreateTime: 创建时间
|
914
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
915
|
+
# @type CreateTime: String
|
916
|
+
# @param UpdateTime: 更新时间
|
917
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
918
|
+
# @type UpdateTime: String
|
919
|
+
|
920
|
+
attr_accessor :Name, :Title, :Desc, :Active, :CreateTime, :UpdateTime
|
921
|
+
|
922
|
+
def initialize(name=nil, title=nil, desc=nil, active=nil, createtime=nil, updatetime=nil)
|
923
|
+
@Name = name
|
924
|
+
@Title = title
|
925
|
+
@Desc = desc
|
926
|
+
@Active = active
|
927
|
+
@CreateTime = createtime
|
928
|
+
@UpdateTime = updatetime
|
929
|
+
end
|
930
|
+
|
931
|
+
def deserialize(params)
|
932
|
+
@Name = params['Name']
|
933
|
+
@Title = params['Title']
|
934
|
+
@Desc = params['Desc']
|
935
|
+
@Active = params['Active']
|
936
|
+
@CreateTime = params['CreateTime']
|
937
|
+
@UpdateTime = params['UpdateTime']
|
938
|
+
end
|
939
|
+
end
|
940
|
+
|
941
|
+
# 查询知识库列表返回
|
942
|
+
class KnowledgeSetRsp < TencentCloud::Common::AbstractModel
|
943
|
+
# @param Total: 总数
|
944
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
945
|
+
# @type Total: Integer
|
946
|
+
# @param KnowledgeSets: 知识库列表
|
947
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
948
|
+
# @type KnowledgeSets: Array
|
949
|
+
|
950
|
+
attr_accessor :Total, :KnowledgeSets
|
951
|
+
|
952
|
+
def initialize(total=nil, knowledgesets=nil)
|
953
|
+
@Total = total
|
954
|
+
@KnowledgeSets = knowledgesets
|
955
|
+
end
|
956
|
+
|
957
|
+
def deserialize(params)
|
958
|
+
@Total = params['Total']
|
959
|
+
unless params['KnowledgeSets'].nil?
|
960
|
+
@KnowledgeSets = []
|
961
|
+
params['KnowledgeSets'].each do |i|
|
962
|
+
knowledgeset_tmp = KnowledgeSet.new
|
963
|
+
knowledgeset_tmp.deserialize(i)
|
964
|
+
@KnowledgeSets << knowledgeset_tmp
|
965
|
+
end
|
966
|
+
end
|
967
|
+
end
|
968
|
+
end
|
969
|
+
|
970
|
+
# 文件拆分信息
|
971
|
+
class KnowledgeSplitterPreprocess < TencentCloud::Common::AbstractModel
|
972
|
+
# @param AppendTitleToChunk: 在对文件拆分时,配置是否将 Title 追加到切分后的段落后面一并 Embedding。取值如下所示:
|
973
|
+
# false:不追加。
|
974
|
+
# true:将段落 Title 追加到切分后的段落。
|
975
|
+
|
976
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
977
|
+
# @type AppendTitleToChunk: Boolean
|
978
|
+
# @param AppendKeywordsToChunk: 在对文件拆分时,配置是否将关键字 keywords 追加到切分后的段落一并 Embedding。取值如下所示:
|
979
|
+
# false:不追加。
|
980
|
+
# true:将全文的 keywords 追加到切分后的段落。
|
981
|
+
|
982
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
983
|
+
# @type AppendKeywordsToChunk: Boolean
|
984
|
+
|
985
|
+
attr_accessor :AppendTitleToChunk, :AppendKeywordsToChunk
|
986
|
+
|
987
|
+
def initialize(appendtitletochunk=nil, appendkeywordstochunk=nil)
|
988
|
+
@AppendTitleToChunk = appendtitletochunk
|
989
|
+
@AppendKeywordsToChunk = appendkeywordstochunk
|
990
|
+
end
|
991
|
+
|
992
|
+
def deserialize(params)
|
993
|
+
@AppendTitleToChunk = params['AppendTitleToChunk']
|
994
|
+
@AppendKeywordsToChunk = params['AppendKeywordsToChunk']
|
995
|
+
end
|
996
|
+
end
|
997
|
+
|
998
|
+
# 查询条件
|
999
|
+
class PageQuery < TencentCloud::Common::AbstractModel
|
1000
|
+
# @param DocumentSetId: 文件id数组,表示要查询的文件的所有 ID,支持批量查询,数组元素范围[1,20]。
|
1001
|
+
# @type DocumentSetId: Array
|
1002
|
+
# @param DocumentSetName: 表示要查询的文档名称,支持批量查询,数组元素范围[1,20]。
|
1003
|
+
# @type DocumentSetName: Array
|
1004
|
+
# @param Limit: 取值范围:[1,16384]
|
1005
|
+
# @type Limit: Integer
|
1006
|
+
# @param Offset: 设置分页偏移量,用于控制分页查询返回结果的起始位置,方便用户对数据进行分页展示和浏览。
|
1007
|
+
# 取值:为 limit 整数倍。
|
1008
|
+
# 计算公式:offset=limit*(page-1)。
|
1009
|
+
# 例如:当 limit = 10,page = 2 时,分页偏移量 offset = 10 * (2 - 1) = 10,表示从查询结果的第 11 条记录开始返回数据。
|
1010
|
+
# @type Offset: Integer
|
1011
|
+
# @param OutputFields: 设置后,其他字段为空值
|
1012
|
+
# @type OutputFields: Array
|
1013
|
+
# @param Filter: 使用创建 CollectionView 指定的 Filter 索引的字段设置查询过滤表达式。
|
1014
|
+
# @type Filter: String
|
1015
|
+
|
1016
|
+
attr_accessor :DocumentSetId, :DocumentSetName, :Limit, :Offset, :OutputFields, :Filter
|
1017
|
+
|
1018
|
+
def initialize(documentsetid=nil, documentsetname=nil, limit=nil, offset=nil, outputfields=nil, filter=nil)
|
1019
|
+
@DocumentSetId = documentsetid
|
1020
|
+
@DocumentSetName = documentsetname
|
1021
|
+
@Limit = limit
|
1022
|
+
@Offset = offset
|
1023
|
+
@OutputFields = outputfields
|
1024
|
+
@Filter = filter
|
1025
|
+
end
|
1026
|
+
|
1027
|
+
def deserialize(params)
|
1028
|
+
@DocumentSetId = params['DocumentSetId']
|
1029
|
+
@DocumentSetName = params['DocumentSetName']
|
1030
|
+
@Limit = params['Limit']
|
1031
|
+
@Offset = params['Offset']
|
1032
|
+
@OutputFields = params['OutputFields']
|
1033
|
+
@Filter = params['Filter']
|
1034
|
+
end
|
1035
|
+
end
|
1036
|
+
|
1037
|
+
# 搜索数据的集合
|
1038
|
+
class QureyKnowledgeDocumentSet < TencentCloud::Common::AbstractModel
|
1039
|
+
# @param DocumentSetId: 文件id
|
1040
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1041
|
+
# @type DocumentSetId: String
|
1042
|
+
# @param DocumentSetName: 文件名
|
1043
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1044
|
+
# @type DocumentSetName: String
|
1045
|
+
# @param TextPrefix: 文件内容前 200个字符。
|
1046
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1047
|
+
# @type TextPrefix: String
|
1048
|
+
# @param SplitterPreprocess: 文件拆分信息
|
1049
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1050
|
+
# @type SplitterPreprocess: :class:`Tencentcloud::Lowcode.v20210108.models.KnowledgeSplitterPreprocess`
|
1051
|
+
# @param DocumentSetInfo: 文件详情
|
1052
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1053
|
+
# @type DocumentSetInfo: :class:`Tencentcloud::Lowcode.v20210108.models.QureyKnowledgeDocumentSetInfo`
|
1054
|
+
# @param FileTitle: 文件标题
|
1055
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1056
|
+
# @type FileTitle: String
|
1057
|
+
# @param FileMetaData: 文件元信息,必须为jsonstring
|
1058
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1059
|
+
# @type FileMetaData: String
|
1060
|
+
# @param Name: name
|
1061
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1062
|
+
# @type Name: String
|
1063
|
+
# @param Author: 作者
|
1064
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1065
|
+
# @type Author: String
|
1066
|
+
|
1067
|
+
attr_accessor :DocumentSetId, :DocumentSetName, :TextPrefix, :SplitterPreprocess, :DocumentSetInfo, :FileTitle, :FileMetaData, :Name, :Author
|
1068
|
+
|
1069
|
+
def initialize(documentsetid=nil, documentsetname=nil, textprefix=nil, splitterpreprocess=nil, documentsetinfo=nil, filetitle=nil, filemetadata=nil, name=nil, author=nil)
|
1070
|
+
@DocumentSetId = documentsetid
|
1071
|
+
@DocumentSetName = documentsetname
|
1072
|
+
@TextPrefix = textprefix
|
1073
|
+
@SplitterPreprocess = splitterpreprocess
|
1074
|
+
@DocumentSetInfo = documentsetinfo
|
1075
|
+
@FileTitle = filetitle
|
1076
|
+
@FileMetaData = filemetadata
|
1077
|
+
@Name = name
|
1078
|
+
@Author = author
|
1079
|
+
end
|
1080
|
+
|
1081
|
+
def deserialize(params)
|
1082
|
+
@DocumentSetId = params['DocumentSetId']
|
1083
|
+
@DocumentSetName = params['DocumentSetName']
|
1084
|
+
@TextPrefix = params['TextPrefix']
|
1085
|
+
unless params['SplitterPreprocess'].nil?
|
1086
|
+
@SplitterPreprocess = KnowledgeSplitterPreprocess.new
|
1087
|
+
@SplitterPreprocess.deserialize(params['SplitterPreprocess'])
|
1088
|
+
end
|
1089
|
+
unless params['DocumentSetInfo'].nil?
|
1090
|
+
@DocumentSetInfo = QureyKnowledgeDocumentSetInfo.new
|
1091
|
+
@DocumentSetInfo.deserialize(params['DocumentSetInfo'])
|
1092
|
+
end
|
1093
|
+
@FileTitle = params['FileTitle']
|
1094
|
+
@FileMetaData = params['FileMetaData']
|
1095
|
+
@Name = params['Name']
|
1096
|
+
@Author = params['Author']
|
1097
|
+
end
|
1098
|
+
end
|
1099
|
+
|
1100
|
+
# 查询文件集合信息详情
|
1101
|
+
class QureyKnowledgeDocumentSetInfo < TencentCloud::Common::AbstractModel
|
1102
|
+
# @param TextLength: 文件的字符数。
|
1103
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1104
|
+
# @type TextLength: Integer
|
1105
|
+
# @param ByteLength: 文件的字节数。
|
1106
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1107
|
+
# @type ByteLength: Integer
|
1108
|
+
# @param IndexedProgress: 文件被预处理、Embedding 向量化的进度。
|
1109
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1110
|
+
# @type IndexedProgress: Integer
|
1111
|
+
# @param IndexedStatus: 文件预处理、Embedding 向量化的状态。
|
1112
|
+
# New:等待解析。
|
1113
|
+
# Loading:文件解析中。
|
1114
|
+
# Failure:文件解析、写入出错。
|
1115
|
+
# Ready:文件解析、写入完成。
|
1116
|
+
|
1117
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1118
|
+
# @type IndexedStatus: String
|
1119
|
+
# @param IndexedErrorMsg: 错误信息
|
1120
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1121
|
+
# @type IndexedErrorMsg: String
|
1122
|
+
# @param CreateTime: 文件创建时间。
|
1123
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1124
|
+
# @type CreateTime: String
|
1125
|
+
# @param LastUpdateTime: 文件最后更新时间。
|
1126
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1127
|
+
# @type LastUpdateTime: String
|
1128
|
+
# @param Keywords: 文件关键字。
|
1129
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1130
|
+
# @type Keywords: String
|
1131
|
+
|
1132
|
+
attr_accessor :TextLength, :ByteLength, :IndexedProgress, :IndexedStatus, :IndexedErrorMsg, :CreateTime, :LastUpdateTime, :Keywords
|
1133
|
+
|
1134
|
+
def initialize(textlength=nil, bytelength=nil, indexedprogress=nil, indexedstatus=nil, indexederrormsg=nil, createtime=nil, lastupdatetime=nil, keywords=nil)
|
1135
|
+
@TextLength = textlength
|
1136
|
+
@ByteLength = bytelength
|
1137
|
+
@IndexedProgress = indexedprogress
|
1138
|
+
@IndexedStatus = indexedstatus
|
1139
|
+
@IndexedErrorMsg = indexederrormsg
|
1140
|
+
@CreateTime = createtime
|
1141
|
+
@LastUpdateTime = lastupdatetime
|
1142
|
+
@Keywords = keywords
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
def deserialize(params)
|
1146
|
+
@TextLength = params['TextLength']
|
1147
|
+
@ByteLength = params['ByteLength']
|
1148
|
+
@IndexedProgress = params['IndexedProgress']
|
1149
|
+
@IndexedStatus = params['IndexedStatus']
|
1150
|
+
@IndexedErrorMsg = params['IndexedErrorMsg']
|
1151
|
+
@CreateTime = params['CreateTime']
|
1152
|
+
@LastUpdateTime = params['LastUpdateTime']
|
1153
|
+
@Keywords = params['Keywords']
|
1154
|
+
end
|
1155
|
+
end
|
1156
|
+
|
1157
|
+
# 数据源关联的的信息
|
1158
|
+
class RelationField < TencentCloud::Common::AbstractModel
|
1159
|
+
# @param Field: 关联关系字段
|
1160
|
+
# @type Field: String
|
1161
|
+
# @param Format: 关联关系格式
|
1162
|
+
# @type Format: String
|
1163
|
+
# @param RelateDataSourceName: 关联数据源名称
|
1164
|
+
# @type RelateDataSourceName: String
|
1165
|
+
|
1166
|
+
attr_accessor :Field, :Format, :RelateDataSourceName
|
1167
|
+
|
1168
|
+
def initialize(field=nil, format=nil, relatedatasourcename=nil)
|
1169
|
+
@Field = field
|
1170
|
+
@Format = format
|
1171
|
+
@RelateDataSourceName = relatedatasourcename
|
1172
|
+
end
|
1173
|
+
|
1174
|
+
def deserialize(params)
|
1175
|
+
@Field = params['Field']
|
1176
|
+
@Format = params['Format']
|
1177
|
+
@RelateDataSourceName = params['RelateDataSourceName']
|
1178
|
+
end
|
1179
|
+
end
|
1180
|
+
|
1181
|
+
# 知识库搜索文档信息
|
1182
|
+
class SearchDocInfo < TencentCloud::Common::AbstractModel
|
1183
|
+
# @param CollectionViewName: 知识库名称
|
1184
|
+
# @type CollectionViewName: String
|
1185
|
+
# @param DocSetId: 文档Id
|
1186
|
+
# @type DocSetId: String
|
1187
|
+
# @param DocSetName: 文档Name
|
1188
|
+
# @type DocSetName: String
|
1189
|
+
# @param DocType: 文档类型
|
1190
|
+
# @type DocType: String
|
1191
|
+
# @param FileTitle: 文档标题
|
1192
|
+
# @type FileTitle: String
|
1193
|
+
# @param FileMetaData: 文档元信息
|
1194
|
+
# @type FileMetaData: String
|
1195
|
+
# @param DocDesc: 文档描述
|
1196
|
+
# @type DocDesc: String
|
1197
|
+
# @param FileSize: 文档大小
|
1198
|
+
# @type FileSize: Integer
|
1199
|
+
|
1200
|
+
attr_accessor :CollectionViewName, :DocSetId, :DocSetName, :DocType, :FileTitle, :FileMetaData, :DocDesc, :FileSize
|
1201
|
+
|
1202
|
+
def initialize(collectionviewname=nil, docsetid=nil, docsetname=nil, doctype=nil, filetitle=nil, filemetadata=nil, docdesc=nil, filesize=nil)
|
1203
|
+
@CollectionViewName = collectionviewname
|
1204
|
+
@DocSetId = docsetid
|
1205
|
+
@DocSetName = docsetname
|
1206
|
+
@DocType = doctype
|
1207
|
+
@FileTitle = filetitle
|
1208
|
+
@FileMetaData = filemetadata
|
1209
|
+
@DocDesc = docdesc
|
1210
|
+
@FileSize = filesize
|
1211
|
+
end
|
1212
|
+
|
1213
|
+
def deserialize(params)
|
1214
|
+
@CollectionViewName = params['CollectionViewName']
|
1215
|
+
@DocSetId = params['DocSetId']
|
1216
|
+
@DocSetName = params['DocSetName']
|
1217
|
+
@DocType = params['DocType']
|
1218
|
+
@FileTitle = params['FileTitle']
|
1219
|
+
@FileMetaData = params['FileMetaData']
|
1220
|
+
@DocDesc = params['DocDesc']
|
1221
|
+
@FileSize = params['FileSize']
|
1222
|
+
end
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
# SearchDocList请求参数结构体
|
1226
|
+
class SearchDocListRequest < TencentCloud::Common::AbstractModel
|
1227
|
+
# @param EnvId: 环境ID
|
1228
|
+
# @type EnvId: String
|
1229
|
+
# @param CollectionView: 知识库名称
|
1230
|
+
# @type CollectionView: String
|
1231
|
+
# @param SearchKey: 搜索模式
|
1232
|
+
# @type SearchKey: String
|
1233
|
+
# @param SearchValue: 搜索值
|
1234
|
+
# @type SearchValue: String
|
1235
|
+
# @param PageNo: 页码
|
1236
|
+
# @type PageNo: Integer
|
1237
|
+
# @param PageSize: 页大小
|
1238
|
+
# @type PageSize: Integer
|
1239
|
+
|
1240
|
+
attr_accessor :EnvId, :CollectionView, :SearchKey, :SearchValue, :PageNo, :PageSize
|
1241
|
+
|
1242
|
+
def initialize(envid=nil, collectionview=nil, searchkey=nil, searchvalue=nil, pageno=nil, pagesize=nil)
|
1243
|
+
@EnvId = envid
|
1244
|
+
@CollectionView = collectionview
|
1245
|
+
@SearchKey = searchkey
|
1246
|
+
@SearchValue = searchvalue
|
1247
|
+
@PageNo = pageno
|
1248
|
+
@PageSize = pagesize
|
1249
|
+
end
|
1250
|
+
|
1251
|
+
def deserialize(params)
|
1252
|
+
@EnvId = params['EnvId']
|
1253
|
+
@CollectionView = params['CollectionView']
|
1254
|
+
@SearchKey = params['SearchKey']
|
1255
|
+
@SearchValue = params['SearchValue']
|
1256
|
+
@PageNo = params['PageNo']
|
1257
|
+
@PageSize = params['PageSize']
|
1258
|
+
end
|
1259
|
+
end
|
1260
|
+
|
1261
|
+
# SearchDocList返回参数结构体
|
1262
|
+
class SearchDocListResponse < TencentCloud::Common::AbstractModel
|
1263
|
+
# @param Data: 知识库文档搜索数据
|
1264
|
+
# @type Data: :class:`Tencentcloud::Lowcode.v20210108.models.SearchDocRsp`
|
1265
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1266
|
+
# @type RequestId: String
|
1267
|
+
|
1268
|
+
attr_accessor :Data, :RequestId
|
1269
|
+
|
1270
|
+
def initialize(data=nil, requestid=nil)
|
1271
|
+
@Data = data
|
1272
|
+
@RequestId = requestid
|
1273
|
+
end
|
1274
|
+
|
1275
|
+
def deserialize(params)
|
1276
|
+
unless params['Data'].nil?
|
1277
|
+
@Data = SearchDocRsp.new
|
1278
|
+
@Data.deserialize(params['Data'])
|
1279
|
+
end
|
1280
|
+
@RequestId = params['RequestId']
|
1281
|
+
end
|
1282
|
+
end
|
1283
|
+
|
1284
|
+
# 知识库文档搜索结果
|
1285
|
+
class SearchDocRsp < TencentCloud::Common::AbstractModel
|
1286
|
+
# @param DocInfos: 文档基本信息
|
1287
|
+
# @type DocInfos: Array
|
1288
|
+
# @param Total: 文档总数
|
1289
|
+
# @type Total: Integer
|
1290
|
+
|
1291
|
+
attr_accessor :DocInfos, :Total
|
1292
|
+
|
1293
|
+
def initialize(docinfos=nil, total=nil)
|
1294
|
+
@DocInfos = docinfos
|
1295
|
+
@Total = total
|
1296
|
+
end
|
1297
|
+
|
1298
|
+
def deserialize(params)
|
1299
|
+
unless params['DocInfos'].nil?
|
1300
|
+
@DocInfos = []
|
1301
|
+
params['DocInfos'].each do |i|
|
1302
|
+
searchdocinfo_tmp = SearchDocInfo.new
|
1303
|
+
searchdocinfo_tmp.deserialize(i)
|
1304
|
+
@DocInfos << searchdocinfo_tmp
|
1305
|
+
end
|
1306
|
+
end
|
1307
|
+
@Total = params['Total']
|
1308
|
+
end
|
1309
|
+
end
|
1310
|
+
|
363
1311
|
# 数据源授权信息
|
364
1312
|
class TicketAuthInfo < TencentCloud::Common::AbstractModel
|
365
1313
|
# @param AuthUser: 授权用户
|
@@ -376,6 +1324,149 @@ module TencentCloud
|
|
376
1324
|
end
|
377
1325
|
end
|
378
1326
|
|
1327
|
+
# UpdateKnowledgeSet请求参数结构体
|
1328
|
+
class UpdateKnowledgeSetRequest < TencentCloud::Common::AbstractModel
|
1329
|
+
# @param Name: 知识库标识
|
1330
|
+
# @type Name: String
|
1331
|
+
# @param Title: 知识库名称
|
1332
|
+
# @type Title: String
|
1333
|
+
# @param Desc: 描述
|
1334
|
+
# @type Desc: String
|
1335
|
+
# @param Active: 状态;ENABLED启用;NOT_ENABLED不启用
|
1336
|
+
# @type Active: String
|
1337
|
+
|
1338
|
+
attr_accessor :Name, :Title, :Desc, :Active
|
1339
|
+
|
1340
|
+
def initialize(name=nil, title=nil, desc=nil, active=nil)
|
1341
|
+
@Name = name
|
1342
|
+
@Title = title
|
1343
|
+
@Desc = desc
|
1344
|
+
@Active = active
|
1345
|
+
end
|
1346
|
+
|
1347
|
+
def deserialize(params)
|
1348
|
+
@Name = params['Name']
|
1349
|
+
@Title = params['Title']
|
1350
|
+
@Desc = params['Desc']
|
1351
|
+
@Active = params['Active']
|
1352
|
+
end
|
1353
|
+
end
|
1354
|
+
|
1355
|
+
# UpdateKnowledgeSet返回参数结构体
|
1356
|
+
class UpdateKnowledgeSetResponse < TencentCloud::Common::AbstractModel
|
1357
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1358
|
+
# @type RequestId: String
|
1359
|
+
|
1360
|
+
attr_accessor :RequestId
|
1361
|
+
|
1362
|
+
def initialize(requestid=nil)
|
1363
|
+
@RequestId = requestid
|
1364
|
+
end
|
1365
|
+
|
1366
|
+
def deserialize(params)
|
1367
|
+
@RequestId = params['RequestId']
|
1368
|
+
end
|
1369
|
+
end
|
1370
|
+
|
1371
|
+
# UploadKnowledgeDocumentSet请求参数结构体
|
1372
|
+
class UploadKnowledgeDocumentSetRequest < TencentCloud::Common::AbstractModel
|
1373
|
+
# @param CollectionView: 知识库标识
|
1374
|
+
# @type CollectionView: String
|
1375
|
+
# @param FileName: 状态;ENABLED启用;NOT_ENABLED不启用
|
1376
|
+
# @type FileName: String
|
1377
|
+
# @param CosUrl: 文件存储位置的可读地址
|
1378
|
+
# @type CosUrl: String
|
1379
|
+
# @param DocumentType: 文件类型,例如: .docx, .md
|
1380
|
+
# @type DocumentType: String
|
1381
|
+
# @param DocumentDesc: 对文件的描述
|
1382
|
+
# @type DocumentDesc: String
|
1383
|
+
# @param FileTitle: 文件标题
|
1384
|
+
# @type FileTitle: String
|
1385
|
+
# @param FileMetaData: 文件元信息,为jsonstring
|
1386
|
+
# @type FileMetaData: String
|
1387
|
+
# @param DocumentSetId: 文件id
|
1388
|
+
# @type DocumentSetId: String
|
1389
|
+
|
1390
|
+
attr_accessor :CollectionView, :FileName, :CosUrl, :DocumentType, :DocumentDesc, :FileTitle, :FileMetaData, :DocumentSetId
|
1391
|
+
|
1392
|
+
def initialize(collectionview=nil, filename=nil, cosurl=nil, documenttype=nil, documentdesc=nil, filetitle=nil, filemetadata=nil, documentsetid=nil)
|
1393
|
+
@CollectionView = collectionview
|
1394
|
+
@FileName = filename
|
1395
|
+
@CosUrl = cosurl
|
1396
|
+
@DocumentType = documenttype
|
1397
|
+
@DocumentDesc = documentdesc
|
1398
|
+
@FileTitle = filetitle
|
1399
|
+
@FileMetaData = filemetadata
|
1400
|
+
@DocumentSetId = documentsetid
|
1401
|
+
end
|
1402
|
+
|
1403
|
+
def deserialize(params)
|
1404
|
+
@CollectionView = params['CollectionView']
|
1405
|
+
@FileName = params['FileName']
|
1406
|
+
@CosUrl = params['CosUrl']
|
1407
|
+
@DocumentType = params['DocumentType']
|
1408
|
+
@DocumentDesc = params['DocumentDesc']
|
1409
|
+
@FileTitle = params['FileTitle']
|
1410
|
+
@FileMetaData = params['FileMetaData']
|
1411
|
+
@DocumentSetId = params['DocumentSetId']
|
1412
|
+
end
|
1413
|
+
end
|
1414
|
+
|
1415
|
+
# UploadKnowledgeDocumentSet返回参数结构体
|
1416
|
+
class UploadKnowledgeDocumentSetResponse < TencentCloud::Common::AbstractModel
|
1417
|
+
# @param Data: 新增文件返回信息
|
1418
|
+
# @type Data: :class:`Tencentcloud::Lowcode.v20210108.models.UploadKnowledgeDocumentSetRsp`
|
1419
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1420
|
+
# @type RequestId: String
|
1421
|
+
|
1422
|
+
attr_accessor :Data, :RequestId
|
1423
|
+
|
1424
|
+
def initialize(data=nil, requestid=nil)
|
1425
|
+
@Data = data
|
1426
|
+
@RequestId = requestid
|
1427
|
+
end
|
1428
|
+
|
1429
|
+
def deserialize(params)
|
1430
|
+
unless params['Data'].nil?
|
1431
|
+
@Data = UploadKnowledgeDocumentSetRsp.new
|
1432
|
+
@Data.deserialize(params['Data'])
|
1433
|
+
end
|
1434
|
+
@RequestId = params['RequestId']
|
1435
|
+
end
|
1436
|
+
end
|
1437
|
+
|
1438
|
+
# 上传知识库文档返回结果
|
1439
|
+
class UploadKnowledgeDocumentSetRsp < TencentCloud::Common::AbstractModel
|
1440
|
+
# @param DocumentSetId: 给文件分配的 ID 信息。
|
1441
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1442
|
+
# @type DocumentSetId: String
|
1443
|
+
# @param DocumentSetName: 文件名
|
1444
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1445
|
+
# @type DocumentSetName: String
|
1446
|
+
# @param FileTitle: 文件标题
|
1447
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1448
|
+
# @type FileTitle: String
|
1449
|
+
# @param FileMetaData: 文件元信息,为jsonstring
|
1450
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1451
|
+
# @type FileMetaData: String
|
1452
|
+
|
1453
|
+
attr_accessor :DocumentSetId, :DocumentSetName, :FileTitle, :FileMetaData
|
1454
|
+
|
1455
|
+
def initialize(documentsetid=nil, documentsetname=nil, filetitle=nil, filemetadata=nil)
|
1456
|
+
@DocumentSetId = documentsetid
|
1457
|
+
@DocumentSetName = documentsetname
|
1458
|
+
@FileTitle = filetitle
|
1459
|
+
@FileMetaData = filemetadata
|
1460
|
+
end
|
1461
|
+
|
1462
|
+
def deserialize(params)
|
1463
|
+
@DocumentSetId = params['DocumentSetId']
|
1464
|
+
@DocumentSetName = params['DocumentSetName']
|
1465
|
+
@FileTitle = params['FileTitle']
|
1466
|
+
@FileMetaData = params['FileMetaData']
|
1467
|
+
end
|
1468
|
+
end
|
1469
|
+
|
379
1470
|
end
|
380
1471
|
end
|
381
1472
|
end
|