tencentcloud-sdk-tiw 3.0.537 → 3.0.539

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,6 +17,68 @@
17
17
  module TencentCloud
18
18
  module Tiw
19
19
  module V20190919
20
+ # 白板应用
21
+ class ApplicationItem < TencentCloud::Common::AbstractModel
22
+ # @param SdkAppId: 应用SdkAppId
23
+ # @type SdkAppId: Integer
24
+ # @param AppName: 应用名
25
+ # @type AppName: String
26
+ # @param CreateTime: 创建时间
27
+ # @type CreateTime: String
28
+ # @param TagList: 标签列表
29
+ # @type TagList: Array
30
+
31
+ attr_accessor :SdkAppId, :AppName, :CreateTime, :TagList
32
+
33
+ def initialize(sdkappid=nil, appname=nil, createtime=nil, taglist=nil)
34
+ @SdkAppId = sdkappid
35
+ @AppName = appname
36
+ @CreateTime = createtime
37
+ @TagList = taglist
38
+ end
39
+
40
+ def deserialize(params)
41
+ @SdkAppId = params['SdkAppId']
42
+ @AppName = params['AppName']
43
+ @CreateTime = params['CreateTime']
44
+ unless params['TagList'].nil?
45
+ @TagList = []
46
+ params['TagList'].each do |i|
47
+ tag_tmp = Tag.new
48
+ tag_tmp.deserialize(i)
49
+ @TagList << tag_tmp
50
+ end
51
+ end
52
+ end
53
+ end
54
+
55
+ # ApplyTiwTrial请求参数结构体
56
+ class ApplyTiwTrialRequest < TencentCloud::Common::AbstractModel
57
+
58
+
59
+ def initialize()
60
+ end
61
+
62
+ def deserialize(params)
63
+ end
64
+ end
65
+
66
+ # ApplyTiwTrial返回参数结构体
67
+ class ApplyTiwTrialResponse < TencentCloud::Common::AbstractModel
68
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
69
+ # @type RequestId: String
70
+
71
+ attr_accessor :RequestId
72
+
73
+ def initialize(requestid=nil)
74
+ @RequestId = requestid
75
+ end
76
+
77
+ def deserialize(params)
78
+ @RequestId = params['RequestId']
79
+ end
80
+ end
81
+
20
82
  # 鉴权参数
21
83
  class AuthParam < TencentCloud::Common::AbstractModel
22
84
  # @param SdkAppId: 应用SdkAppId
@@ -85,6 +147,128 @@ module TencentCloud
85
147
  end
86
148
  end
87
149
 
150
+ # CreateApplication请求参数结构体
151
+ class CreateApplicationRequest < TencentCloud::Common::AbstractModel
152
+ # @param SdkAppId: 应用SdkAppId
153
+ # @type SdkAppId: Integer
154
+ # @param AppName: App名字
155
+ # @type AppName: String
156
+ # @param SKey: 创建IM应用需要的SKey
157
+ # @type SKey: String
158
+ # @param TinyId: 创建IM应用需要的TinyId
159
+ # @type TinyId: String
160
+ # @param TagList: 需要绑定的标签列表
161
+ # @type TagList: Array
162
+
163
+ attr_accessor :SdkAppId, :AppName, :SKey, :TinyId, :TagList
164
+
165
+ def initialize(sdkappid=nil, appname=nil, skey=nil, tinyid=nil, taglist=nil)
166
+ @SdkAppId = sdkappid
167
+ @AppName = appname
168
+ @SKey = skey
169
+ @TinyId = tinyid
170
+ @TagList = taglist
171
+ end
172
+
173
+ def deserialize(params)
174
+ @SdkAppId = params['SdkAppId']
175
+ @AppName = params['AppName']
176
+ @SKey = params['SKey']
177
+ @TinyId = params['TinyId']
178
+ unless params['TagList'].nil?
179
+ @TagList = []
180
+ params['TagList'].each do |i|
181
+ tag_tmp = Tag.new
182
+ tag_tmp.deserialize(i)
183
+ @TagList << tag_tmp
184
+ end
185
+ end
186
+ end
187
+ end
188
+
189
+ # CreateApplication返回参数结构体
190
+ class CreateApplicationResponse < TencentCloud::Common::AbstractModel
191
+ # @param AppId: 客户的AppId
192
+ # @type AppId: Integer
193
+ # @param AppName: App名字
194
+ # @type AppName: String
195
+ # @param SdkAppId: 应用SdkAppId
196
+ # @type SdkAppId: Integer
197
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
198
+ # @type RequestId: String
199
+
200
+ attr_accessor :AppId, :AppName, :SdkAppId, :RequestId
201
+
202
+ def initialize(appid=nil, appname=nil, sdkappid=nil, requestid=nil)
203
+ @AppId = appid
204
+ @AppName = appname
205
+ @SdkAppId = sdkappid
206
+ @RequestId = requestid
207
+ end
208
+
209
+ def deserialize(params)
210
+ @AppId = params['AppId']
211
+ @AppName = params['AppName']
212
+ @SdkAppId = params['SdkAppId']
213
+ @RequestId = params['RequestId']
214
+ end
215
+ end
216
+
217
+ # CreateOfflineRecord请求参数结构体
218
+ class CreateOfflineRecordRequest < TencentCloud::Common::AbstractModel
219
+ # @param SdkAppId: 客户的SdkAppId
220
+ # @type SdkAppId: Integer
221
+ # @param RoomId: 录制任务对应的房间号
222
+ # @type RoomId: Integer
223
+ # @param GroupId: 录制任务对应的群组Id
224
+ # @type GroupId: String
225
+ # @param MixStream: 混流参数配置
226
+ # 目前课后录制暂未支持自定义混流布局Custom参数
227
+ # @type MixStream: :class:`Tencentcloud::Tiw.v20190919.models.MixStream`
228
+ # @param Whiteboard: 白板参数配置
229
+ # @type Whiteboard: :class:`Tencentcloud::Tiw.v20190919.models.Whiteboard`
230
+
231
+ attr_accessor :SdkAppId, :RoomId, :GroupId, :MixStream, :Whiteboard
232
+
233
+ def initialize(sdkappid=nil, roomid=nil, groupid=nil, mixstream=nil, whiteboard=nil)
234
+ @SdkAppId = sdkappid
235
+ @RoomId = roomid
236
+ @GroupId = groupid
237
+ @MixStream = mixstream
238
+ @Whiteboard = whiteboard
239
+ end
240
+
241
+ def deserialize(params)
242
+ @SdkAppId = params['SdkAppId']
243
+ @RoomId = params['RoomId']
244
+ @GroupId = params['GroupId']
245
+ unless params['MixStream'].nil?
246
+ @MixStream = MixStream.new
247
+ @MixStream.deserialize(params['MixStream'])
248
+ end
249
+ unless params['Whiteboard'].nil?
250
+ @Whiteboard = Whiteboard.new
251
+ @Whiteboard.deserialize(params['Whiteboard'])
252
+ end
253
+ end
254
+ end
255
+
256
+ # CreateOfflineRecord返回参数结构体
257
+ class CreateOfflineRecordResponse < TencentCloud::Common::AbstractModel
258
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
259
+ # @type RequestId: String
260
+
261
+ attr_accessor :RequestId
262
+
263
+ def initialize(requestid=nil)
264
+ @RequestId = requestid
265
+ end
266
+
267
+ def deserialize(params)
268
+ @RequestId = params['RequestId']
269
+ end
270
+ end
271
+
88
272
  # CreateSnapshotTask请求参数结构体
89
273
  class CreateSnapshotTaskRequest < TencentCloud::Common::AbstractModel
90
274
  # @param Whiteboard: 白板相关参数
@@ -355,179 +539,569 @@ module TencentCloud
355
539
  end
356
540
  end
357
541
 
358
- # DescribeOnlineRecordCallback请求参数结构体
359
- class DescribeOnlineRecordCallbackRequest < TencentCloud::Common::AbstractModel
360
- # @param SdkAppId: 应用的SdkAppId
361
- # @type SdkAppId: Integer
542
+ # 画图数据,Time/Value/Details
543
+ class DataItem < TencentCloud::Common::AbstractModel
544
+ # @param Time: 时间
545
+ # 按月格式yyyy-mm
546
+ # 按天格式yyyy-mm-dd
547
+ # 按分钟格式 yyyy-mm-dd HH:MM:SS
548
+ # @type Time: String
549
+ # @param Value: 画图所需要的值
550
+ # @type Value: Integer
551
+ # @param Details: 各个具体指标的详情
552
+ # @type Details: Array
362
553
 
363
- attr_accessor :SdkAppId
554
+ attr_accessor :Time, :Value, :Details
364
555
 
365
- def initialize(sdkappid=nil)
366
- @SdkAppId = sdkappid
556
+ def initialize(time=nil, value=nil, details=nil)
557
+ @Time = time
558
+ @Value = value
559
+ @Details = details
367
560
  end
368
561
 
369
562
  def deserialize(params)
370
- @SdkAppId = params['SdkAppId']
563
+ @Time = params['Time']
564
+ @Value = params['Value']
565
+ unless params['Details'].nil?
566
+ @Details = []
567
+ params['Details'].each do |i|
568
+ detail_tmp = Detail.new
569
+ detail_tmp.deserialize(i)
570
+ @Details << detail_tmp
571
+ end
572
+ end
371
573
  end
372
574
  end
373
575
 
374
- # DescribeOnlineRecordCallback返回参数结构体
375
- class DescribeOnlineRecordCallbackResponse < TencentCloud::Common::AbstractModel
376
- # @param Callback: 实时录制事件回调地址,如果未设置回调地址,该字段为空字符串
377
- # @type Callback: String
378
- # @param CallbackKey: 实时录制回调鉴权密钥
379
- # @type CallbackKey: String
576
+ # DescribeAPIService请求参数结构体
577
+ class DescribeAPIServiceRequest < TencentCloud::Common::AbstractModel
578
+ # @param Service: 目前支持的Service为cos:GetService,cdn:DescribeDomainsConfig
579
+ # @type Service: String
580
+ # @param Data: JSON格式的请求参数
581
+ # @type Data: String
582
+
583
+ attr_accessor :Service, :Data
584
+
585
+ def initialize(service=nil, data=nil)
586
+ @Service = service
587
+ @Data = data
588
+ end
589
+
590
+ def deserialize(params)
591
+ @Service = params['Service']
592
+ @Data = params['Data']
593
+ end
594
+ end
595
+
596
+ # DescribeAPIService返回参数结构体
597
+ class DescribeAPIServiceResponse < TencentCloud::Common::AbstractModel
598
+ # @param ResponseData: Json格式的响应数据
599
+ # @type ResponseData: String
380
600
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
381
601
  # @type RequestId: String
382
602
 
383
- attr_accessor :Callback, :CallbackKey, :RequestId
603
+ attr_accessor :ResponseData, :RequestId
384
604
 
385
- def initialize(callback=nil, callbackkey=nil, requestid=nil)
386
- @Callback = callback
387
- @CallbackKey = callbackkey
605
+ def initialize(responsedata=nil, requestid=nil)
606
+ @ResponseData = responsedata
388
607
  @RequestId = requestid
389
608
  end
390
609
 
391
610
  def deserialize(params)
392
- @Callback = params['Callback']
393
- @CallbackKey = params['CallbackKey']
611
+ @ResponseData = params['ResponseData']
394
612
  @RequestId = params['RequestId']
395
613
  end
396
614
  end
397
615
 
398
- # DescribeOnlineRecord请求参数结构体
399
- class DescribeOnlineRecordRequest < TencentCloud::Common::AbstractModel
400
- # @param SdkAppId: 客户的SdkAppId
401
- # @type SdkAppId: Integer
402
- # @param TaskId: 实时录制任务Id
403
- # @type TaskId: String
616
+ # DescribeApplicationInfos请求参数结构体
617
+ class DescribeApplicationInfosRequest < TencentCloud::Common::AbstractModel
404
618
 
405
- attr_accessor :SdkAppId, :TaskId
406
619
 
407
- def initialize(sdkappid=nil, taskid=nil)
408
- @SdkAppId = sdkappid
409
- @TaskId = taskid
620
+ def initialize()
410
621
  end
411
622
 
412
623
  def deserialize(params)
413
- @SdkAppId = params['SdkAppId']
414
- @TaskId = params['TaskId']
415
624
  end
416
625
  end
417
626
 
418
- # DescribeOnlineRecord返回参数结构体
419
- class DescribeOnlineRecordResponse < TencentCloud::Common::AbstractModel
420
- # @param FinishReason: 录制结束原因,
421
- # - AUTO: 房间内长时间没有音视频上行及白板操作导致自动停止录制
422
- # - USER_CALL: 主动调用了停止录制接口
423
- # - EXCEPTION: 录制异常结束
424
- # - FORCE_STOP: 强制停止录制,一般是因为暂停超过90分钟或者录制总时长超过24小时。
425
- # @type FinishReason: String
426
- # @param TaskId: 需要查询结果的录制任务Id
427
- # @type TaskId: String
428
- # @param Status: 录制任务状态
429
- # - PREPARED: 表示录制正在准备中(进房/启动录制服务等操作)
430
- # - RECORDING: 表示录制已开始
431
- # - PAUSED: 表示录制已暂停
432
- # - STOPPED: 表示录制已停止,正在处理并上传视频
433
- # - FINISHED: 表示视频处理并上传完成,成功生成录制结果
434
- # @type Status: String
435
- # @param RoomId: 房间号
436
- # @type RoomId: Integer
437
- # @param GroupId: 白板的群组 Id
438
- # @type GroupId: String
439
- # @param RecordUserId: 录制用户Id
440
- # @type RecordUserId: String
441
- # @param RecordStartTime: 实际开始录制时间,Unix 时间戳,单位秒
442
- # @type RecordStartTime: Integer
443
- # @param RecordStopTime: 实际停止录制时间,Unix 时间戳,单位秒
444
- # @type RecordStopTime: Integer
445
- # @param TotalTime: 回放视频总时长(单位:毫秒)
446
- # @type TotalTime: Integer
447
- # @param ExceptionCnt: 录制过程中出现异常的次数
448
- # @type ExceptionCnt: Integer
449
- # @param OmittedDurations: 拼接视频中被忽略的时间段,只有开启视频拼接功能的时候,这个参数才是有效的
450
- # @type OmittedDurations: Array
451
- # @param VideoInfos: 录制视频列表
452
- # @type VideoInfos: Array
453
- # @param ReplayUrl: 回放URL,需配合信令播放器使用。此字段仅适用于`视频生成模式`
454
- # 注意:此字段可能返回 null,表示取不到有效值。
455
- # @type ReplayUrl: String
456
- # @param Interrupts: 视频流在录制过程中断流次数
457
- # 注意:此字段可能返回 null,表示取不到有效值。
458
- # @type Interrupts: Array
627
+ # DescribeApplicationInfos返回参数结构体
628
+ class DescribeApplicationInfosResponse < TencentCloud::Common::AbstractModel
629
+ # @param ApplicationInfos: 应用列表
630
+ # @type ApplicationInfos: Array
631
+ # @param AllOption: 是否包含所有的应用,0-不包含,1-包含
632
+ # @type AllOption: Integer
459
633
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
460
634
  # @type RequestId: String
461
635
 
462
- attr_accessor :FinishReason, :TaskId, :Status, :RoomId, :GroupId, :RecordUserId, :RecordStartTime, :RecordStopTime, :TotalTime, :ExceptionCnt, :OmittedDurations, :VideoInfos, :ReplayUrl, :Interrupts, :RequestId
636
+ attr_accessor :ApplicationInfos, :AllOption, :RequestId
463
637
 
464
- def initialize(finishreason=nil, taskid=nil, status=nil, roomid=nil, groupid=nil, recorduserid=nil, recordstarttime=nil, recordstoptime=nil, totaltime=nil, exceptioncnt=nil, omitteddurations=nil, videoinfos=nil, replayurl=nil, interrupts=nil, requestid=nil)
465
- @FinishReason = finishreason
466
- @TaskId = taskid
467
- @Status = status
468
- @RoomId = roomid
469
- @GroupId = groupid
470
- @RecordUserId = recorduserid
471
- @RecordStartTime = recordstarttime
472
- @RecordStopTime = recordstoptime
473
- @TotalTime = totaltime
474
- @ExceptionCnt = exceptioncnt
475
- @OmittedDurations = omitteddurations
476
- @VideoInfos = videoinfos
477
- @ReplayUrl = replayurl
478
- @Interrupts = interrupts
638
+ def initialize(applicationinfos=nil, alloption=nil, requestid=nil)
639
+ @ApplicationInfos = applicationinfos
640
+ @AllOption = alloption
479
641
  @RequestId = requestid
480
642
  end
481
643
 
482
644
  def deserialize(params)
483
- @FinishReason = params['FinishReason']
484
- @TaskId = params['TaskId']
485
- @Status = params['Status']
486
- @RoomId = params['RoomId']
487
- @GroupId = params['GroupId']
488
- @RecordUserId = params['RecordUserId']
489
- @RecordStartTime = params['RecordStartTime']
490
- @RecordStopTime = params['RecordStopTime']
491
- @TotalTime = params['TotalTime']
492
- @ExceptionCnt = params['ExceptionCnt']
493
- unless params['OmittedDurations'].nil?
494
- @OmittedDurations = []
495
- params['OmittedDurations'].each do |i|
496
- omittedduration_tmp = OmittedDuration.new
497
- omittedduration_tmp.deserialize(i)
498
- @OmittedDurations << omittedduration_tmp
499
- end
500
- end
501
- unless params['VideoInfos'].nil?
502
- @VideoInfos = []
503
- params['VideoInfos'].each do |i|
504
- videoinfo_tmp = VideoInfo.new
505
- videoinfo_tmp.deserialize(i)
506
- @VideoInfos << videoinfo_tmp
507
- end
508
- end
509
- @ReplayUrl = params['ReplayUrl']
510
- unless params['Interrupts'].nil?
511
- @Interrupts = []
512
- params['Interrupts'].each do |i|
513
- interrupt_tmp = Interrupt.new
514
- interrupt_tmp.deserialize(i)
515
- @Interrupts << interrupt_tmp
645
+ unless params['ApplicationInfos'].nil?
646
+ @ApplicationInfos = []
647
+ params['ApplicationInfos'].each do |i|
648
+ applicationitem_tmp = ApplicationItem.new
649
+ applicationitem_tmp.deserialize(i)
650
+ @ApplicationInfos << applicationitem_tmp
516
651
  end
517
652
  end
653
+ @AllOption = params['AllOption']
518
654
  @RequestId = params['RequestId']
519
655
  end
520
656
  end
521
657
 
522
- # DescribeQualityMetrics请求参数结构体
523
- class DescribeQualityMetricsRequest < TencentCloud::Common::AbstractModel
658
+ # DescribeApplicationUsage请求参数结构体
659
+ class DescribeApplicationUsageRequest < TencentCloud::Common::AbstractModel
660
+ # @param BeginTime: 用量开始时间(包括该时间点)
661
+ # @type BeginTime: String
662
+ # @param EndTime: 用量结束时间(不包括该时间点)
663
+ # @type EndTime: String
664
+ # @param SubProduct: 白板子产品名
665
+ # @type SubProduct: String
666
+ # @param TimeLevel: 时间跨度单位
667
+ # - MONTHLY:月
668
+ # - DAILY:天
669
+ # - MINUTELY:分钟
670
+ # @type TimeLevel: String
524
671
  # @param SdkAppId: 白板应用的SdkAppId
525
672
  # @type SdkAppId: Integer
526
- # @param StartTime: 开始时间,Unix时间戳,单位秒,时间跨度不能超过7天
527
- # @type StartTime: Integer
528
- # @param EndTime: 结束时间,Unix时间戳,单位秒,时间跨度不能超过7天
529
- # @type EndTime: Integer
530
- # @param Metric: 查询的指标,目前支持以下值
673
+ # @param IsWeighted: true: 返回加权求和后的用量数据
674
+ # false: 返回原始用量数据
675
+ # @type IsWeighted: Boolean
676
+
677
+ attr_accessor :BeginTime, :EndTime, :SubProduct, :TimeLevel, :SdkAppId, :IsWeighted
678
+
679
+ def initialize(begintime=nil, endtime=nil, subproduct=nil, timelevel=nil, sdkappid=nil, isweighted=nil)
680
+ @BeginTime = begintime
681
+ @EndTime = endtime
682
+ @SubProduct = subproduct
683
+ @TimeLevel = timelevel
684
+ @SdkAppId = sdkappid
685
+ @IsWeighted = isweighted
686
+ end
687
+
688
+ def deserialize(params)
689
+ @BeginTime = params['BeginTime']
690
+ @EndTime = params['EndTime']
691
+ @SubProduct = params['SubProduct']
692
+ @TimeLevel = params['TimeLevel']
693
+ @SdkAppId = params['SdkAppId']
694
+ @IsWeighted = params['IsWeighted']
695
+ end
696
+ end
697
+
698
+ # DescribeApplicationUsage返回参数结构体
699
+ class DescribeApplicationUsageResponse < TencentCloud::Common::AbstractModel
700
+ # @param Data: 画图所需的用量数据
701
+ # @type Data: Array
702
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
703
+ # @type RequestId: String
704
+
705
+ attr_accessor :Data, :RequestId
706
+
707
+ def initialize(data=nil, requestid=nil)
708
+ @Data = data
709
+ @RequestId = requestid
710
+ end
711
+
712
+ def deserialize(params)
713
+ unless params['Data'].nil?
714
+ @Data = []
715
+ params['Data'].each do |i|
716
+ dataitem_tmp = DataItem.new
717
+ dataitem_tmp.deserialize(i)
718
+ @Data << dataitem_tmp
719
+ end
720
+ end
721
+ @RequestId = params['RequestId']
722
+ end
723
+ end
724
+
725
+ # DescribeBoardSDKLog请求参数结构体
726
+ class DescribeBoardSDKLogRequest < TencentCloud::Common::AbstractModel
727
+ # @param SdkAppId: 白板应用的SdkAppId
728
+ # @type SdkAppId: Integer
729
+ # @param RoomId: 需要查询日志的白板房间号
730
+ # @type RoomId: String
731
+ # @param UserId: 需要查询日志的用户ID
732
+ # @type UserId: String
733
+ # @param TimeRange: 查询时间段,Unix时间戳,单位毫秒,第一个值为开始时间戳,第二个值为结束时间
734
+ # @type TimeRange: Array
735
+ # @param AggregationInterval: 聚合日志条数查询的桶的时间范围,如5m, 1h, 4h等
736
+ # @type AggregationInterval: String
737
+ # @param Query: 额外的查询条件
738
+ # @type Query: String
739
+ # @param Ascending: 是否按时间升序排列
740
+ # @type Ascending: Boolean
741
+ # @param Context: 用于递归拉取的上下文Key,在上一次请求中返回
742
+ # @type Context: String
743
+
744
+ attr_accessor :SdkAppId, :RoomId, :UserId, :TimeRange, :AggregationInterval, :Query, :Ascending, :Context
745
+
746
+ def initialize(sdkappid=nil, roomid=nil, userid=nil, timerange=nil, aggregationinterval=nil, query=nil, ascending=nil, context=nil)
747
+ @SdkAppId = sdkappid
748
+ @RoomId = roomid
749
+ @UserId = userid
750
+ @TimeRange = timerange
751
+ @AggregationInterval = aggregationinterval
752
+ @Query = query
753
+ @Ascending = ascending
754
+ @Context = context
755
+ end
756
+
757
+ def deserialize(params)
758
+ @SdkAppId = params['SdkAppId']
759
+ @RoomId = params['RoomId']
760
+ @UserId = params['UserId']
761
+ @TimeRange = params['TimeRange']
762
+ @AggregationInterval = params['AggregationInterval']
763
+ @Query = params['Query']
764
+ @Ascending = params['Ascending']
765
+ @Context = params['Context']
766
+ end
767
+ end
768
+
769
+ # DescribeBoardSDKLog返回参数结构体
770
+ class DescribeBoardSDKLogResponse < TencentCloud::Common::AbstractModel
771
+ # @param Total: 总共能查到日志条数
772
+ # @type Total: Integer
773
+ # @param Sources: 日志详细内容
774
+ # @type Sources: Array
775
+ # @param Buckets: 按时间段聚合后每个时间段的日志条数
776
+ # @type Buckets: Array
777
+ # @param Context: 用于递归拉取的上下文Key,下一次请求的时候带上
778
+ # @type Context: String
779
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
780
+ # @type RequestId: String
781
+
782
+ attr_accessor :Total, :Sources, :Buckets, :Context, :RequestId
783
+
784
+ def initialize(total=nil, sources=nil, buckets=nil, context=nil, requestid=nil)
785
+ @Total = total
786
+ @Sources = sources
787
+ @Buckets = buckets
788
+ @Context = context
789
+ @RequestId = requestid
790
+ end
791
+
792
+ def deserialize(params)
793
+ @Total = params['Total']
794
+ @Sources = params['Sources']
795
+ @Buckets = params['Buckets']
796
+ @Context = params['Context']
797
+ @RequestId = params['RequestId']
798
+ end
799
+ end
800
+
801
+ # DescribeIMApplications请求参数结构体
802
+ class DescribeIMApplicationsRequest < TencentCloud::Common::AbstractModel
803
+
804
+
805
+ def initialize()
806
+ end
807
+
808
+ def deserialize(params)
809
+ end
810
+ end
811
+
812
+ # DescribeIMApplications返回参数结构体
813
+ class DescribeIMApplicationsResponse < TencentCloud::Common::AbstractModel
814
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
815
+ # @type RequestId: String
816
+
817
+ attr_accessor :RequestId
818
+
819
+ def initialize(requestid=nil)
820
+ @RequestId = requestid
821
+ end
822
+
823
+ def deserialize(params)
824
+ @RequestId = params['RequestId']
825
+ end
826
+ end
827
+
828
+ # DescribeOfflineRecordCallback请求参数结构体
829
+ class DescribeOfflineRecordCallbackRequest < TencentCloud::Common::AbstractModel
830
+ # @param SdkAppId: 应用的SdkAppId
831
+ # @type SdkAppId: Integer
832
+
833
+ attr_accessor :SdkAppId
834
+
835
+ def initialize(sdkappid=nil)
836
+ @SdkAppId = sdkappid
837
+ end
838
+
839
+ def deserialize(params)
840
+ @SdkAppId = params['SdkAppId']
841
+ end
842
+ end
843
+
844
+ # DescribeOfflineRecordCallback返回参数结构体
845
+ class DescribeOfflineRecordCallbackResponse < TencentCloud::Common::AbstractModel
846
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
847
+ # @type RequestId: String
848
+
849
+ attr_accessor :RequestId
850
+
851
+ def initialize(requestid=nil)
852
+ @RequestId = requestid
853
+ end
854
+
855
+ def deserialize(params)
856
+ @RequestId = params['RequestId']
857
+ end
858
+ end
859
+
860
+ # DescribeOfflineRecord请求参数结构体
861
+ class DescribeOfflineRecordRequest < TencentCloud::Common::AbstractModel
862
+ # @param SdkAppId: 客户的SdkAppId
863
+ # @type SdkAppId: Integer
864
+ # @param TaskId: 课后录制任务的Id
865
+ # @type TaskId: String
866
+
867
+ attr_accessor :SdkAppId, :TaskId
868
+
869
+ def initialize(sdkappid=nil, taskid=nil)
870
+ @SdkAppId = sdkappid
871
+ @TaskId = taskid
872
+ end
873
+
874
+ def deserialize(params)
875
+ @SdkAppId = params['SdkAppId']
876
+ @TaskId = params['TaskId']
877
+ end
878
+ end
879
+
880
+ # DescribeOfflineRecord返回参数结构体
881
+ class DescribeOfflineRecordResponse < TencentCloud::Common::AbstractModel
882
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
883
+ # @type RequestId: String
884
+
885
+ attr_accessor :RequestId
886
+
887
+ def initialize(requestid=nil)
888
+ @RequestId = requestid
889
+ end
890
+
891
+ def deserialize(params)
892
+ @RequestId = params['RequestId']
893
+ end
894
+ end
895
+
896
+ # DescribeOnlineRecordCallback请求参数结构体
897
+ class DescribeOnlineRecordCallbackRequest < TencentCloud::Common::AbstractModel
898
+ # @param SdkAppId: 应用的SdkAppId
899
+ # @type SdkAppId: Integer
900
+
901
+ attr_accessor :SdkAppId
902
+
903
+ def initialize(sdkappid=nil)
904
+ @SdkAppId = sdkappid
905
+ end
906
+
907
+ def deserialize(params)
908
+ @SdkAppId = params['SdkAppId']
909
+ end
910
+ end
911
+
912
+ # DescribeOnlineRecordCallback返回参数结构体
913
+ class DescribeOnlineRecordCallbackResponse < TencentCloud::Common::AbstractModel
914
+ # @param Callback: 实时录制事件回调地址,如果未设置回调地址,该字段为空字符串
915
+ # @type Callback: String
916
+ # @param CallbackKey: 实时录制回调鉴权密钥
917
+ # @type CallbackKey: String
918
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
919
+ # @type RequestId: String
920
+
921
+ attr_accessor :Callback, :CallbackKey, :RequestId
922
+
923
+ def initialize(callback=nil, callbackkey=nil, requestid=nil)
924
+ @Callback = callback
925
+ @CallbackKey = callbackkey
926
+ @RequestId = requestid
927
+ end
928
+
929
+ def deserialize(params)
930
+ @Callback = params['Callback']
931
+ @CallbackKey = params['CallbackKey']
932
+ @RequestId = params['RequestId']
933
+ end
934
+ end
935
+
936
+ # DescribeOnlineRecord请求参数结构体
937
+ class DescribeOnlineRecordRequest < TencentCloud::Common::AbstractModel
938
+ # @param SdkAppId: 客户的SdkAppId
939
+ # @type SdkAppId: Integer
940
+ # @param TaskId: 实时录制任务Id
941
+ # @type TaskId: String
942
+
943
+ attr_accessor :SdkAppId, :TaskId
944
+
945
+ def initialize(sdkappid=nil, taskid=nil)
946
+ @SdkAppId = sdkappid
947
+ @TaskId = taskid
948
+ end
949
+
950
+ def deserialize(params)
951
+ @SdkAppId = params['SdkAppId']
952
+ @TaskId = params['TaskId']
953
+ end
954
+ end
955
+
956
+ # DescribeOnlineRecord返回参数结构体
957
+ class DescribeOnlineRecordResponse < TencentCloud::Common::AbstractModel
958
+ # @param FinishReason: 录制结束原因,
959
+ # - AUTO: 房间内长时间没有音视频上行及白板操作导致自动停止录制
960
+ # - USER_CALL: 主动调用了停止录制接口
961
+ # - EXCEPTION: 录制异常结束
962
+ # - FORCE_STOP: 强制停止录制,一般是因为暂停超过90分钟或者录制总时长超过24小时。
963
+ # @type FinishReason: String
964
+ # @param TaskId: 需要查询结果的录制任务Id
965
+ # @type TaskId: String
966
+ # @param Status: 录制任务状态
967
+ # - PREPARED: 表示录制正在准备中(进房/启动录制服务等操作)
968
+ # - RECORDING: 表示录制已开始
969
+ # - PAUSED: 表示录制已暂停
970
+ # - STOPPED: 表示录制已停止,正在处理并上传视频
971
+ # - FINISHED: 表示视频处理并上传完成,成功生成录制结果
972
+ # @type Status: String
973
+ # @param RoomId: 房间号
974
+ # @type RoomId: Integer
975
+ # @param GroupId: 白板的群组 Id
976
+ # @type GroupId: String
977
+ # @param RecordUserId: 录制用户Id
978
+ # @type RecordUserId: String
979
+ # @param RecordStartTime: 实际开始录制时间,Unix 时间戳,单位秒
980
+ # @type RecordStartTime: Integer
981
+ # @param RecordStopTime: 实际停止录制时间,Unix 时间戳,单位秒
982
+ # @type RecordStopTime: Integer
983
+ # @param TotalTime: 回放视频总时长(单位:毫秒)
984
+ # @type TotalTime: Integer
985
+ # @param ExceptionCnt: 录制过程中出现异常的次数
986
+ # @type ExceptionCnt: Integer
987
+ # @param OmittedDurations: 拼接视频中被忽略的时间段,只有开启视频拼接功能的时候,这个参数才是有效的
988
+ # @type OmittedDurations: Array
989
+ # @param VideoInfos: 录制视频列表
990
+ # @type VideoInfos: Array
991
+ # @param ReplayUrl: 回放URL,需配合信令播放器使用。此字段仅适用于`视频生成模式`
992
+ # 注意:此字段可能返回 null,表示取不到有效值。
993
+ # @type ReplayUrl: String
994
+ # @param Interrupts: 视频流在录制过程中断流次数
995
+ # 注意:此字段可能返回 null,表示取不到有效值。
996
+ # @type Interrupts: Array
997
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
998
+ # @type RequestId: String
999
+
1000
+ attr_accessor :FinishReason, :TaskId, :Status, :RoomId, :GroupId, :RecordUserId, :RecordStartTime, :RecordStopTime, :TotalTime, :ExceptionCnt, :OmittedDurations, :VideoInfos, :ReplayUrl, :Interrupts, :RequestId
1001
+
1002
+ def initialize(finishreason=nil, taskid=nil, status=nil, roomid=nil, groupid=nil, recorduserid=nil, recordstarttime=nil, recordstoptime=nil, totaltime=nil, exceptioncnt=nil, omitteddurations=nil, videoinfos=nil, replayurl=nil, interrupts=nil, requestid=nil)
1003
+ @FinishReason = finishreason
1004
+ @TaskId = taskid
1005
+ @Status = status
1006
+ @RoomId = roomid
1007
+ @GroupId = groupid
1008
+ @RecordUserId = recorduserid
1009
+ @RecordStartTime = recordstarttime
1010
+ @RecordStopTime = recordstoptime
1011
+ @TotalTime = totaltime
1012
+ @ExceptionCnt = exceptioncnt
1013
+ @OmittedDurations = omitteddurations
1014
+ @VideoInfos = videoinfos
1015
+ @ReplayUrl = replayurl
1016
+ @Interrupts = interrupts
1017
+ @RequestId = requestid
1018
+ end
1019
+
1020
+ def deserialize(params)
1021
+ @FinishReason = params['FinishReason']
1022
+ @TaskId = params['TaskId']
1023
+ @Status = params['Status']
1024
+ @RoomId = params['RoomId']
1025
+ @GroupId = params['GroupId']
1026
+ @RecordUserId = params['RecordUserId']
1027
+ @RecordStartTime = params['RecordStartTime']
1028
+ @RecordStopTime = params['RecordStopTime']
1029
+ @TotalTime = params['TotalTime']
1030
+ @ExceptionCnt = params['ExceptionCnt']
1031
+ unless params['OmittedDurations'].nil?
1032
+ @OmittedDurations = []
1033
+ params['OmittedDurations'].each do |i|
1034
+ omittedduration_tmp = OmittedDuration.new
1035
+ omittedduration_tmp.deserialize(i)
1036
+ @OmittedDurations << omittedduration_tmp
1037
+ end
1038
+ end
1039
+ unless params['VideoInfos'].nil?
1040
+ @VideoInfos = []
1041
+ params['VideoInfos'].each do |i|
1042
+ videoinfo_tmp = VideoInfo.new
1043
+ videoinfo_tmp.deserialize(i)
1044
+ @VideoInfos << videoinfo_tmp
1045
+ end
1046
+ end
1047
+ @ReplayUrl = params['ReplayUrl']
1048
+ unless params['Interrupts'].nil?
1049
+ @Interrupts = []
1050
+ params['Interrupts'].each do |i|
1051
+ interrupt_tmp = Interrupt.new
1052
+ interrupt_tmp.deserialize(i)
1053
+ @Interrupts << interrupt_tmp
1054
+ end
1055
+ end
1056
+ @RequestId = params['RequestId']
1057
+ end
1058
+ end
1059
+
1060
+ # DescribePostpaidUsage请求参数结构体
1061
+ class DescribePostpaidUsageRequest < TencentCloud::Common::AbstractModel
1062
+ # @param BeginTime: 开始时间
1063
+ # @type BeginTime: String
1064
+ # @param EndTime: 结束时间
1065
+ # @type EndTime: String
1066
+
1067
+ attr_accessor :BeginTime, :EndTime
1068
+
1069
+ def initialize(begintime=nil, endtime=nil)
1070
+ @BeginTime = begintime
1071
+ @EndTime = endtime
1072
+ end
1073
+
1074
+ def deserialize(params)
1075
+ @BeginTime = params['BeginTime']
1076
+ @EndTime = params['EndTime']
1077
+ end
1078
+ end
1079
+
1080
+ # DescribePostpaidUsage返回参数结构体
1081
+ class DescribePostpaidUsageResponse < TencentCloud::Common::AbstractModel
1082
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1083
+ # @type RequestId: String
1084
+
1085
+ attr_accessor :RequestId
1086
+
1087
+ def initialize(requestid=nil)
1088
+ @RequestId = requestid
1089
+ end
1090
+
1091
+ def deserialize(params)
1092
+ @RequestId = params['RequestId']
1093
+ end
1094
+ end
1095
+
1096
+ # DescribeQualityMetrics请求参数结构体
1097
+ class DescribeQualityMetricsRequest < TencentCloud::Common::AbstractModel
1098
+ # @param SdkAppId: 白板应用的SdkAppId
1099
+ # @type SdkAppId: Integer
1100
+ # @param StartTime: 开始时间,Unix时间戳,单位秒,时间跨度不能超过7天
1101
+ # @type StartTime: Integer
1102
+ # @param EndTime: 结束时间,Unix时间戳,单位秒,时间跨度不能超过7天
1103
+ # @type EndTime: Integer
1104
+ # @param Metric: 查询的指标,目前支持以下值
531
1105
  # - image_load_total_count: 图片加载总数(单位,次)
532
1106
  # - image_load_fail_count: 图片加载失败数量(单位,次)
533
1107
  # - image_load_success_rate: 图片加载成功率(百分比)
@@ -593,6 +1167,61 @@ module TencentCloud
593
1167
  end
594
1168
  end
595
1169
 
1170
+ # DescribeRoomList请求参数结构体
1171
+ class DescribeRoomListRequest < TencentCloud::Common::AbstractModel
1172
+ # @param SdkAppId: 白板应用的SdkAppId
1173
+ # @type SdkAppId: Integer
1174
+ # @param TimeRange: 查询时间段,Unix时间戳,单位毫秒,第一个值为开始时间戳,第二个值为结束时间
1175
+ # @type TimeRange: Array
1176
+ # @param Query: 额外的查询条件
1177
+ # @type Query: String
1178
+ # @param MaxSize: 返回最大的数据条数,默认1000
1179
+ # @type MaxSize: Integer
1180
+
1181
+ attr_accessor :SdkAppId, :TimeRange, :Query, :MaxSize
1182
+
1183
+ def initialize(sdkappid=nil, timerange=nil, query=nil, maxsize=nil)
1184
+ @SdkAppId = sdkappid
1185
+ @TimeRange = timerange
1186
+ @Query = query
1187
+ @MaxSize = maxsize
1188
+ end
1189
+
1190
+ def deserialize(params)
1191
+ @SdkAppId = params['SdkAppId']
1192
+ @TimeRange = params['TimeRange']
1193
+ @Query = params['Query']
1194
+ @MaxSize = params['MaxSize']
1195
+ end
1196
+ end
1197
+
1198
+ # DescribeRoomList返回参数结构体
1199
+ class DescribeRoomListResponse < TencentCloud::Common::AbstractModel
1200
+ # @param RoomList: 白板房间列表
1201
+ # @type RoomList: Array
1202
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1203
+ # @type RequestId: String
1204
+
1205
+ attr_accessor :RoomList, :RequestId
1206
+
1207
+ def initialize(roomlist=nil, requestid=nil)
1208
+ @RoomList = roomlist
1209
+ @RequestId = requestid
1210
+ end
1211
+
1212
+ def deserialize(params)
1213
+ unless params['RoomList'].nil?
1214
+ @RoomList = []
1215
+ params['RoomList'].each do |i|
1216
+ roomlistitem_tmp = RoomListItem.new
1217
+ roomlistitem_tmp.deserialize(i)
1218
+ @RoomList << roomlistitem_tmp
1219
+ end
1220
+ end
1221
+ @RequestId = params['RequestId']
1222
+ end
1223
+ end
1224
+
596
1225
  # DescribeSnapshotTask请求参数结构体
597
1226
  class DescribeSnapshotTaskRequest < TencentCloud::Common::AbstractModel
598
1227
  # @param TaskID: 查询任务ID
@@ -893,37 +1522,260 @@ module TencentCloud
893
1522
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
894
1523
  # @type RequestId: String
895
1524
 
896
- attr_accessor :Pages, :Progress, :Resolution, :ResultUrl, :Status, :TaskId, :Title, :ThumbnailUrl, :ThumbnailResolution, :CompressFileUrl, :ResourceListUrl, :Ext, :RequestId
1525
+ attr_accessor :Pages, :Progress, :Resolution, :ResultUrl, :Status, :TaskId, :Title, :ThumbnailUrl, :ThumbnailResolution, :CompressFileUrl, :ResourceListUrl, :Ext, :RequestId
1526
+
1527
+ def initialize(pages=nil, progress=nil, resolution=nil, resulturl=nil, status=nil, taskid=nil, title=nil, thumbnailurl=nil, thumbnailresolution=nil, compressfileurl=nil, resourcelisturl=nil, ext=nil, requestid=nil)
1528
+ @Pages = pages
1529
+ @Progress = progress
1530
+ @Resolution = resolution
1531
+ @ResultUrl = resulturl
1532
+ @Status = status
1533
+ @TaskId = taskid
1534
+ @Title = title
1535
+ @ThumbnailUrl = thumbnailurl
1536
+ @ThumbnailResolution = thumbnailresolution
1537
+ @CompressFileUrl = compressfileurl
1538
+ @ResourceListUrl = resourcelisturl
1539
+ @Ext = ext
1540
+ @RequestId = requestid
1541
+ end
1542
+
1543
+ def deserialize(params)
1544
+ @Pages = params['Pages']
1545
+ @Progress = params['Progress']
1546
+ @Resolution = params['Resolution']
1547
+ @ResultUrl = params['ResultUrl']
1548
+ @Status = params['Status']
1549
+ @TaskId = params['TaskId']
1550
+ @Title = params['Title']
1551
+ @ThumbnailUrl = params['ThumbnailUrl']
1552
+ @ThumbnailResolution = params['ThumbnailResolution']
1553
+ @CompressFileUrl = params['CompressFileUrl']
1554
+ @ResourceListUrl = params['ResourceListUrl']
1555
+ @Ext = params['Ext']
1556
+ @RequestId = params['RequestId']
1557
+ end
1558
+ end
1559
+
1560
+ # DescribeTranscodeSearch请求参数结构体
1561
+ class DescribeTranscodeSearchRequest < TencentCloud::Common::AbstractModel
1562
+
1563
+
1564
+ def initialize()
1565
+ end
1566
+
1567
+ def deserialize(params)
1568
+ end
1569
+ end
1570
+
1571
+ # DescribeTranscodeSearch返回参数结构体
1572
+ class DescribeTranscodeSearchResponse < TencentCloud::Common::AbstractModel
1573
+ # @param TranscodeTaskSet: 转码任务搜索结果集合
1574
+ # @type TranscodeTaskSet: Array
1575
+ # @param TotalCount: 转码总任务数
1576
+ # @type TotalCount: Integer
1577
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1578
+ # @type RequestId: String
1579
+
1580
+ attr_accessor :TranscodeTaskSet, :TotalCount, :RequestId
1581
+
1582
+ def initialize(transcodetaskset=nil, totalcount=nil, requestid=nil)
1583
+ @TranscodeTaskSet = transcodetaskset
1584
+ @TotalCount = totalcount
1585
+ @RequestId = requestid
1586
+ end
1587
+
1588
+ def deserialize(params)
1589
+ unless params['TranscodeTaskSet'].nil?
1590
+ @TranscodeTaskSet = []
1591
+ params['TranscodeTaskSet'].each do |i|
1592
+ transcodetasksearchresult_tmp = TranscodeTaskSearchResult.new
1593
+ transcodetasksearchresult_tmp.deserialize(i)
1594
+ @TranscodeTaskSet << transcodetasksearchresult_tmp
1595
+ end
1596
+ end
1597
+ @TotalCount = params['TotalCount']
1598
+ @RequestId = params['RequestId']
1599
+ end
1600
+ end
1601
+
1602
+ # DescribeUsageSummary请求参数结构体
1603
+ class DescribeUsageSummaryRequest < TencentCloud::Common::AbstractModel
1604
+ # @param BeginTime: 统计时间段的开始时间
1605
+ # @type BeginTime: String
1606
+ # @param EndTime: 统计时间段的结束时间
1607
+ # @type EndTime: String
1608
+ # @param SubProducts: 需要获取用量的子产品列表
1609
+ # @type SubProducts: Array
1610
+ # @param IsWeighted: true: 返回加权后的数据
1611
+ # false: 返回原始数据
1612
+ # @type IsWeighted: Boolean
1613
+
1614
+ attr_accessor :BeginTime, :EndTime, :SubProducts, :IsWeighted
1615
+
1616
+ def initialize(begintime=nil, endtime=nil, subproducts=nil, isweighted=nil)
1617
+ @BeginTime = begintime
1618
+ @EndTime = endtime
1619
+ @SubProducts = subproducts
1620
+ @IsWeighted = isweighted
1621
+ end
1622
+
1623
+ def deserialize(params)
1624
+ @BeginTime = params['BeginTime']
1625
+ @EndTime = params['EndTime']
1626
+ @SubProducts = params['SubProducts']
1627
+ @IsWeighted = params['IsWeighted']
1628
+ end
1629
+ end
1630
+
1631
+ # DescribeUsageSummary返回参数结构体
1632
+ class DescribeUsageSummaryResponse < TencentCloud::Common::AbstractModel
1633
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1634
+ # @type RequestId: String
1635
+
1636
+ attr_accessor :RequestId
1637
+
1638
+ def initialize(requestid=nil)
1639
+ @RequestId = requestid
1640
+ end
1641
+
1642
+ def deserialize(params)
1643
+ @RequestId = params['RequestId']
1644
+ end
1645
+ end
1646
+
1647
+ # DescribeUserList请求参数结构体
1648
+ class DescribeUserListRequest < TencentCloud::Common::AbstractModel
1649
+ # @param SdkAppId: 白板应用的SdkAppId
1650
+ # @type SdkAppId: Integer
1651
+ # @param RoomId: 需要查询用户列表的白板房间号
1652
+ # @type RoomId: String
1653
+ # @param TimeRange: 查询时间段,Unix时间戳,单位毫秒,第一个值为开始时间戳,第二个值为结束时间
1654
+ # @type TimeRange: Array
1655
+ # @param Query: 额外的查询条件
1656
+ # @type Query: String
1657
+ # @param MaxSize: 返回最大的数据条数,默认1000
1658
+ # @type MaxSize: Integer
1659
+
1660
+ attr_accessor :SdkAppId, :RoomId, :TimeRange, :Query, :MaxSize
1661
+
1662
+ def initialize(sdkappid=nil, roomid=nil, timerange=nil, query=nil, maxsize=nil)
1663
+ @SdkAppId = sdkappid
1664
+ @RoomId = roomid
1665
+ @TimeRange = timerange
1666
+ @Query = query
1667
+ @MaxSize = maxsize
1668
+ end
1669
+
1670
+ def deserialize(params)
1671
+ @SdkAppId = params['SdkAppId']
1672
+ @RoomId = params['RoomId']
1673
+ @TimeRange = params['TimeRange']
1674
+ @Query = params['Query']
1675
+ @MaxSize = params['MaxSize']
1676
+ end
1677
+ end
1678
+
1679
+ # DescribeUserList返回参数结构体
1680
+ class DescribeUserListResponse < TencentCloud::Common::AbstractModel
1681
+ # @param UserList: 房间内的用户列表
1682
+ # @type UserList: Array
1683
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1684
+ # @type RequestId: String
1685
+
1686
+ attr_accessor :UserList, :RequestId
1687
+
1688
+ def initialize(userlist=nil, requestid=nil)
1689
+ @UserList = userlist
1690
+ @RequestId = requestid
1691
+ end
1692
+
1693
+ def deserialize(params)
1694
+ unless params['UserList'].nil?
1695
+ @UserList = []
1696
+ params['UserList'].each do |i|
1697
+ userlistitem_tmp = UserListItem.new
1698
+ userlistitem_tmp.deserialize(i)
1699
+ @UserList << userlistitem_tmp
1700
+ end
1701
+ end
1702
+ @RequestId = params['RequestId']
1703
+ end
1704
+ end
1705
+
1706
+ # DescribeUserResources请求参数结构体
1707
+ class DescribeUserResourcesRequest < TencentCloud::Common::AbstractModel
1708
+
1709
+
1710
+ def initialize()
1711
+ end
1712
+
1713
+ def deserialize(params)
1714
+ end
1715
+ end
1716
+
1717
+ # DescribeUserResources返回参数结构体
1718
+ class DescribeUserResourcesResponse < TencentCloud::Common::AbstractModel
1719
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1720
+ # @type RequestId: String
1721
+
1722
+ attr_accessor :RequestId
1723
+
1724
+ def initialize(requestid=nil)
1725
+ @RequestId = requestid
1726
+ end
1727
+
1728
+ def deserialize(params)
1729
+ @RequestId = params['RequestId']
1730
+ end
1731
+ end
1732
+
1733
+ # DescribeUserStatus请求参数结构体
1734
+ class DescribeUserStatusRequest < TencentCloud::Common::AbstractModel
1735
+
1736
+
1737
+ def initialize()
1738
+ end
1739
+
1740
+ def deserialize(params)
1741
+ end
1742
+ end
1743
+
1744
+ # DescribeUserStatus返回参数结构体
1745
+ class DescribeUserStatusResponse < TencentCloud::Common::AbstractModel
1746
+ # @param AppId: 客户的AppId
1747
+ # @type AppId: Integer
1748
+ # @param IsTiwUser: 是否开通过白板(试用或正式)
1749
+
1750
+ # 0: 从未开通过白板服务
1751
+ # 1: 已经开通过白板服务
1752
+ # @type IsTiwUser: Integer
1753
+ # @param IsSaaSUser: 是否开通过互动课堂(试用或正式)
1754
+ # @type IsSaaSUser: Integer
1755
+ # @param IsTiwOfflineRecordUser: 是否使用白板的课后录制
1756
+ # @type IsTiwOfflineRecordUser: Integer
1757
+ # @param IsAuthenticated: 用户是否实名认证
1758
+ # @type IsAuthenticated: Integer
1759
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1760
+ # @type RequestId: String
1761
+
1762
+ attr_accessor :AppId, :IsTiwUser, :IsSaaSUser, :IsTiwOfflineRecordUser, :IsAuthenticated, :RequestId
897
1763
 
898
- def initialize(pages=nil, progress=nil, resolution=nil, resulturl=nil, status=nil, taskid=nil, title=nil, thumbnailurl=nil, thumbnailresolution=nil, compressfileurl=nil, resourcelisturl=nil, ext=nil, requestid=nil)
899
- @Pages = pages
900
- @Progress = progress
901
- @Resolution = resolution
902
- @ResultUrl = resulturl
903
- @Status = status
904
- @TaskId = taskid
905
- @Title = title
906
- @ThumbnailUrl = thumbnailurl
907
- @ThumbnailResolution = thumbnailresolution
908
- @CompressFileUrl = compressfileurl
909
- @ResourceListUrl = resourcelisturl
910
- @Ext = ext
1764
+ def initialize(appid=nil, istiwuser=nil, issaasuser=nil, istiwofflinerecorduser=nil, isauthenticated=nil, requestid=nil)
1765
+ @AppId = appid
1766
+ @IsTiwUser = istiwuser
1767
+ @IsSaaSUser = issaasuser
1768
+ @IsTiwOfflineRecordUser = istiwofflinerecorduser
1769
+ @IsAuthenticated = isauthenticated
911
1770
  @RequestId = requestid
912
1771
  end
913
1772
 
914
1773
  def deserialize(params)
915
- @Pages = params['Pages']
916
- @Progress = params['Progress']
917
- @Resolution = params['Resolution']
918
- @ResultUrl = params['ResultUrl']
919
- @Status = params['Status']
920
- @TaskId = params['TaskId']
921
- @Title = params['Title']
922
- @ThumbnailUrl = params['ThumbnailUrl']
923
- @ThumbnailResolution = params['ThumbnailResolution']
924
- @CompressFileUrl = params['CompressFileUrl']
925
- @ResourceListUrl = params['ResourceListUrl']
926
- @Ext = params['Ext']
1774
+ @AppId = params['AppId']
1775
+ @IsTiwUser = params['IsTiwUser']
1776
+ @IsSaaSUser = params['IsSaaSUser']
1777
+ @IsTiwOfflineRecordUser = params['IsTiwOfflineRecordUser']
1778
+ @IsAuthenticated = params['IsAuthenticated']
927
1779
  @RequestId = params['RequestId']
928
1780
  end
929
1781
  end
@@ -1049,6 +1901,101 @@ module TencentCloud
1049
1901
  end
1050
1902
  end
1051
1903
 
1904
+ # DescribeWhiteboardApplicationConfig请求参数结构体
1905
+ class DescribeWhiteboardApplicationConfigRequest < TencentCloud::Common::AbstractModel
1906
+ # @param SdkAppId: 客户的SdkAppId
1907
+ # @type SdkAppId: Integer
1908
+ # @param TaskTypes: 需要查询的任务类型
1909
+ # recording: 实时录制
1910
+ # transcode: 文档转码
1911
+ # @type TaskTypes: Array
1912
+ # @param SdkAppIds: 需要查询配置的SdkAppId列表
1913
+ # @type SdkAppIds: Array
1914
+
1915
+ attr_accessor :SdkAppId, :TaskTypes, :SdkAppIds
1916
+
1917
+ def initialize(sdkappid=nil, tasktypes=nil, sdkappids=nil)
1918
+ @SdkAppId = sdkappid
1919
+ @TaskTypes = tasktypes
1920
+ @SdkAppIds = sdkappids
1921
+ end
1922
+
1923
+ def deserialize(params)
1924
+ @SdkAppId = params['SdkAppId']
1925
+ @TaskTypes = params['TaskTypes']
1926
+ @SdkAppIds = params['SdkAppIds']
1927
+ end
1928
+ end
1929
+
1930
+ # DescribeWhiteboardApplicationConfig返回参数结构体
1931
+ class DescribeWhiteboardApplicationConfigResponse < TencentCloud::Common::AbstractModel
1932
+ # @param SdkAppId: 客户的SdkAppId
1933
+ # @type SdkAppId: Integer
1934
+ # @param Configs: 白板应用任务相关配置
1935
+ # @type Configs: Array
1936
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1937
+ # @type RequestId: String
1938
+
1939
+ attr_accessor :SdkAppId, :Configs, :RequestId
1940
+
1941
+ def initialize(sdkappid=nil, configs=nil, requestid=nil)
1942
+ @SdkAppId = sdkappid
1943
+ @Configs = configs
1944
+ @RequestId = requestid
1945
+ end
1946
+
1947
+ def deserialize(params)
1948
+ @SdkAppId = params['SdkAppId']
1949
+ unless params['Configs'].nil?
1950
+ @Configs = []
1951
+ params['Configs'].each do |i|
1952
+ whiteboardapplicationconfig_tmp = WhiteboardApplicationConfig.new
1953
+ whiteboardapplicationconfig_tmp.deserialize(i)
1954
+ @Configs << whiteboardapplicationconfig_tmp
1955
+ end
1956
+ end
1957
+ @RequestId = params['RequestId']
1958
+ end
1959
+ end
1960
+
1961
+ # DescribeWhiteboardBucketConfig请求参数结构体
1962
+ class DescribeWhiteboardBucketConfigRequest < TencentCloud::Common::AbstractModel
1963
+ # @param SdkAppId: 客户的SdkAppId
1964
+ # @type SdkAppId: Integer
1965
+ # @param TaskType: 需要查询的任务类型
1966
+ # recording: 实时录制
1967
+ # transcode: 文档转码
1968
+ # @type TaskType: String
1969
+
1970
+ attr_accessor :SdkAppId, :TaskType
1971
+
1972
+ def initialize(sdkappid=nil, tasktype=nil)
1973
+ @SdkAppId = sdkappid
1974
+ @TaskType = tasktype
1975
+ end
1976
+
1977
+ def deserialize(params)
1978
+ @SdkAppId = params['SdkAppId']
1979
+ @TaskType = params['TaskType']
1980
+ end
1981
+ end
1982
+
1983
+ # DescribeWhiteboardBucketConfig返回参数结构体
1984
+ class DescribeWhiteboardBucketConfigResponse < TencentCloud::Common::AbstractModel
1985
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1986
+ # @type RequestId: String
1987
+
1988
+ attr_accessor :RequestId
1989
+
1990
+ def initialize(requestid=nil)
1991
+ @RequestId = requestid
1992
+ end
1993
+
1994
+ def deserialize(params)
1995
+ @RequestId = params['RequestId']
1996
+ end
1997
+ end
1998
+
1052
1999
  # DescribeWhiteboardPushCallback请求参数结构体
1053
2000
  class DescribeWhiteboardPushCallbackRequest < TencentCloud::Common::AbstractModel
1054
2001
  # @param SdkAppId: 应用的SdkAppId
@@ -1176,6 +2123,72 @@ module TencentCloud
1176
2123
  end
1177
2124
  end
1178
2125
 
2126
+ # DescribeWhiteboardPushSearch请求参数结构体
2127
+ class DescribeWhiteboardPushSearchRequest < TencentCloud::Common::AbstractModel
2128
+
2129
+
2130
+ def initialize()
2131
+ end
2132
+
2133
+ def deserialize(params)
2134
+ end
2135
+ end
2136
+
2137
+ # DescribeWhiteboardPushSearch返回参数结构体
2138
+ class DescribeWhiteboardPushSearchResponse < TencentCloud::Common::AbstractModel
2139
+ # @param WhiteboardPushTaskSet: 推流任务搜索结果集合
2140
+ # @type WhiteboardPushTaskSet: Array
2141
+ # @param TotalCount: 推流总任务数
2142
+ # @type TotalCount: Integer
2143
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2144
+ # @type RequestId: String
2145
+
2146
+ attr_accessor :WhiteboardPushTaskSet, :TotalCount, :RequestId
2147
+
2148
+ def initialize(whiteboardpushtaskset=nil, totalcount=nil, requestid=nil)
2149
+ @WhiteboardPushTaskSet = whiteboardpushtaskset
2150
+ @TotalCount = totalcount
2151
+ @RequestId = requestid
2152
+ end
2153
+
2154
+ def deserialize(params)
2155
+ unless params['WhiteboardPushTaskSet'].nil?
2156
+ @WhiteboardPushTaskSet = []
2157
+ params['WhiteboardPushTaskSet'].each do |i|
2158
+ whiteboardpushtasksearchresult_tmp = WhiteboardPushTaskSearchResult.new
2159
+ whiteboardpushtasksearchresult_tmp.deserialize(i)
2160
+ @WhiteboardPushTaskSet << whiteboardpushtasksearchresult_tmp
2161
+ end
2162
+ end
2163
+ @TotalCount = params['TotalCount']
2164
+ @RequestId = params['RequestId']
2165
+ end
2166
+ end
2167
+
2168
+ # 计费用量数据里,带不同指标Tag的详情
2169
+ class Detail < TencentCloud::Common::AbstractModel
2170
+ # @param TagName: 用量指标
2171
+ # @type TagName: String
2172
+ # @param Weight: 用量权重
2173
+ # @type Weight: Float
2174
+ # @param Value: 用量的值
2175
+ # @type Value: Float
2176
+
2177
+ attr_accessor :TagName, :Weight, :Value
2178
+
2179
+ def initialize(tagname=nil, weight=nil, value=nil)
2180
+ @TagName = tagname
2181
+ @Weight = weight
2182
+ @Value = value
2183
+ end
2184
+
2185
+ def deserialize(params)
2186
+ @TagName = params['TagName']
2187
+ @Weight = params['Weight']
2188
+ @Value = params['Value']
2189
+ end
2190
+ end
2191
+
1179
2192
  # 实时录制中出现的用户视频流断流次数统计
1180
2193
  class Interrupt < TencentCloud::Common::AbstractModel
1181
2194
  # @param UserId: 用户ID
@@ -1223,50 +2236,223 @@ module TencentCloud
1223
2236
  end
1224
2237
 
1225
2238
  def deserialize(params)
1226
- @Width = params['Width']
1227
- @Height = params['Height']
1228
- @X = params['X']
1229
- @Y = params['Y']
1230
- @ZOrder = params['ZOrder']
2239
+ @Width = params['Width']
2240
+ @Height = params['Height']
2241
+ @X = params['X']
2242
+ @Y = params['Y']
2243
+ @ZOrder = params['ZOrder']
2244
+ end
2245
+ end
2246
+
2247
+ # 混流配置
2248
+ class MixStream < TencentCloud::Common::AbstractModel
2249
+ # @param Enabled: 是否开启混流
2250
+ # @type Enabled: Boolean
2251
+ # @param DisableAudio: 是否禁用音频混流
2252
+ # @type DisableAudio: Boolean
2253
+ # @param ModelId: 内置混流布局模板ID, 取值 [1, 2], 区别见内置混流布局模板样式示例说明
2254
+ # 在没有填Custom字段时候,ModelId是必填的
2255
+ # @type ModelId: Integer
2256
+ # @param TeacherId: 老师用户ID
2257
+ # 此字段只有在ModelId填了的情况下生效
2258
+ # 填写TeacherId的效果是把指定为TeacherId的用户视频流显示在内置模板的第一个小画面中
2259
+ # @type TeacherId: String
2260
+ # @param Custom: 自定义混流布局参数
2261
+ # 当此字段存在时,ModelId 及 TeacherId 字段将被忽略
2262
+ # @type Custom: :class:`Tencentcloud::Tiw.v20190919.models.CustomLayout`
2263
+
2264
+ attr_accessor :Enabled, :DisableAudio, :ModelId, :TeacherId, :Custom
2265
+
2266
+ def initialize(enabled=nil, disableaudio=nil, modelid=nil, teacherid=nil, custom=nil)
2267
+ @Enabled = enabled
2268
+ @DisableAudio = disableaudio
2269
+ @ModelId = modelid
2270
+ @TeacherId = teacherid
2271
+ @Custom = custom
2272
+ end
2273
+
2274
+ def deserialize(params)
2275
+ @Enabled = params['Enabled']
2276
+ @DisableAudio = params['DisableAudio']
2277
+ @ModelId = params['ModelId']
2278
+ @TeacherId = params['TeacherId']
2279
+ unless params['Custom'].nil?
2280
+ @Custom = CustomLayout.new
2281
+ @Custom.deserialize(params['Custom'])
2282
+ end
2283
+ end
2284
+ end
2285
+
2286
+ # ModifyApplication请求参数结构体
2287
+ class ModifyApplicationRequest < TencentCloud::Common::AbstractModel
2288
+ # @param SdkAppId: 应用SdkAppId
2289
+ # @type SdkAppId: Integer
2290
+ # @param AppName: App名字
2291
+ # @type AppName: String
2292
+
2293
+ attr_accessor :SdkAppId, :AppName
2294
+
2295
+ def initialize(sdkappid=nil, appname=nil)
2296
+ @SdkAppId = sdkappid
2297
+ @AppName = appname
2298
+ end
2299
+
2300
+ def deserialize(params)
2301
+ @SdkAppId = params['SdkAppId']
2302
+ @AppName = params['AppName']
2303
+ end
2304
+ end
2305
+
2306
+ # ModifyApplication返回参数结构体
2307
+ class ModifyApplicationResponse < TencentCloud::Common::AbstractModel
2308
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2309
+ # @type RequestId: String
2310
+
2311
+ attr_accessor :RequestId
2312
+
2313
+ def initialize(requestid=nil)
2314
+ @RequestId = requestid
2315
+ end
2316
+
2317
+ def deserialize(params)
2318
+ @RequestId = params['RequestId']
2319
+ end
2320
+ end
2321
+
2322
+ # ModifyAutoRenewFlag请求参数结构体
2323
+ class ModifyAutoRenewFlagRequest < TencentCloud::Common::AbstractModel
2324
+ # @param SubProduct: 资源Id,从DescribeUserResources接口中获取Level=1的正式月功能费的SubProduct,一般为sp_tiw_package
2325
+ # @type SubProduct: String
2326
+ # @param ResourceId: 资源Id,从DescribeUserResources接口中获取Level=1的正式月功能费资源Id
2327
+ # @type ResourceId: String
2328
+ # @param AutoRenewFlag: 自动续费标记,0表示默认状态(用户未设置,即初始状态), 1表示自动续费,2表示明确不自动续费(用户设置),若业务无续费概念或无需自动续 费,需要设置为0
2329
+ # @type AutoRenewFlag: Integer
2330
+
2331
+ attr_accessor :SubProduct, :ResourceId, :AutoRenewFlag
2332
+
2333
+ def initialize(subproduct=nil, resourceid=nil, autorenewflag=nil)
2334
+ @SubProduct = subproduct
2335
+ @ResourceId = resourceid
2336
+ @AutoRenewFlag = autorenewflag
2337
+ end
2338
+
2339
+ def deserialize(params)
2340
+ @SubProduct = params['SubProduct']
2341
+ @ResourceId = params['ResourceId']
2342
+ @AutoRenewFlag = params['AutoRenewFlag']
2343
+ end
2344
+ end
2345
+
2346
+ # ModifyAutoRenewFlag返回参数结构体
2347
+ class ModifyAutoRenewFlagResponse < TencentCloud::Common::AbstractModel
2348
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2349
+ # @type RequestId: String
2350
+
2351
+ attr_accessor :RequestId
2352
+
2353
+ def initialize(requestid=nil)
2354
+ @RequestId = requestid
2355
+ end
2356
+
2357
+ def deserialize(params)
2358
+ @RequestId = params['RequestId']
2359
+ end
2360
+ end
2361
+
2362
+ # ModifyWhiteboardApplicationConfig请求参数结构体
2363
+ class ModifyWhiteboardApplicationConfigRequest < TencentCloud::Common::AbstractModel
2364
+ # @param SdkAppId: 客户的SdkAppId
2365
+ # @type SdkAppId: Integer
2366
+ # @param Configs: 白板应用任务相关配置
2367
+ # @type Configs: Array
2368
+
2369
+ attr_accessor :SdkAppId, :Configs
2370
+
2371
+ def initialize(sdkappid=nil, configs=nil)
2372
+ @SdkAppId = sdkappid
2373
+ @Configs = configs
2374
+ end
2375
+
2376
+ def deserialize(params)
2377
+ @SdkAppId = params['SdkAppId']
2378
+ unless params['Configs'].nil?
2379
+ @Configs = []
2380
+ params['Configs'].each do |i|
2381
+ whiteboardapplicationconfig_tmp = WhiteboardApplicationConfig.new
2382
+ whiteboardapplicationconfig_tmp.deserialize(i)
2383
+ @Configs << whiteboardapplicationconfig_tmp
2384
+ end
2385
+ end
2386
+ end
2387
+ end
2388
+
2389
+ # ModifyWhiteboardApplicationConfig返回参数结构体
2390
+ class ModifyWhiteboardApplicationConfigResponse < TencentCloud::Common::AbstractModel
2391
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2392
+ # @type RequestId: String
2393
+
2394
+ attr_accessor :RequestId
2395
+
2396
+ def initialize(requestid=nil)
2397
+ @RequestId = requestid
2398
+ end
2399
+
2400
+ def deserialize(params)
2401
+ @RequestId = params['RequestId']
2402
+ end
2403
+ end
2404
+
2405
+ # ModifyWhiteboardBucketConfig请求参数结构体
2406
+ class ModifyWhiteboardBucketConfigRequest < TencentCloud::Common::AbstractModel
2407
+ # @param SdkAppId: 客户的SdkAppId
2408
+ # @type SdkAppId: Integer
2409
+ # @param TaskType: 需要查询的任务类型
2410
+ # recording: 实时录制
2411
+ # transcode: 文档转码
2412
+ # @type TaskType: String
2413
+ # @param BucketName: COS存储桶名字
2414
+ # @type BucketName: String
2415
+ # @param BucketLocation: COS存储桶地域
2416
+ # @type BucketLocation: String
2417
+ # @param BucketPrefix: 存储桶里资源前缀
2418
+ # @type BucketPrefix: String
2419
+ # @param ResultDomain: 返回Url域名
2420
+ # @type ResultDomain: String
2421
+
2422
+ attr_accessor :SdkAppId, :TaskType, :BucketName, :BucketLocation, :BucketPrefix, :ResultDomain
2423
+
2424
+ def initialize(sdkappid=nil, tasktype=nil, bucketname=nil, bucketlocation=nil, bucketprefix=nil, resultdomain=nil)
2425
+ @SdkAppId = sdkappid
2426
+ @TaskType = tasktype
2427
+ @BucketName = bucketname
2428
+ @BucketLocation = bucketlocation
2429
+ @BucketPrefix = bucketprefix
2430
+ @ResultDomain = resultdomain
2431
+ end
2432
+
2433
+ def deserialize(params)
2434
+ @SdkAppId = params['SdkAppId']
2435
+ @TaskType = params['TaskType']
2436
+ @BucketName = params['BucketName']
2437
+ @BucketLocation = params['BucketLocation']
2438
+ @BucketPrefix = params['BucketPrefix']
2439
+ @ResultDomain = params['ResultDomain']
1231
2440
  end
1232
2441
  end
1233
2442
 
1234
- # 混流配置
1235
- class MixStream < TencentCloud::Common::AbstractModel
1236
- # @param Enabled: 是否开启混流
1237
- # @type Enabled: Boolean
1238
- # @param DisableAudio: 是否禁用音频混流
1239
- # @type DisableAudio: Boolean
1240
- # @param ModelId: 内置混流布局模板ID, 取值 [1, 2], 区别见内置混流布局模板样式示例说明
1241
- # 在没有填Custom字段时候,ModelId是必填的
1242
- # @type ModelId: Integer
1243
- # @param TeacherId: 老师用户ID
1244
- # 此字段只有在ModelId填了的情况下生效
1245
- # 填写TeacherId的效果是把指定为TeacherId的用户视频流显示在内置模板的第一个小画面中
1246
- # @type TeacherId: String
1247
- # @param Custom: 自定义混流布局参数
1248
- # 当此字段存在时,ModelId 及 TeacherId 字段将被忽略
1249
- # @type Custom: :class:`Tencentcloud::Tiw.v20190919.models.CustomLayout`
2443
+ # ModifyWhiteboardBucketConfig返回参数结构体
2444
+ class ModifyWhiteboardBucketConfigResponse < TencentCloud::Common::AbstractModel
2445
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2446
+ # @type RequestId: String
1250
2447
 
1251
- attr_accessor :Enabled, :DisableAudio, :ModelId, :TeacherId, :Custom
2448
+ attr_accessor :RequestId
1252
2449
 
1253
- def initialize(enabled=nil, disableaudio=nil, modelid=nil, teacherid=nil, custom=nil)
1254
- @Enabled = enabled
1255
- @DisableAudio = disableaudio
1256
- @ModelId = modelid
1257
- @TeacherId = teacherid
1258
- @Custom = custom
2450
+ def initialize(requestid=nil)
2451
+ @RequestId = requestid
1259
2452
  end
1260
2453
 
1261
2454
  def deserialize(params)
1262
- @Enabled = params['Enabled']
1263
- @DisableAudio = params['DisableAudio']
1264
- @ModelId = params['ModelId']
1265
- @TeacherId = params['TeacherId']
1266
- unless params['Custom'].nil?
1267
- @Custom = CustomLayout.new
1268
- @Custom.deserialize(params['Custom'])
1269
- end
2455
+ @RequestId = params['RequestId']
1270
2456
  end
1271
2457
  end
1272
2458
 
@@ -1420,6 +2606,34 @@ module TencentCloud
1420
2606
  end
1421
2607
  end
1422
2608
 
2609
+ # 日志查询里返回的白板房间数据
2610
+ class RoomListItem < TencentCloud::Common::AbstractModel
2611
+ # @param RoomId: 房间ID
2612
+ # @type RoomId: String
2613
+ # @param StartTime: 房间在查询时间段内最早出现的时间,Unix时间戳,单位毫秒
2614
+ # @type StartTime: Integer
2615
+ # @param EndTime: 房间在查询时间段内最晚出现的时间,Unix时间戳,单位毫秒
2616
+ # @type EndTime: Integer
2617
+ # @param UserNumber: 房间里成员数
2618
+ # @type UserNumber: Integer
2619
+
2620
+ attr_accessor :RoomId, :StartTime, :EndTime, :UserNumber
2621
+
2622
+ def initialize(roomid=nil, starttime=nil, endtime=nil, usernumber=nil)
2623
+ @RoomId = roomid
2624
+ @StartTime = starttime
2625
+ @EndTime = endtime
2626
+ @UserNumber = usernumber
2627
+ end
2628
+
2629
+ def deserialize(params)
2630
+ @RoomId = params['RoomId']
2631
+ @StartTime = params['StartTime']
2632
+ @EndTime = params['EndTime']
2633
+ @UserNumber = params['UserNumber']
2634
+ end
2635
+ end
2636
+
1423
2637
  # 互动白板房间用量信息
1424
2638
  class RoomUsageDataItem < TencentCloud::Common::AbstractModel
1425
2639
  # @param Time: 日期,格式为YYYY-MM-DD
@@ -1455,6 +2669,42 @@ module TencentCloud
1455
2669
  end
1456
2670
  end
1457
2671
 
2672
+ # SetOfflineRecordCallback请求参数结构体
2673
+ class SetOfflineRecordCallbackRequest < TencentCloud::Common::AbstractModel
2674
+ # @param SdkAppId: 客户的SdkAppId
2675
+ # @type SdkAppId: Integer
2676
+ # @param Callback: 课后录制任务结果回调地址,如果传空字符串会删除原来的回调地址配置,回调地址仅支持 http或https协议,即回调地址以http://或https://开头
2677
+ # @type Callback: String
2678
+
2679
+ attr_accessor :SdkAppId, :Callback
2680
+
2681
+ def initialize(sdkappid=nil, callback=nil)
2682
+ @SdkAppId = sdkappid
2683
+ @Callback = callback
2684
+ end
2685
+
2686
+ def deserialize(params)
2687
+ @SdkAppId = params['SdkAppId']
2688
+ @Callback = params['Callback']
2689
+ end
2690
+ end
2691
+
2692
+ # SetOfflineRecordCallback返回参数结构体
2693
+ class SetOfflineRecordCallbackResponse < TencentCloud::Common::AbstractModel
2694
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2695
+ # @type RequestId: String
2696
+
2697
+ attr_accessor :RequestId
2698
+
2699
+ def initialize(requestid=nil)
2700
+ @RequestId = requestid
2701
+ end
2702
+
2703
+ def deserialize(params)
2704
+ @RequestId = params['RequestId']
2705
+ end
2706
+ end
2707
+
1458
2708
  # SetOnlineRecordCallbackKey请求参数结构体
1459
2709
  class SetOnlineRecordCallbackKeyRequest < TencentCloud::Common::AbstractModel
1460
2710
  # @param SdkAppId: 应用的SdkAppId
@@ -2304,6 +3554,26 @@ module TencentCloud
2304
3554
  end
2305
3555
  end
2306
3556
 
3557
+ # 标签
3558
+ class Tag < TencentCloud::Common::AbstractModel
3559
+ # @param TagKey: 标签键
3560
+ # @type TagKey: String
3561
+ # @param TagValue: 标签值
3562
+ # @type TagValue: String
3563
+
3564
+ attr_accessor :TagKey, :TagValue
3565
+
3566
+ def initialize(tagkey=nil, tagvalue=nil)
3567
+ @TagKey = tagkey
3568
+ @TagValue = tagvalue
3569
+ end
3570
+
3571
+ def deserialize(params)
3572
+ @TagKey = params['TagKey']
3573
+ @TagValue = params['TagValue']
3574
+ end
3575
+ end
3576
+
2307
3577
  # 查询指标返回的时间序列
2308
3578
  class TimeValue < TencentCloud::Common::AbstractModel
2309
3579
  # @param Time: Unix时间戳,单位秒
@@ -2324,6 +3594,103 @@ module TencentCloud
2324
3594
  end
2325
3595
  end
2326
3596
 
3597
+ # 转码任务结果
3598
+ class TranscodeTaskResult < TencentCloud::Common::AbstractModel
3599
+ # @param ResultUrl: 转码结果地址
3600
+ # @type ResultUrl: String
3601
+ # @param Resolution: 分辨率
3602
+ # @type Resolution: String
3603
+ # @param Title: 标题(一般为文件名)
3604
+ # @type Title: String
3605
+ # @param Pages: 转码页数
3606
+ # @type Pages: Integer
3607
+ # @param ThumbnailUrl: 缩略图URL前缀,比如,该URL前缀为http://example.com/g0jb42ps49vtebjshilb/,那么动态PPT第1页的缩略图URL为
3608
+ # http://example.com/g0jb42ps49vtebjshilb/1.jpg,其它页以此类推
3609
+
3610
+ # 如果发起文档转码请求参数中带了ThumbnailResolution参数,并且转码类型为动态转码,该参数不为空,其余情况该参数为空字符串
3611
+ # @type ThumbnailUrl: String
3612
+ # @param ThumbnailResolution: 动态转码缩略图生成分辨率
3613
+ # @type ThumbnailResolution: String
3614
+ # @param CompressFileUrl: 转码压缩文件下载的URL,如果发起文档转码请求参数中CompressFileType为空或者不是支持的压缩格式,该参数为空字符串
3615
+ # @type CompressFileUrl: String
3616
+ # @param ErrorCode: 任务失败错误码
3617
+ # @type ErrorCode: Integer
3618
+ # @param ErrorMsg: 任务失败错误信息
3619
+ # @type ErrorMsg: String
3620
+
3621
+ attr_accessor :ResultUrl, :Resolution, :Title, :Pages, :ThumbnailUrl, :ThumbnailResolution, :CompressFileUrl, :ErrorCode, :ErrorMsg
3622
+
3623
+ def initialize(resulturl=nil, resolution=nil, title=nil, pages=nil, thumbnailurl=nil, thumbnailresolution=nil, compressfileurl=nil, errorcode=nil, errormsg=nil)
3624
+ @ResultUrl = resulturl
3625
+ @Resolution = resolution
3626
+ @Title = title
3627
+ @Pages = pages
3628
+ @ThumbnailUrl = thumbnailurl
3629
+ @ThumbnailResolution = thumbnailresolution
3630
+ @CompressFileUrl = compressfileurl
3631
+ @ErrorCode = errorcode
3632
+ @ErrorMsg = errormsg
3633
+ end
3634
+
3635
+ def deserialize(params)
3636
+ @ResultUrl = params['ResultUrl']
3637
+ @Resolution = params['Resolution']
3638
+ @Title = params['Title']
3639
+ @Pages = params['Pages']
3640
+ @ThumbnailUrl = params['ThumbnailUrl']
3641
+ @ThumbnailResolution = params['ThumbnailResolution']
3642
+ @CompressFileUrl = params['CompressFileUrl']
3643
+ @ErrorCode = params['ErrorCode']
3644
+ @ErrorMsg = params['ErrorMsg']
3645
+ end
3646
+ end
3647
+
3648
+ # 转码任务搜索结果
3649
+ class TranscodeTaskSearchResult < TencentCloud::Common::AbstractModel
3650
+ # @param CreateTime: 任务创建时间
3651
+ # @type CreateTime: String
3652
+ # @param TaskId: 任务唯一ID
3653
+ # @type TaskId: String
3654
+ # @param Status: 任务的当前状态
3655
+ # - QUEUED: 正在排队等待转换
3656
+ # - PROCESSING: 转换中
3657
+ # - FINISHED: 转换完成
3658
+ # @type Status: String
3659
+ # @param OriginalFilename: 转码文件原始名称
3660
+ # @type OriginalFilename: String
3661
+ # @param SdkAppId: 用户应用SdkAppId
3662
+ # @type SdkAppId: Integer
3663
+ # @param Result: 转码任务结果
3664
+ # @type Result: :class:`Tencentcloud::Tiw.v20190919.models.TranscodeTaskResult`
3665
+ # @param IsStatic: 是否静态转码
3666
+ # @type IsStatic: Boolean
3667
+
3668
+ attr_accessor :CreateTime, :TaskId, :Status, :OriginalFilename, :SdkAppId, :Result, :IsStatic
3669
+
3670
+ def initialize(createtime=nil, taskid=nil, status=nil, originalfilename=nil, sdkappid=nil, result=nil, isstatic=nil)
3671
+ @CreateTime = createtime
3672
+ @TaskId = taskid
3673
+ @Status = status
3674
+ @OriginalFilename = originalfilename
3675
+ @SdkAppId = sdkappid
3676
+ @Result = result
3677
+ @IsStatic = isstatic
3678
+ end
3679
+
3680
+ def deserialize(params)
3681
+ @CreateTime = params['CreateTime']
3682
+ @TaskId = params['TaskId']
3683
+ @Status = params['Status']
3684
+ @OriginalFilename = params['OriginalFilename']
3685
+ @SdkAppId = params['SdkAppId']
3686
+ unless params['Result'].nil?
3687
+ @Result = TranscodeTaskResult.new
3688
+ @Result.deserialize(params['Result'])
3689
+ end
3690
+ @IsStatic = params['IsStatic']
3691
+ end
3692
+ end
3693
+
2327
3694
  # 互动白板用量信息
2328
3695
  class UsageDataItem < TencentCloud::Common::AbstractModel
2329
3696
  # @param Time: 日期,格式为YYYY-MM-DD
@@ -2358,6 +3725,30 @@ module TencentCloud
2358
3725
  end
2359
3726
  end
2360
3727
 
3728
+ # 日志查询里返回的白板用户数据
3729
+ class UserListItem < TencentCloud::Common::AbstractModel
3730
+ # @param UserId: 房间内的用户ID
3731
+ # @type UserId: String
3732
+ # @param StartTime: 用户在查询时间段内最早出现的时间,Unix时间戳,单位毫秒
3733
+ # @type StartTime: Integer
3734
+ # @param EndTime: 用户在查询时间段内最晚出现的时间,Unix时间戳,单位毫秒
3735
+ # @type EndTime: Integer
3736
+
3737
+ attr_accessor :UserId, :StartTime, :EndTime
3738
+
3739
+ def initialize(userid=nil, starttime=nil, endtime=nil)
3740
+ @UserId = userid
3741
+ @StartTime = starttime
3742
+ @EndTime = endtime
3743
+ end
3744
+
3745
+ def deserialize(params)
3746
+ @UserId = params['UserId']
3747
+ @StartTime = params['StartTime']
3748
+ @EndTime = params['EndTime']
3749
+ end
3750
+ end
3751
+
2361
3752
  # 视频信息
2362
3753
  class VideoInfo < TencentCloud::Common::AbstractModel
2363
3754
  # @param VideoPlayTime: 视频开始播放的时间(单位:毫秒)
@@ -2439,6 +3830,61 @@ module TencentCloud
2439
3830
  end
2440
3831
  end
2441
3832
 
3833
+ # 白板应用配置,包括资源存储桶,域名,回调地址,回调密钥等
3834
+ class WhiteboardApplicationConfig < TencentCloud::Common::AbstractModel
3835
+ # @param TaskType: 任务类型
3836
+
3837
+ # recording: 实时录制
3838
+ # transcode: 文档转码
3839
+ # @type TaskType: String
3840
+ # @param BucketName: 存储桶名字
3841
+ # @type BucketName: String
3842
+ # @param BucketLocation: 存储桶地域
3843
+ # @type BucketLocation: String
3844
+ # @param BucketPrefix: 资源在存储桶中的前缀
3845
+ # @type BucketPrefix: String
3846
+ # @param ResultDomain: 目标CDN域名
3847
+ # @type ResultDomain: String
3848
+ # @param Callback: 回调地址
3849
+ # @type Callback: String
3850
+ # @param CallbackKey: 回调鉴权密钥
3851
+ # @type CallbackKey: String
3852
+ # @param SdkAppId: 配置的应用SdkAppId
3853
+ # @type SdkAppId: Integer
3854
+ # @param AdminUserId: IM管理员UserId
3855
+ # @type AdminUserId: String
3856
+ # @param AdminUserSig: IM管理员UserSig
3857
+ # @type AdminUserSig: String
3858
+
3859
+ attr_accessor :TaskType, :BucketName, :BucketLocation, :BucketPrefix, :ResultDomain, :Callback, :CallbackKey, :SdkAppId, :AdminUserId, :AdminUserSig
3860
+
3861
+ def initialize(tasktype=nil, bucketname=nil, bucketlocation=nil, bucketprefix=nil, resultdomain=nil, callback=nil, callbackkey=nil, sdkappid=nil, adminuserid=nil, adminusersig=nil)
3862
+ @TaskType = tasktype
3863
+ @BucketName = bucketname
3864
+ @BucketLocation = bucketlocation
3865
+ @BucketPrefix = bucketprefix
3866
+ @ResultDomain = resultdomain
3867
+ @Callback = callback
3868
+ @CallbackKey = callbackkey
3869
+ @SdkAppId = sdkappid
3870
+ @AdminUserId = adminuserid
3871
+ @AdminUserSig = adminusersig
3872
+ end
3873
+
3874
+ def deserialize(params)
3875
+ @TaskType = params['TaskType']
3876
+ @BucketName = params['BucketName']
3877
+ @BucketLocation = params['BucketLocation']
3878
+ @BucketPrefix = params['BucketPrefix']
3879
+ @ResultDomain = params['ResultDomain']
3880
+ @Callback = params['Callback']
3881
+ @CallbackKey = params['CallbackKey']
3882
+ @SdkAppId = params['SdkAppId']
3883
+ @AdminUserId = params['AdminUserId']
3884
+ @AdminUserSig = params['AdminUserSig']
3885
+ end
3886
+ end
3887
+
2442
3888
  # 白板推流备份相关请求参数
2443
3889
  class WhiteboardPushBackupParam < TencentCloud::Common::AbstractModel
2444
3890
  # @param PushUserId: 用于白板推流服务进房的用户ID,
@@ -2460,6 +3906,100 @@ module TencentCloud
2460
3906
  end
2461
3907
  end
2462
3908
 
3909
+ # 白板推流任务结果
3910
+ class WhiteboardPushResult < TencentCloud::Common::AbstractModel
3911
+ # @param FinishReason: AUTO - 自动停止推流, USER_CALL - 用户主动调用停止推流
3912
+ # @type FinishReason: String
3913
+ # @param ExceptionCnt: 异常数
3914
+ # @type ExceptionCnt: Integer
3915
+ # @param RoomId: 房间号
3916
+ # @type RoomId: Integer
3917
+ # @param GroupId: IM群组ID
3918
+ # @type GroupId: String
3919
+ # @param PushStartTime: 推流真实开始时间
3920
+ # @type PushStartTime: Integer
3921
+ # @param PushStopTime: 推流结束时间
3922
+ # @type PushStopTime: Integer
3923
+ # @param IMSyncTime: 白板推流首帧对应的IM时间戳,可用于录制回放时IM聊天消息与白板推流视频进行同步对时。
3924
+ # @type IMSyncTime: Integer
3925
+ # @param ErrorCode: 任务失败错误码
3926
+ # @type ErrorCode: Integer
3927
+ # @param ErrorMsg: 错误信息
3928
+ # @type ErrorMsg: String
3929
+
3930
+ attr_accessor :FinishReason, :ExceptionCnt, :RoomId, :GroupId, :PushStartTime, :PushStopTime, :IMSyncTime, :ErrorCode, :ErrorMsg
3931
+
3932
+ def initialize(finishreason=nil, exceptioncnt=nil, roomid=nil, groupid=nil, pushstarttime=nil, pushstoptime=nil, imsynctime=nil, errorcode=nil, errormsg=nil)
3933
+ @FinishReason = finishreason
3934
+ @ExceptionCnt = exceptioncnt
3935
+ @RoomId = roomid
3936
+ @GroupId = groupid
3937
+ @PushStartTime = pushstarttime
3938
+ @PushStopTime = pushstoptime
3939
+ @IMSyncTime = imsynctime
3940
+ @ErrorCode = errorcode
3941
+ @ErrorMsg = errormsg
3942
+ end
3943
+
3944
+ def deserialize(params)
3945
+ @FinishReason = params['FinishReason']
3946
+ @ExceptionCnt = params['ExceptionCnt']
3947
+ @RoomId = params['RoomId']
3948
+ @GroupId = params['GroupId']
3949
+ @PushStartTime = params['PushStartTime']
3950
+ @PushStopTime = params['PushStopTime']
3951
+ @IMSyncTime = params['IMSyncTime']
3952
+ @ErrorCode = params['ErrorCode']
3953
+ @ErrorMsg = params['ErrorMsg']
3954
+ end
3955
+ end
3956
+
3957
+ # 实时录制任务搜索结果
3958
+ class WhiteboardPushTaskSearchResult < TencentCloud::Common::AbstractModel
3959
+ # @param TaskId: 任务唯一ID
3960
+ # @type TaskId: String
3961
+ # @param Status: 白板推流任务状态
3962
+ # - PREPARED: 推流在准备阶段
3963
+ # - PUSHING: 正在推流
3964
+ # - STOPPED:推流已停止
3965
+ # @type Status: String
3966
+ # @param RoomId: 白板推流房间号
3967
+ # @type RoomId: Integer
3968
+ # @param CreateTime: 任务创建时间
3969
+ # @type CreateTime: String
3970
+ # @param SdkAppId: 用户应用SdkAppId
3971
+ # @type SdkAppId: Integer
3972
+ # @param Result: 白板推流结果
3973
+ # @type Result: :class:`Tencentcloud::Tiw.v20190919.models.WhiteboardPushResult`
3974
+ # @param PushUserId: 白板推流用户ID
3975
+ # @type PushUserId: String
3976
+
3977
+ attr_accessor :TaskId, :Status, :RoomId, :CreateTime, :SdkAppId, :Result, :PushUserId
3978
+
3979
+ def initialize(taskid=nil, status=nil, roomid=nil, createtime=nil, sdkappid=nil, result=nil, pushuserid=nil)
3980
+ @TaskId = taskid
3981
+ @Status = status
3982
+ @RoomId = roomid
3983
+ @CreateTime = createtime
3984
+ @SdkAppId = sdkappid
3985
+ @Result = result
3986
+ @PushUserId = pushuserid
3987
+ end
3988
+
3989
+ def deserialize(params)
3990
+ @TaskId = params['TaskId']
3991
+ @Status = params['Status']
3992
+ @RoomId = params['RoomId']
3993
+ @CreateTime = params['CreateTime']
3994
+ @SdkAppId = params['SdkAppId']
3995
+ unless params['Result'].nil?
3996
+ @Result = WhiteboardPushResult.new
3997
+ @Result.deserialize(params['Result'])
3998
+ end
3999
+ @PushUserId = params['PushUserId']
4000
+ end
4001
+ end
4002
+
2463
4003
  end
2464
4004
  end
2465
4005
  end