tencentcloud-sdk-lcic 3.0.504 → 3.0.505
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/v20220817/client.rb +240 -0
- data/lib/v20220817/models.rb +838 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c91bf3c857109f848756241a143b85b23c15237
|
4
|
+
data.tar.gz: b45359c93248916e61e3e89c09372345fe9a19a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8cd2a25fcb8d2325b318ce3924669632147a61463886019490fbaa8982840795b78e0c4da3e322d4a2e476be851d08eb8d8b9208ac19177e9f561545e12e2ad
|
7
|
+
data.tar.gz: 0ba86d555c00b2810da4fc042180d8e7af4800f54b83b09d192ab4b2cda5f99e43c200c711034157833a4ebbaec8f3d42e3095c0dedb6ab78ca429a8bc380dbd
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.505
|
data/lib/v20220817/client.rb
CHANGED
@@ -29,6 +29,54 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
+
# 批量创建房间接口
|
33
|
+
|
34
|
+
# @param request: Request instance for BatchCreateRoom.
|
35
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::BatchCreateRoomRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::BatchCreateRoomResponse`
|
37
|
+
def BatchCreateRoom(request)
|
38
|
+
body = send_request('BatchCreateRoom', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = BatchCreateRoomResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
56
|
+
# 批量删除多个房间的录制文件
|
57
|
+
|
58
|
+
# @param request: Request instance for BatchDeleteRecord.
|
59
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::BatchDeleteRecordRequest`
|
60
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::BatchDeleteRecordResponse`
|
61
|
+
def BatchDeleteRecord(request)
|
62
|
+
body = send_request('BatchDeleteRecord', request.serialize)
|
63
|
+
response = JSON.parse(body)
|
64
|
+
if response['Response'].key?('Error') == false
|
65
|
+
model = BatchDeleteRecordResponse.new
|
66
|
+
model.deserialize(response['Response'])
|
67
|
+
model
|
68
|
+
else
|
69
|
+
code = response['Response']['Error']['Code']
|
70
|
+
message = response['Response']['Error']['Message']
|
71
|
+
reqid = response['Response']['RequestId']
|
72
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
73
|
+
end
|
74
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
75
|
+
raise e
|
76
|
+
rescue StandardError => e
|
77
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
|
+
end
|
79
|
+
|
32
80
|
# 如果批量注册的用户已存在,则会被覆盖。一次最多注册1000个用户。默认请求频率限制:10次/秒
|
33
81
|
|
34
82
|
# @param request: Request instance for BatchRegister.
|
@@ -149,6 +197,54 @@ module TencentCloud
|
|
149
197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
198
|
end
|
151
199
|
|
200
|
+
# 删除文档
|
201
|
+
|
202
|
+
# @param request: Request instance for DeleteDocument.
|
203
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::DeleteDocumentRequest`
|
204
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::DeleteDocumentResponse`
|
205
|
+
def DeleteDocument(request)
|
206
|
+
body = send_request('DeleteDocument', request.serialize)
|
207
|
+
response = JSON.parse(body)
|
208
|
+
if response['Response'].key?('Error') == false
|
209
|
+
model = DeleteDocumentResponse.new
|
210
|
+
model.deserialize(response['Response'])
|
211
|
+
model
|
212
|
+
else
|
213
|
+
code = response['Response']['Error']['Code']
|
214
|
+
message = response['Response']['Error']['Message']
|
215
|
+
reqid = response['Response']['RequestId']
|
216
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
217
|
+
end
|
218
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
219
|
+
raise e
|
220
|
+
rescue StandardError => e
|
221
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
|
+
end
|
223
|
+
|
224
|
+
# 删除指定房间的录制文件
|
225
|
+
|
226
|
+
# @param request: Request instance for DeleteRecord.
|
227
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::DeleteRecordRequest`
|
228
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::DeleteRecordResponse`
|
229
|
+
def DeleteRecord(request)
|
230
|
+
body = send_request('DeleteRecord', request.serialize)
|
231
|
+
response = JSON.parse(body)
|
232
|
+
if response['Response'].key?('Error') == false
|
233
|
+
model = DeleteRecordResponse.new
|
234
|
+
model.deserialize(response['Response'])
|
235
|
+
model
|
236
|
+
else
|
237
|
+
code = response['Response']['Error']['Code']
|
238
|
+
message = response['Response']['Error']['Message']
|
239
|
+
reqid = response['Response']['RequestId']
|
240
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
241
|
+
end
|
242
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
243
|
+
raise e
|
244
|
+
rescue StandardError => e
|
245
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
|
+
end
|
247
|
+
|
152
248
|
# 删除房间
|
153
249
|
|
154
250
|
# @param request: Request instance for DeleteRoom.
|
@@ -197,6 +293,54 @@ module TencentCloud
|
|
197
293
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
294
|
end
|
199
295
|
|
296
|
+
# 获取文档信息
|
297
|
+
|
298
|
+
# @param request: Request instance for DescribeDocument.
|
299
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::DescribeDocumentRequest`
|
300
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::DescribeDocumentResponse`
|
301
|
+
def DescribeDocument(request)
|
302
|
+
body = send_request('DescribeDocument', request.serialize)
|
303
|
+
response = JSON.parse(body)
|
304
|
+
if response['Response'].key?('Error') == false
|
305
|
+
model = DescribeDocumentResponse.new
|
306
|
+
model.deserialize(response['Response'])
|
307
|
+
model
|
308
|
+
else
|
309
|
+
code = response['Response']['Error']['Code']
|
310
|
+
message = response['Response']['Error']['Message']
|
311
|
+
reqid = response['Response']['RequestId']
|
312
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
313
|
+
end
|
314
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
315
|
+
raise e
|
316
|
+
rescue StandardError => e
|
317
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
|
+
end
|
319
|
+
|
320
|
+
# 此接口获取指定房间下课件列表
|
321
|
+
|
322
|
+
# @param request: Request instance for DescribeDocumentsByRoom.
|
323
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::DescribeDocumentsByRoomRequest`
|
324
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::DescribeDocumentsByRoomResponse`
|
325
|
+
def DescribeDocumentsByRoom(request)
|
326
|
+
body = send_request('DescribeDocumentsByRoom', request.serialize)
|
327
|
+
response = JSON.parse(body)
|
328
|
+
if response['Response'].key?('Error') == false
|
329
|
+
model = DescribeDocumentsByRoomResponse.new
|
330
|
+
model.deserialize(response['Response'])
|
331
|
+
model
|
332
|
+
else
|
333
|
+
code = response['Response']['Error']['Code']
|
334
|
+
message = response['Response']['Error']['Message']
|
335
|
+
reqid = response['Response']['RequestId']
|
336
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
337
|
+
end
|
338
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
339
|
+
raise e
|
340
|
+
rescue StandardError => e
|
341
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
342
|
+
end
|
343
|
+
|
200
344
|
# 获取房间信息
|
201
345
|
|
202
346
|
# @param request: Request instance for DescribeRoom.
|
@@ -245,6 +389,30 @@ module TencentCloud
|
|
245
389
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
390
|
end
|
247
391
|
|
392
|
+
# 此接口用于获取指定应用ID下用户列表
|
393
|
+
|
394
|
+
# @param request: Request instance for DescribeSdkAppIdUsers.
|
395
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::DescribeSdkAppIdUsersRequest`
|
396
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::DescribeSdkAppIdUsersResponse`
|
397
|
+
def DescribeSdkAppIdUsers(request)
|
398
|
+
body = send_request('DescribeSdkAppIdUsers', request.serialize)
|
399
|
+
response = JSON.parse(body)
|
400
|
+
if response['Response'].key?('Error') == false
|
401
|
+
model = DescribeSdkAppIdUsersResponse.new
|
402
|
+
model.deserialize(response['Response'])
|
403
|
+
model
|
404
|
+
else
|
405
|
+
code = response['Response']['Error']['Code']
|
406
|
+
message = response['Response']['Error']['Message']
|
407
|
+
reqid = response['Response']['RequestId']
|
408
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
409
|
+
end
|
410
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
411
|
+
raise e
|
412
|
+
rescue StandardError => e
|
413
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
|
+
end
|
415
|
+
|
248
416
|
# 获取用户信息
|
249
417
|
|
250
418
|
# @param request: Request instance for DescribeUser.
|
@@ -269,6 +437,30 @@ module TencentCloud
|
|
269
437
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
438
|
end
|
271
439
|
|
440
|
+
# 获取水印设置
|
441
|
+
|
442
|
+
# @param request: Request instance for GetWatermark.
|
443
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::GetWatermarkRequest`
|
444
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::GetWatermarkResponse`
|
445
|
+
def GetWatermark(request)
|
446
|
+
body = send_request('GetWatermark', request.serialize)
|
447
|
+
response = JSON.parse(body)
|
448
|
+
if response['Response'].key?('Error') == false
|
449
|
+
model = GetWatermarkResponse.new
|
450
|
+
model.deserialize(response['Response'])
|
451
|
+
model
|
452
|
+
else
|
453
|
+
code = response['Response']['Error']['Code']
|
454
|
+
message = response['Response']['Error']['Message']
|
455
|
+
reqid = response['Response']['RequestId']
|
456
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
457
|
+
end
|
458
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
459
|
+
raise e
|
460
|
+
rescue StandardError => e
|
461
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
462
|
+
end
|
463
|
+
|
272
464
|
# 使用源账号登录,源账号为注册时填入的originId
|
273
465
|
|
274
466
|
# @param request: Request instance for LoginOriginId.
|
@@ -365,6 +557,30 @@ module TencentCloud
|
|
365
557
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
558
|
end
|
367
559
|
|
560
|
+
# 此接口用于修改用户配置,如头像,昵称/用户名等。
|
561
|
+
|
562
|
+
# @param request: Request instance for ModifyUserProfile.
|
563
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::ModifyUserProfileRequest`
|
564
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::ModifyUserProfileResponse`
|
565
|
+
def ModifyUserProfile(request)
|
566
|
+
body = send_request('ModifyUserProfile', request.serialize)
|
567
|
+
response = JSON.parse(body)
|
568
|
+
if response['Response'].key?('Error') == false
|
569
|
+
model = ModifyUserProfileResponse.new
|
570
|
+
model.deserialize(response['Response'])
|
571
|
+
model
|
572
|
+
else
|
573
|
+
code = response['Response']['Error']['Code']
|
574
|
+
message = response['Response']['Error']['Message']
|
575
|
+
reqid = response['Response']['RequestId']
|
576
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
577
|
+
end
|
578
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
579
|
+
raise e
|
580
|
+
rescue StandardError => e
|
581
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
582
|
+
end
|
583
|
+
|
368
584
|
# 注册用户
|
369
585
|
|
370
586
|
# @param request: Request instance for RegisterUser.
|
@@ -413,6 +629,30 @@ module TencentCloud
|
|
413
629
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
630
|
end
|
415
631
|
|
632
|
+
# 设置水印
|
633
|
+
|
634
|
+
# @param request: Request instance for SetWatermark.
|
635
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::SetWatermarkRequest`
|
636
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::SetWatermarkResponse`
|
637
|
+
def SetWatermark(request)
|
638
|
+
body = send_request('SetWatermark', request.serialize)
|
639
|
+
response = JSON.parse(body)
|
640
|
+
if response['Response'].key?('Error') == false
|
641
|
+
model = SetWatermarkResponse.new
|
642
|
+
model.deserialize(response['Response'])
|
643
|
+
model
|
644
|
+
else
|
645
|
+
code = response['Response']['Error']['Code']
|
646
|
+
message = response['Response']['Error']['Message']
|
647
|
+
reqid = response['Response']['RequestId']
|
648
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
649
|
+
end
|
650
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
651
|
+
raise e
|
652
|
+
rescue StandardError => e
|
653
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
654
|
+
end
|
655
|
+
|
416
656
|
# 文档从房间解绑
|
417
657
|
|
418
658
|
# @param request: Request instance for UnbindDocumentFromRoom.
|
data/lib/v20220817/models.rb
CHANGED
@@ -60,6 +60,111 @@ module TencentCloud
|
|
60
60
|
end
|
61
61
|
end
|
62
62
|
|
63
|
+
# 背景图片配置
|
64
|
+
class BackgroundPictureConfig < TencentCloud::Common::AbstractModel
|
65
|
+
# @param Url: 背景图片的url
|
66
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
67
|
+
# @type Url: String
|
68
|
+
|
69
|
+
attr_accessor :Url
|
70
|
+
|
71
|
+
def initialize(url=nil)
|
72
|
+
@Url = url
|
73
|
+
end
|
74
|
+
|
75
|
+
def deserialize(params)
|
76
|
+
@Url = params['Url']
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
# BatchCreateRoom请求参数结构体
|
81
|
+
class BatchCreateRoomRequest < TencentCloud::Common::AbstractModel
|
82
|
+
# @param SdkAppId: 低代码平台的SdkAppId。
|
83
|
+
# @type SdkAppId: Integer
|
84
|
+
# @param RoomInfos: 创建房间ID列表
|
85
|
+
# @type RoomInfos: Array
|
86
|
+
|
87
|
+
attr_accessor :SdkAppId, :RoomInfos
|
88
|
+
|
89
|
+
def initialize(sdkappid=nil, roominfos=nil)
|
90
|
+
@SdkAppId = sdkappid
|
91
|
+
@RoomInfos = roominfos
|
92
|
+
end
|
93
|
+
|
94
|
+
def deserialize(params)
|
95
|
+
@SdkAppId = params['SdkAppId']
|
96
|
+
unless params['RoomInfos'].nil?
|
97
|
+
@RoomInfos = []
|
98
|
+
params['RoomInfos'].each do |i|
|
99
|
+
roominfo_tmp = RoomInfo.new
|
100
|
+
roominfo_tmp.deserialize(i)
|
101
|
+
@RoomInfos << roominfo_tmp
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
# BatchCreateRoom返回参数结构体
|
108
|
+
class BatchCreateRoomResponse < TencentCloud::Common::AbstractModel
|
109
|
+
# @param RoomIds: 创建成功课堂ID,与传入课堂信息顺序一致
|
110
|
+
# @type RoomIds: Array
|
111
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
112
|
+
# @type RequestId: String
|
113
|
+
|
114
|
+
attr_accessor :RoomIds, :RequestId
|
115
|
+
|
116
|
+
def initialize(roomids=nil, requestid=nil)
|
117
|
+
@RoomIds = roomids
|
118
|
+
@RequestId = requestid
|
119
|
+
end
|
120
|
+
|
121
|
+
def deserialize(params)
|
122
|
+
@RoomIds = params['RoomIds']
|
123
|
+
@RequestId = params['RequestId']
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
# BatchDeleteRecord请求参数结构体
|
128
|
+
class BatchDeleteRecordRequest < TencentCloud::Common::AbstractModel
|
129
|
+
# @param RoomIds: 房间ID列表
|
130
|
+
# @type RoomIds: Array
|
131
|
+
# @param SdkAppId: 低代码互动课堂的SdkAppId。
|
132
|
+
# @type SdkAppId: Integer
|
133
|
+
|
134
|
+
attr_accessor :RoomIds, :SdkAppId
|
135
|
+
|
136
|
+
def initialize(roomids=nil, sdkappid=nil)
|
137
|
+
@RoomIds = roomids
|
138
|
+
@SdkAppId = sdkappid
|
139
|
+
end
|
140
|
+
|
141
|
+
def deserialize(params)
|
142
|
+
@RoomIds = params['RoomIds']
|
143
|
+
@SdkAppId = params['SdkAppId']
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
# BatchDeleteRecord返回参数结构体
|
148
|
+
class BatchDeleteRecordResponse < TencentCloud::Common::AbstractModel
|
149
|
+
# @param RoomIds: 本次操作删除成功的房间ID列表。如果入参列表中某个房间ID的录制文件已经删除,则出参列表中无对应的房间ID。
|
150
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
151
|
+
# @type RoomIds: Array
|
152
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
153
|
+
# @type RequestId: String
|
154
|
+
|
155
|
+
attr_accessor :RoomIds, :RequestId
|
156
|
+
|
157
|
+
def initialize(roomids=nil, requestid=nil)
|
158
|
+
@RoomIds = roomids
|
159
|
+
@RequestId = requestid
|
160
|
+
end
|
161
|
+
|
162
|
+
def deserialize(params)
|
163
|
+
@RoomIds = params['RoomIds']
|
164
|
+
@RequestId = params['RequestId']
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
63
168
|
# BatchRegister请求参数结构体
|
64
169
|
class BatchRegisterRequest < TencentCloud::Common::AbstractModel
|
65
170
|
# @param Users: 批量注册用户信息列表
|
@@ -407,6 +512,74 @@ module TencentCloud
|
|
407
512
|
end
|
408
513
|
end
|
409
514
|
|
515
|
+
# DeleteDocument请求参数结构体
|
516
|
+
class DeleteDocumentRequest < TencentCloud::Common::AbstractModel
|
517
|
+
# @param DocumentId: 文档ID。
|
518
|
+
# @type DocumentId: String
|
519
|
+
|
520
|
+
attr_accessor :DocumentId
|
521
|
+
|
522
|
+
def initialize(documentid=nil)
|
523
|
+
@DocumentId = documentid
|
524
|
+
end
|
525
|
+
|
526
|
+
def deserialize(params)
|
527
|
+
@DocumentId = params['DocumentId']
|
528
|
+
end
|
529
|
+
end
|
530
|
+
|
531
|
+
# DeleteDocument返回参数结构体
|
532
|
+
class DeleteDocumentResponse < TencentCloud::Common::AbstractModel
|
533
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
534
|
+
# @type RequestId: String
|
535
|
+
|
536
|
+
attr_accessor :RequestId
|
537
|
+
|
538
|
+
def initialize(requestid=nil)
|
539
|
+
@RequestId = requestid
|
540
|
+
end
|
541
|
+
|
542
|
+
def deserialize(params)
|
543
|
+
@RequestId = params['RequestId']
|
544
|
+
end
|
545
|
+
end
|
546
|
+
|
547
|
+
# DeleteRecord请求参数结构体
|
548
|
+
class DeleteRecordRequest < TencentCloud::Common::AbstractModel
|
549
|
+
# @param RoomId: 房间Id。
|
550
|
+
# @type RoomId: Integer
|
551
|
+
# @param SdkAppId: 低代码互动课堂的SdkAppId。
|
552
|
+
# @type SdkAppId: Integer
|
553
|
+
|
554
|
+
attr_accessor :RoomId, :SdkAppId
|
555
|
+
|
556
|
+
def initialize(roomid=nil, sdkappid=nil)
|
557
|
+
@RoomId = roomid
|
558
|
+
@SdkAppId = sdkappid
|
559
|
+
end
|
560
|
+
|
561
|
+
def deserialize(params)
|
562
|
+
@RoomId = params['RoomId']
|
563
|
+
@SdkAppId = params['SdkAppId']
|
564
|
+
end
|
565
|
+
end
|
566
|
+
|
567
|
+
# DeleteRecord返回参数结构体
|
568
|
+
class DeleteRecordResponse < TencentCloud::Common::AbstractModel
|
569
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
570
|
+
# @type RequestId: String
|
571
|
+
|
572
|
+
attr_accessor :RequestId
|
573
|
+
|
574
|
+
def initialize(requestid=nil)
|
575
|
+
@RequestId = requestid
|
576
|
+
end
|
577
|
+
|
578
|
+
def deserialize(params)
|
579
|
+
@RequestId = params['RequestId']
|
580
|
+
end
|
581
|
+
end
|
582
|
+
|
410
583
|
# DeleteRoom请求参数结构体
|
411
584
|
class DeleteRoomRequest < TencentCloud::Common::AbstractModel
|
412
585
|
# @param RoomId: 房间ID。
|
@@ -497,6 +670,167 @@ module TencentCloud
|
|
497
670
|
end
|
498
671
|
end
|
499
672
|
|
673
|
+
# DescribeDocument请求参数结构体
|
674
|
+
class DescribeDocumentRequest < TencentCloud::Common::AbstractModel
|
675
|
+
# @param DocumentId: 文档Id(唯一id)
|
676
|
+
# @type DocumentId: String
|
677
|
+
|
678
|
+
attr_accessor :DocumentId
|
679
|
+
|
680
|
+
def initialize(documentid=nil)
|
681
|
+
@DocumentId = documentid
|
682
|
+
end
|
683
|
+
|
684
|
+
def deserialize(params)
|
685
|
+
@DocumentId = params['DocumentId']
|
686
|
+
end
|
687
|
+
end
|
688
|
+
|
689
|
+
# DescribeDocument返回参数结构体
|
690
|
+
class DescribeDocumentResponse < TencentCloud::Common::AbstractModel
|
691
|
+
# @param DocumentId: 文档Id
|
692
|
+
# @type DocumentId: String
|
693
|
+
# @param DocumentUrl: 文档原址url
|
694
|
+
# @type DocumentUrl: String
|
695
|
+
# @param DocumentName: 文档名称
|
696
|
+
# @type DocumentName: String
|
697
|
+
# @param Owner: 文档所有者UserId
|
698
|
+
# @type Owner: String
|
699
|
+
# @param SdkAppId: 应用Id
|
700
|
+
# @type SdkAppId: Integer
|
701
|
+
# @param Permission: 文档权限
|
702
|
+
# @type Permission: Integer
|
703
|
+
# @param TranscodeResult: 转码结果,无需转码为空,转码成功为结果url,转码失败为错误码
|
704
|
+
# @type TranscodeResult: String
|
705
|
+
# @param TranscodeType: 转码类型
|
706
|
+
# @type TranscodeType: Integer
|
707
|
+
# @param TranscodeProgress: 转码进度, 0 - 100 表示(0% - 100%)
|
708
|
+
# @type TranscodeProgress: Integer
|
709
|
+
# @param TranscodeState: 转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功
|
710
|
+
# @type TranscodeState: Integer
|
711
|
+
# @param TranscodeInfo: 转码失败后的错误信息
|
712
|
+
# @type TranscodeInfo: String
|
713
|
+
# @param DocumentType: 文档类型
|
714
|
+
# @type DocumentType: String
|
715
|
+
# @param DocumentSize: 文档大小,单位:字节
|
716
|
+
# @type DocumentSize: Integer
|
717
|
+
# @param UpdateTime: 更新的UNIX时间戳
|
718
|
+
# @type UpdateTime: Integer
|
719
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
720
|
+
# @type RequestId: String
|
721
|
+
|
722
|
+
attr_accessor :DocumentId, :DocumentUrl, :DocumentName, :Owner, :SdkAppId, :Permission, :TranscodeResult, :TranscodeType, :TranscodeProgress, :TranscodeState, :TranscodeInfo, :DocumentType, :DocumentSize, :UpdateTime, :RequestId
|
723
|
+
|
724
|
+
def initialize(documentid=nil, documenturl=nil, documentname=nil, owner=nil, sdkappid=nil, permission=nil, transcoderesult=nil, transcodetype=nil, transcodeprogress=nil, transcodestate=nil, transcodeinfo=nil, documenttype=nil, documentsize=nil, updatetime=nil, requestid=nil)
|
725
|
+
@DocumentId = documentid
|
726
|
+
@DocumentUrl = documenturl
|
727
|
+
@DocumentName = documentname
|
728
|
+
@Owner = owner
|
729
|
+
@SdkAppId = sdkappid
|
730
|
+
@Permission = permission
|
731
|
+
@TranscodeResult = transcoderesult
|
732
|
+
@TranscodeType = transcodetype
|
733
|
+
@TranscodeProgress = transcodeprogress
|
734
|
+
@TranscodeState = transcodestate
|
735
|
+
@TranscodeInfo = transcodeinfo
|
736
|
+
@DocumentType = documenttype
|
737
|
+
@DocumentSize = documentsize
|
738
|
+
@UpdateTime = updatetime
|
739
|
+
@RequestId = requestid
|
740
|
+
end
|
741
|
+
|
742
|
+
def deserialize(params)
|
743
|
+
@DocumentId = params['DocumentId']
|
744
|
+
@DocumentUrl = params['DocumentUrl']
|
745
|
+
@DocumentName = params['DocumentName']
|
746
|
+
@Owner = params['Owner']
|
747
|
+
@SdkAppId = params['SdkAppId']
|
748
|
+
@Permission = params['Permission']
|
749
|
+
@TranscodeResult = params['TranscodeResult']
|
750
|
+
@TranscodeType = params['TranscodeType']
|
751
|
+
@TranscodeProgress = params['TranscodeProgress']
|
752
|
+
@TranscodeState = params['TranscodeState']
|
753
|
+
@TranscodeInfo = params['TranscodeInfo']
|
754
|
+
@DocumentType = params['DocumentType']
|
755
|
+
@DocumentSize = params['DocumentSize']
|
756
|
+
@UpdateTime = params['UpdateTime']
|
757
|
+
@RequestId = params['RequestId']
|
758
|
+
end
|
759
|
+
end
|
760
|
+
|
761
|
+
# DescribeDocumentsByRoom请求参数结构体
|
762
|
+
class DescribeDocumentsByRoomRequest < TencentCloud::Common::AbstractModel
|
763
|
+
# @param RoomId: 房间ID。
|
764
|
+
# @type RoomId: Integer
|
765
|
+
# @param SdkAppId: 低代码互动课堂的SdkAppId
|
766
|
+
# @type SdkAppId: Integer
|
767
|
+
# @param Page: 分页查询当前页数,从1开始递增,默认值为1
|
768
|
+
# @type Page: Integer
|
769
|
+
# @param Limit: 每页数据量,最大1000,默认值为100
|
770
|
+
# @type Limit: Integer
|
771
|
+
# @param Permission: 课件权限。
|
772
|
+
# [0]:获取owner的私有课件;
|
773
|
+
# [1]:获取owner的公开课件;
|
774
|
+
# [0,1]:则获取owner的私有课件和公开课件;
|
775
|
+
# [2]:获取owner的私有课件和所有人(包括owner)的公开课件。
|
776
|
+
# 默认值为[2]
|
777
|
+
# @type Permission: Array
|
778
|
+
# @param Owner: 文档所有者的user_id,不填默认获取SdkAppId下所有课件
|
779
|
+
# @type Owner: String
|
780
|
+
|
781
|
+
attr_accessor :RoomId, :SdkAppId, :Page, :Limit, :Permission, :Owner
|
782
|
+
|
783
|
+
def initialize(roomid=nil, sdkappid=nil, page=nil, limit=nil, permission=nil, owner=nil)
|
784
|
+
@RoomId = roomid
|
785
|
+
@SdkAppId = sdkappid
|
786
|
+
@Page = page
|
787
|
+
@Limit = limit
|
788
|
+
@Permission = permission
|
789
|
+
@Owner = owner
|
790
|
+
end
|
791
|
+
|
792
|
+
def deserialize(params)
|
793
|
+
@RoomId = params['RoomId']
|
794
|
+
@SdkAppId = params['SdkAppId']
|
795
|
+
@Page = params['Page']
|
796
|
+
@Limit = params['Limit']
|
797
|
+
@Permission = params['Permission']
|
798
|
+
@Owner = params['Owner']
|
799
|
+
end
|
800
|
+
end
|
801
|
+
|
802
|
+
# DescribeDocumentsByRoom返回参数结构体
|
803
|
+
class DescribeDocumentsByRoomResponse < TencentCloud::Common::AbstractModel
|
804
|
+
# @param Documents: 文档信息列表
|
805
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
806
|
+
# @type Documents: Array
|
807
|
+
# @param Total: 符合查询条件文档总数
|
808
|
+
# @type Total: Integer
|
809
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
810
|
+
# @type RequestId: String
|
811
|
+
|
812
|
+
attr_accessor :Documents, :Total, :RequestId
|
813
|
+
|
814
|
+
def initialize(documents=nil, total=nil, requestid=nil)
|
815
|
+
@Documents = documents
|
816
|
+
@Total = total
|
817
|
+
@RequestId = requestid
|
818
|
+
end
|
819
|
+
|
820
|
+
def deserialize(params)
|
821
|
+
unless params['Documents'].nil?
|
822
|
+
@Documents = []
|
823
|
+
params['Documents'].each do |i|
|
824
|
+
documentinfo_tmp = DocumentInfo.new
|
825
|
+
documentinfo_tmp.deserialize(i)
|
826
|
+
@Documents << documentinfo_tmp
|
827
|
+
end
|
828
|
+
end
|
829
|
+
@Total = params['Total']
|
830
|
+
@RequestId = params['RequestId']
|
831
|
+
end
|
832
|
+
end
|
833
|
+
|
500
834
|
# DescribeRoom请求参数结构体
|
501
835
|
class DescribeRoomRequest < TencentCloud::Common::AbstractModel
|
502
836
|
# @param RoomId: 房间Id。
|
@@ -659,6 +993,62 @@ module TencentCloud
|
|
659
993
|
end
|
660
994
|
end
|
661
995
|
|
996
|
+
# DescribeSdkAppIdUsers请求参数结构体
|
997
|
+
class DescribeSdkAppIdUsersRequest < TencentCloud::Common::AbstractModel
|
998
|
+
# @param SdkAppId: 应用ID
|
999
|
+
# @type SdkAppId: Integer
|
1000
|
+
# @param Page: 分页,默认值为1
|
1001
|
+
# @type Page: Integer
|
1002
|
+
# @param Limit: 分页数据限制,默认值为20
|
1003
|
+
# @type Limit: Integer
|
1004
|
+
|
1005
|
+
attr_accessor :SdkAppId, :Page, :Limit
|
1006
|
+
|
1007
|
+
def initialize(sdkappid=nil, page=nil, limit=nil)
|
1008
|
+
@SdkAppId = sdkappid
|
1009
|
+
@Page = page
|
1010
|
+
@Limit = limit
|
1011
|
+
end
|
1012
|
+
|
1013
|
+
def deserialize(params)
|
1014
|
+
@SdkAppId = params['SdkAppId']
|
1015
|
+
@Page = params['Page']
|
1016
|
+
@Limit = params['Limit']
|
1017
|
+
end
|
1018
|
+
end
|
1019
|
+
|
1020
|
+
# DescribeSdkAppIdUsers返回参数结构体
|
1021
|
+
class DescribeSdkAppIdUsersResponse < TencentCloud::Common::AbstractModel
|
1022
|
+
# @param Total: 用户总数
|
1023
|
+
# @type Total: Integer
|
1024
|
+
# @param Users: 当前获取用户信息数组列表
|
1025
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1026
|
+
# @type Users: Array
|
1027
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1028
|
+
# @type RequestId: String
|
1029
|
+
|
1030
|
+
attr_accessor :Total, :Users, :RequestId
|
1031
|
+
|
1032
|
+
def initialize(total=nil, users=nil, requestid=nil)
|
1033
|
+
@Total = total
|
1034
|
+
@Users = users
|
1035
|
+
@RequestId = requestid
|
1036
|
+
end
|
1037
|
+
|
1038
|
+
def deserialize(params)
|
1039
|
+
@Total = params['Total']
|
1040
|
+
unless params['Users'].nil?
|
1041
|
+
@Users = []
|
1042
|
+
params['Users'].each do |i|
|
1043
|
+
userinfo_tmp = UserInfo.new
|
1044
|
+
userinfo_tmp.deserialize(i)
|
1045
|
+
@Users << userinfo_tmp
|
1046
|
+
end
|
1047
|
+
end
|
1048
|
+
@RequestId = params['RequestId']
|
1049
|
+
end
|
1050
|
+
end
|
1051
|
+
|
662
1052
|
# DescribeUser请求参数结构体
|
663
1053
|
class DescribeUserRequest < TencentCloud::Common::AbstractModel
|
664
1054
|
# @param UserId: 用户Id。
|
@@ -707,6 +1097,152 @@ module TencentCloud
|
|
707
1097
|
end
|
708
1098
|
end
|
709
1099
|
|
1100
|
+
# 文档信息
|
1101
|
+
class DocumentInfo < TencentCloud::Common::AbstractModel
|
1102
|
+
# @param DocumentId: 文档Id
|
1103
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1104
|
+
# @type DocumentId: String
|
1105
|
+
# @param DocumentUrl: 文档原址url
|
1106
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1107
|
+
# @type DocumentUrl: String
|
1108
|
+
# @param DocumentName: 文档名称
|
1109
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1110
|
+
# @type DocumentName: String
|
1111
|
+
# @param Owner: 文档所有者UserId
|
1112
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1113
|
+
# @type Owner: String
|
1114
|
+
# @param SdkAppId: 应用Id
|
1115
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1116
|
+
# @type SdkAppId: Integer
|
1117
|
+
# @param Permission: 文档权限,0:私有课件 1:公共课件
|
1118
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1119
|
+
# @type Permission: Integer
|
1120
|
+
# @param TranscodeResult: 转码结果,无需转码为空,转码成功为结果url,转码失败为错误码
|
1121
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1122
|
+
# @type TranscodeResult: String
|
1123
|
+
# @param TranscodeType: 转码类型
|
1124
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1125
|
+
# @type TranscodeType: Integer
|
1126
|
+
# @param TranscodeProgress: 转码进度, 0 - 100 表示(0% - 100%)
|
1127
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1128
|
+
# @type TranscodeProgress: Integer
|
1129
|
+
# @param TranscodeState: 转码状态,0为无需转码,1为正在转码,2为转码失败,3为转码成功
|
1130
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1131
|
+
# @type TranscodeState: Integer
|
1132
|
+
# @param TranscodeInfo: 转码失败后的错误信息
|
1133
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1134
|
+
# @type TranscodeInfo: String
|
1135
|
+
# @param DocumentType: 文档类型
|
1136
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1137
|
+
# @type DocumentType: String
|
1138
|
+
# @param DocumentSize: 文档大小,单位:字节
|
1139
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1140
|
+
# @type DocumentSize: Integer
|
1141
|
+
# @param UpdateTime: 更新的UNIX时间戳
|
1142
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1143
|
+
# @type UpdateTime: Integer
|
1144
|
+
|
1145
|
+
attr_accessor :DocumentId, :DocumentUrl, :DocumentName, :Owner, :SdkAppId, :Permission, :TranscodeResult, :TranscodeType, :TranscodeProgress, :TranscodeState, :TranscodeInfo, :DocumentType, :DocumentSize, :UpdateTime
|
1146
|
+
|
1147
|
+
def initialize(documentid=nil, documenturl=nil, documentname=nil, owner=nil, sdkappid=nil, permission=nil, transcoderesult=nil, transcodetype=nil, transcodeprogress=nil, transcodestate=nil, transcodeinfo=nil, documenttype=nil, documentsize=nil, updatetime=nil)
|
1148
|
+
@DocumentId = documentid
|
1149
|
+
@DocumentUrl = documenturl
|
1150
|
+
@DocumentName = documentname
|
1151
|
+
@Owner = owner
|
1152
|
+
@SdkAppId = sdkappid
|
1153
|
+
@Permission = permission
|
1154
|
+
@TranscodeResult = transcoderesult
|
1155
|
+
@TranscodeType = transcodetype
|
1156
|
+
@TranscodeProgress = transcodeprogress
|
1157
|
+
@TranscodeState = transcodestate
|
1158
|
+
@TranscodeInfo = transcodeinfo
|
1159
|
+
@DocumentType = documenttype
|
1160
|
+
@DocumentSize = documentsize
|
1161
|
+
@UpdateTime = updatetime
|
1162
|
+
end
|
1163
|
+
|
1164
|
+
def deserialize(params)
|
1165
|
+
@DocumentId = params['DocumentId']
|
1166
|
+
@DocumentUrl = params['DocumentUrl']
|
1167
|
+
@DocumentName = params['DocumentName']
|
1168
|
+
@Owner = params['Owner']
|
1169
|
+
@SdkAppId = params['SdkAppId']
|
1170
|
+
@Permission = params['Permission']
|
1171
|
+
@TranscodeResult = params['TranscodeResult']
|
1172
|
+
@TranscodeType = params['TranscodeType']
|
1173
|
+
@TranscodeProgress = params['TranscodeProgress']
|
1174
|
+
@TranscodeState = params['TranscodeState']
|
1175
|
+
@TranscodeInfo = params['TranscodeInfo']
|
1176
|
+
@DocumentType = params['DocumentType']
|
1177
|
+
@DocumentSize = params['DocumentSize']
|
1178
|
+
@UpdateTime = params['UpdateTime']
|
1179
|
+
end
|
1180
|
+
end
|
1181
|
+
|
1182
|
+
# GetWatermark请求参数结构体
|
1183
|
+
class GetWatermarkRequest < TencentCloud::Common::AbstractModel
|
1184
|
+
# @param SdkAppId: 低代码互动课堂的SdkAppId。
|
1185
|
+
# @type SdkAppId: Integer
|
1186
|
+
|
1187
|
+
attr_accessor :SdkAppId
|
1188
|
+
|
1189
|
+
def initialize(sdkappid=nil)
|
1190
|
+
@SdkAppId = sdkappid
|
1191
|
+
end
|
1192
|
+
|
1193
|
+
def deserialize(params)
|
1194
|
+
@SdkAppId = params['SdkAppId']
|
1195
|
+
end
|
1196
|
+
end
|
1197
|
+
|
1198
|
+
# GetWatermark返回参数结构体
|
1199
|
+
class GetWatermarkResponse < TencentCloud::Common::AbstractModel
|
1200
|
+
# @param TeacherLogo: 老师视频区域的水印参数配置
|
1201
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1202
|
+
# @type TeacherLogo: :class:`Tencentcloud::Lcic.v20220817.models.WatermarkConfig`
|
1203
|
+
# @param BoardLogo: 白板区域的水印参数配置
|
1204
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1205
|
+
# @type BoardLogo: :class:`Tencentcloud::Lcic.v20220817.models.WatermarkConfig`
|
1206
|
+
# @param BackgroundPicture: 背景图片配置
|
1207
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1208
|
+
# @type BackgroundPicture: :class:`Tencentcloud::Lcic.v20220817.models.BackgroundPictureConfig`
|
1209
|
+
# @param Text: 文字水印配置
|
1210
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1211
|
+
# @type Text: :class:`Tencentcloud::Lcic.v20220817.models.TextMarkConfig`
|
1212
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1213
|
+
# @type RequestId: String
|
1214
|
+
|
1215
|
+
attr_accessor :TeacherLogo, :BoardLogo, :BackgroundPicture, :Text, :RequestId
|
1216
|
+
|
1217
|
+
def initialize(teacherlogo=nil, boardlogo=nil, backgroundpicture=nil, text=nil, requestid=nil)
|
1218
|
+
@TeacherLogo = teacherlogo
|
1219
|
+
@BoardLogo = boardlogo
|
1220
|
+
@BackgroundPicture = backgroundpicture
|
1221
|
+
@Text = text
|
1222
|
+
@RequestId = requestid
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
def deserialize(params)
|
1226
|
+
unless params['TeacherLogo'].nil?
|
1227
|
+
@TeacherLogo = WatermarkConfig.new
|
1228
|
+
@TeacherLogo.deserialize(params['TeacherLogo'])
|
1229
|
+
end
|
1230
|
+
unless params['BoardLogo'].nil?
|
1231
|
+
@BoardLogo = WatermarkConfig.new
|
1232
|
+
@BoardLogo.deserialize(params['BoardLogo'])
|
1233
|
+
end
|
1234
|
+
unless params['BackgroundPicture'].nil?
|
1235
|
+
@BackgroundPicture = BackgroundPictureConfig.new
|
1236
|
+
@BackgroundPicture.deserialize(params['BackgroundPicture'])
|
1237
|
+
end
|
1238
|
+
unless params['Text'].nil?
|
1239
|
+
@Text = TextMarkConfig.new
|
1240
|
+
@Text.deserialize(params['Text'])
|
1241
|
+
end
|
1242
|
+
@RequestId = params['RequestId']
|
1243
|
+
end
|
1244
|
+
end
|
1245
|
+
|
710
1246
|
# LoginOriginId请求参数结构体
|
711
1247
|
class LoginOriginIdRequest < TencentCloud::Common::AbstractModel
|
712
1248
|
# @param SdkAppId: 低代码互动课堂的SdkAppId。
|
@@ -985,6 +1521,46 @@ module TencentCloud
|
|
985
1521
|
end
|
986
1522
|
end
|
987
1523
|
|
1524
|
+
# ModifyUserProfile请求参数结构体
|
1525
|
+
class ModifyUserProfileRequest < TencentCloud::Common::AbstractModel
|
1526
|
+
# @param UserId: 待修改用户ID
|
1527
|
+
# @type UserId: String
|
1528
|
+
# @param Nickname: 待修改的用户名
|
1529
|
+
# @type Nickname: String
|
1530
|
+
# @param Avatar: 待修改头像url
|
1531
|
+
# @type Avatar: String
|
1532
|
+
|
1533
|
+
attr_accessor :UserId, :Nickname, :Avatar
|
1534
|
+
|
1535
|
+
def initialize(userid=nil, nickname=nil, avatar=nil)
|
1536
|
+
@UserId = userid
|
1537
|
+
@Nickname = nickname
|
1538
|
+
@Avatar = avatar
|
1539
|
+
end
|
1540
|
+
|
1541
|
+
def deserialize(params)
|
1542
|
+
@UserId = params['UserId']
|
1543
|
+
@Nickname = params['Nickname']
|
1544
|
+
@Avatar = params['Avatar']
|
1545
|
+
end
|
1546
|
+
end
|
1547
|
+
|
1548
|
+
# ModifyUserProfile返回参数结构体
|
1549
|
+
class ModifyUserProfileResponse < TencentCloud::Common::AbstractModel
|
1550
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1551
|
+
# @type RequestId: String
|
1552
|
+
|
1553
|
+
attr_accessor :RequestId
|
1554
|
+
|
1555
|
+
def initialize(requestid=nil)
|
1556
|
+
@RequestId = requestid
|
1557
|
+
end
|
1558
|
+
|
1559
|
+
def deserialize(params)
|
1560
|
+
@RequestId = params['RequestId']
|
1561
|
+
end
|
1562
|
+
end
|
1563
|
+
|
988
1564
|
# RegisterUser请求参数结构体
|
989
1565
|
class RegisterUserRequest < TencentCloud::Common::AbstractModel
|
990
1566
|
# @param SdkAppId: 低代码互动课堂的SdkAppId。
|
@@ -1037,6 +1613,93 @@ module TencentCloud
|
|
1037
1613
|
end
|
1038
1614
|
end
|
1039
1615
|
|
1616
|
+
# 批量创建房间的房间信息
|
1617
|
+
class RoomInfo < TencentCloud::Common::AbstractModel
|
1618
|
+
# @param Name: 房间名称。
|
1619
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1620
|
+
# @type Name: String
|
1621
|
+
# @param StartTime: 预定的房间开始时间,unix时间戳。
|
1622
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1623
|
+
# @type StartTime: Integer
|
1624
|
+
# @param EndTime: 预定的房间结束时间,unix时间戳。
|
1625
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1626
|
+
# @type EndTime: Integer
|
1627
|
+
# @param Resolution: 分辨率。可以有如下取值: 1 标清 2 高清 3 全高清
|
1628
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1629
|
+
# @type Resolution: Integer
|
1630
|
+
# @param MaxMicNumber: 最大连麦人数(不包括老师)。取值范围[0, 16]
|
1631
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1632
|
+
# @type MaxMicNumber: Integer
|
1633
|
+
# @param SubType: 房间子类型,可以有以下取值: videodoc 文档+视频 video 纯视频 coteaching 双师
|
1634
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1635
|
+
# @type SubType: String
|
1636
|
+
# @param TeacherId: 老师ID。通过[注册用户]接口获取的UserId。
|
1637
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1638
|
+
# @type TeacherId: String
|
1639
|
+
# @param AutoMic: 进入课堂时是否自动连麦。可以有以下取值: 0 不自动连麦(需要手动申请上麦,默认值) 1 自动连麦
|
1640
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1641
|
+
# @type AutoMic: Integer
|
1642
|
+
# @param TurnOffMic: 释放音视频权限后是否自动取消连麦。可以有以下取值: 0 自动取消连麦(默认值) 1 保持连麦状态
|
1643
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1644
|
+
# @type TurnOffMic: Integer
|
1645
|
+
# @param AudioQuality: 高音质模式。可以有以下取值: 0 不开启高音质(默认值) 1 开启高音质
|
1646
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1647
|
+
# @type AudioQuality: Integer
|
1648
|
+
# @param DisableRecord: 上课后是否禁止自动录制。可以有以下取值: 0 不禁止录制(自动开启录制,默认值) 1 禁止录制 注:如果该配置取值为0,录制将从上课后开始,课堂结束后停止。
|
1649
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1650
|
+
# @type DisableRecord: Integer
|
1651
|
+
# @param Assistants: 助教Id列表。通过[注册用户]接口获取的UserId。
|
1652
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1653
|
+
# @type Assistants: Array
|
1654
|
+
# @param RTCAudienceNumber: rtc人数。
|
1655
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1656
|
+
# @type RTCAudienceNumber: Integer
|
1657
|
+
# @param AudienceType: 观看类型。
|
1658
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1659
|
+
# @type AudienceType: Integer
|
1660
|
+
# @param RecordLayout: 录制布局。
|
1661
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1662
|
+
# @type RecordLayout: Integer
|
1663
|
+
|
1664
|
+
attr_accessor :Name, :StartTime, :EndTime, :Resolution, :MaxMicNumber, :SubType, :TeacherId, :AutoMic, :TurnOffMic, :AudioQuality, :DisableRecord, :Assistants, :RTCAudienceNumber, :AudienceType, :RecordLayout
|
1665
|
+
|
1666
|
+
def initialize(name=nil, starttime=nil, endtime=nil, resolution=nil, maxmicnumber=nil, subtype=nil, teacherid=nil, automic=nil, turnoffmic=nil, audioquality=nil, disablerecord=nil, assistants=nil, rtcaudiencenumber=nil, audiencetype=nil, recordlayout=nil)
|
1667
|
+
@Name = name
|
1668
|
+
@StartTime = starttime
|
1669
|
+
@EndTime = endtime
|
1670
|
+
@Resolution = resolution
|
1671
|
+
@MaxMicNumber = maxmicnumber
|
1672
|
+
@SubType = subtype
|
1673
|
+
@TeacherId = teacherid
|
1674
|
+
@AutoMic = automic
|
1675
|
+
@TurnOffMic = turnoffmic
|
1676
|
+
@AudioQuality = audioquality
|
1677
|
+
@DisableRecord = disablerecord
|
1678
|
+
@Assistants = assistants
|
1679
|
+
@RTCAudienceNumber = rtcaudiencenumber
|
1680
|
+
@AudienceType = audiencetype
|
1681
|
+
@RecordLayout = recordlayout
|
1682
|
+
end
|
1683
|
+
|
1684
|
+
def deserialize(params)
|
1685
|
+
@Name = params['Name']
|
1686
|
+
@StartTime = params['StartTime']
|
1687
|
+
@EndTime = params['EndTime']
|
1688
|
+
@Resolution = params['Resolution']
|
1689
|
+
@MaxMicNumber = params['MaxMicNumber']
|
1690
|
+
@SubType = params['SubType']
|
1691
|
+
@TeacherId = params['TeacherId']
|
1692
|
+
@AutoMic = params['AutoMic']
|
1693
|
+
@TurnOffMic = params['TurnOffMic']
|
1694
|
+
@AudioQuality = params['AudioQuality']
|
1695
|
+
@DisableRecord = params['DisableRecord']
|
1696
|
+
@Assistants = params['Assistants']
|
1697
|
+
@RTCAudienceNumber = params['RTCAudienceNumber']
|
1698
|
+
@AudienceType = params['AudienceType']
|
1699
|
+
@RecordLayout = params['RecordLayout']
|
1700
|
+
end
|
1701
|
+
end
|
1702
|
+
|
1040
1703
|
# 场景配置
|
1041
1704
|
class SceneItem < TencentCloud::Common::AbstractModel
|
1042
1705
|
|
@@ -1091,6 +1754,112 @@ module TencentCloud
|
|
1091
1754
|
end
|
1092
1755
|
end
|
1093
1756
|
|
1757
|
+
# SetWatermark请求参数结构体
|
1758
|
+
class SetWatermarkRequest < TencentCloud::Common::AbstractModel
|
1759
|
+
# @param SdkAppId: 低代码互动课堂的SdkAppId。
|
1760
|
+
# @type SdkAppId: Integer
|
1761
|
+
# @param TeacherUrl: 老师视频区域的水印参数地址,设置为空字符串表示删除
|
1762
|
+
# @type TeacherUrl: String
|
1763
|
+
# @param BoardUrl: 白板视频区域的水印参数地址,设置为空字符串表示删除
|
1764
|
+
# @type BoardUrl: String
|
1765
|
+
# @param VideoUrl: 视频默认图片(在没有视频流的时候显示),设置为空字符串表示删除
|
1766
|
+
# @type VideoUrl: String
|
1767
|
+
# @param BoardW: 白板区域水印的宽度,取值:0-100,默认为0,表示区域X方向的百分比
|
1768
|
+
# @type BoardW: Float
|
1769
|
+
# @param BoardH: 白板区域水印的高度,取值:0-100,默认为0, 表示区域Y方向的百分比
|
1770
|
+
# @type BoardH: Float
|
1771
|
+
# @param BoardX: 白板区域水印X偏移, 取值:0-100, 表示区域X方向的百分比。比如50,则表示位于X轴中间
|
1772
|
+
# @type BoardX: Float
|
1773
|
+
# @param BoardY: 白板区域水印Y偏移, 取值:0-100, 表示区域X方向的百分比。比如50,则表示位于X轴中间
|
1774
|
+
# @type BoardY: Float
|
1775
|
+
# @param TeacherW: 老师视频区域水印的宽度,取值:0-100,默认为0,表示区域X方向的百分比
|
1776
|
+
# @type TeacherW: Float
|
1777
|
+
# @param TeacherH: 老师视频区域水印的高度,取值:0-100,默认为0, 表示区域Y方向的百分比
|
1778
|
+
# @type TeacherH: Float
|
1779
|
+
# @param TeacherX: 老师视频区域水印X偏移, 取值:0-100, 表示区域X方向的百分比。比如50,则表示位于X轴中间
|
1780
|
+
# @type TeacherX: Float
|
1781
|
+
# @param TeacherY: 老师视频区域水印Y偏移, 取值:0-100, 表示区域X方向的百分比。比如50,则表示位于X轴中间
|
1782
|
+
# @type TeacherY: Float
|
1783
|
+
# @param Text: 文字水印内容,设置为空字符串表示删除
|
1784
|
+
# @type Text: String
|
1785
|
+
# @param TextColor: 文字水印颜色
|
1786
|
+
# @type TextColor: String
|
1787
|
+
|
1788
|
+
attr_accessor :SdkAppId, :TeacherUrl, :BoardUrl, :VideoUrl, :BoardW, :BoardH, :BoardX, :BoardY, :TeacherW, :TeacherH, :TeacherX, :TeacherY, :Text, :TextColor
|
1789
|
+
|
1790
|
+
def initialize(sdkappid=nil, teacherurl=nil, boardurl=nil, videourl=nil, boardw=nil, boardh=nil, boardx=nil, boardy=nil, teacherw=nil, teacherh=nil, teacherx=nil, teachery=nil, text=nil, textcolor=nil)
|
1791
|
+
@SdkAppId = sdkappid
|
1792
|
+
@TeacherUrl = teacherurl
|
1793
|
+
@BoardUrl = boardurl
|
1794
|
+
@VideoUrl = videourl
|
1795
|
+
@BoardW = boardw
|
1796
|
+
@BoardH = boardh
|
1797
|
+
@BoardX = boardx
|
1798
|
+
@BoardY = boardy
|
1799
|
+
@TeacherW = teacherw
|
1800
|
+
@TeacherH = teacherh
|
1801
|
+
@TeacherX = teacherx
|
1802
|
+
@TeacherY = teachery
|
1803
|
+
@Text = text
|
1804
|
+
@TextColor = textcolor
|
1805
|
+
end
|
1806
|
+
|
1807
|
+
def deserialize(params)
|
1808
|
+
@SdkAppId = params['SdkAppId']
|
1809
|
+
@TeacherUrl = params['TeacherUrl']
|
1810
|
+
@BoardUrl = params['BoardUrl']
|
1811
|
+
@VideoUrl = params['VideoUrl']
|
1812
|
+
@BoardW = params['BoardW']
|
1813
|
+
@BoardH = params['BoardH']
|
1814
|
+
@BoardX = params['BoardX']
|
1815
|
+
@BoardY = params['BoardY']
|
1816
|
+
@TeacherW = params['TeacherW']
|
1817
|
+
@TeacherH = params['TeacherH']
|
1818
|
+
@TeacherX = params['TeacherX']
|
1819
|
+
@TeacherY = params['TeacherY']
|
1820
|
+
@Text = params['Text']
|
1821
|
+
@TextColor = params['TextColor']
|
1822
|
+
end
|
1823
|
+
end
|
1824
|
+
|
1825
|
+
# SetWatermark返回参数结构体
|
1826
|
+
class SetWatermarkResponse < TencentCloud::Common::AbstractModel
|
1827
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1828
|
+
# @type RequestId: String
|
1829
|
+
|
1830
|
+
attr_accessor :RequestId
|
1831
|
+
|
1832
|
+
def initialize(requestid=nil)
|
1833
|
+
@RequestId = requestid
|
1834
|
+
end
|
1835
|
+
|
1836
|
+
def deserialize(params)
|
1837
|
+
@RequestId = params['RequestId']
|
1838
|
+
end
|
1839
|
+
end
|
1840
|
+
|
1841
|
+
# 文字水印配置
|
1842
|
+
class TextMarkConfig < TencentCloud::Common::AbstractModel
|
1843
|
+
# @param Text: 文字水印内容
|
1844
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1845
|
+
# @type Text: String
|
1846
|
+
# @param Color: 文字水印颜色
|
1847
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1848
|
+
# @type Color: String
|
1849
|
+
|
1850
|
+
attr_accessor :Text, :Color
|
1851
|
+
|
1852
|
+
def initialize(text=nil, color=nil)
|
1853
|
+
@Text = text
|
1854
|
+
@Color = color
|
1855
|
+
end
|
1856
|
+
|
1857
|
+
def deserialize(params)
|
1858
|
+
@Text = params['Text']
|
1859
|
+
@Color = params['Color']
|
1860
|
+
end
|
1861
|
+
end
|
1862
|
+
|
1094
1863
|
# UnbindDocumentFromRoom请求参数结构体
|
1095
1864
|
class UnbindDocumentFromRoomRequest < TencentCloud::Common::AbstractModel
|
1096
1865
|
# @param RoomId: 房间ID。
|
@@ -1127,6 +1896,75 @@ module TencentCloud
|
|
1127
1896
|
end
|
1128
1897
|
end
|
1129
1898
|
|
1899
|
+
# 用户信息结构体
|
1900
|
+
class UserInfo < TencentCloud::Common::AbstractModel
|
1901
|
+
# @param SdkAppId: 应用Id。
|
1902
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1903
|
+
# @type SdkAppId: Integer
|
1904
|
+
# @param UserId: 用户Id。
|
1905
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1906
|
+
# @type UserId: String
|
1907
|
+
# @param Name: 用户昵称。
|
1908
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1909
|
+
# @type Name: String
|
1910
|
+
# @param Avatar: 用户头像Url。
|
1911
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1912
|
+
# @type Avatar: String
|
1913
|
+
|
1914
|
+
attr_accessor :SdkAppId, :UserId, :Name, :Avatar
|
1915
|
+
|
1916
|
+
def initialize(sdkappid=nil, userid=nil, name=nil, avatar=nil)
|
1917
|
+
@SdkAppId = sdkappid
|
1918
|
+
@UserId = userid
|
1919
|
+
@Name = name
|
1920
|
+
@Avatar = avatar
|
1921
|
+
end
|
1922
|
+
|
1923
|
+
def deserialize(params)
|
1924
|
+
@SdkAppId = params['SdkAppId']
|
1925
|
+
@UserId = params['UserId']
|
1926
|
+
@Name = params['Name']
|
1927
|
+
@Avatar = params['Avatar']
|
1928
|
+
end
|
1929
|
+
end
|
1930
|
+
|
1931
|
+
# 水印配置
|
1932
|
+
class WatermarkConfig < TencentCloud::Common::AbstractModel
|
1933
|
+
# @param Url: 水印图片的url
|
1934
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1935
|
+
# @type Url: String
|
1936
|
+
# @param Width: 水印宽。为比例值
|
1937
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1938
|
+
# @type Width: Float
|
1939
|
+
# @param Height: 水印高。为比例值
|
1940
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1941
|
+
# @type Height: Float
|
1942
|
+
# @param LocationX: 水印X偏移, 取值:0-100, 表示区域X方向的百分比。比如50,则表示位于X轴中间。
|
1943
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1944
|
+
# @type LocationX: Float
|
1945
|
+
# @param LocationY: 水印Y偏移, 取值:0-100, 表示区域Y方向的百分比。比如50,则表示位于Y轴中间。
|
1946
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1947
|
+
# @type LocationY: Float
|
1948
|
+
|
1949
|
+
attr_accessor :Url, :Width, :Height, :LocationX, :LocationY
|
1950
|
+
|
1951
|
+
def initialize(url=nil, width=nil, height=nil, locationx=nil, locationy=nil)
|
1952
|
+
@Url = url
|
1953
|
+
@Width = width
|
1954
|
+
@Height = height
|
1955
|
+
@LocationX = locationx
|
1956
|
+
@LocationY = locationy
|
1957
|
+
end
|
1958
|
+
|
1959
|
+
def deserialize(params)
|
1960
|
+
@Url = params['Url']
|
1961
|
+
@Width = params['Width']
|
1962
|
+
@Height = params['Height']
|
1963
|
+
@LocationX = params['LocationX']
|
1964
|
+
@LocationY = params['LocationY']
|
1965
|
+
end
|
1966
|
+
end
|
1967
|
+
|
1130
1968
|
end
|
1131
1969
|
end
|
1132
1970
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-lcic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.505
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|