tencentcloud-sdk-lcic 3.0.499 → 3.0.500

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a53153c001619cdb88ec7644192e5e899bdb807a
4
- data.tar.gz: e86283f195bdff719cdd03e0f6afcd43cf71530b
3
+ metadata.gz: 73178b16814cbe0ea9b5cefdd710b45aa7101484
4
+ data.tar.gz: 37579233fd0dc6d8232971381be84262eac83e2b
5
5
  SHA512:
6
- metadata.gz: fda65fb7a012f8f23a122a036fb9163791d2aac2b657e4990a0cf5b41bfe4f87372917118ae012afcb22c23ab1aa7833ff499cf9b0b331797e2ed6ba257dfadb
7
- data.tar.gz: 570736e38a7b4597bb7bf79b2900b92004c52db0c55152282d073bc68ee49365b6c5ad575244781633010dfc295513a9c7db862e8a7a6264f6a5b0886a2af1f3
6
+ metadata.gz: aafc0a91f0d5e922f12f04d36e452372df056b048f48c056b9403fe6b2162e87bd15c72f64e4f1ad7613390ecae8f29ca5b840f6e6a2f185483460b2fccf2961
7
+ data.tar.gz: 7a3dd3b4d5ef5e0eb3794327573a1ab002b14a9bda3bd42b9c6c9531da72232c8bc1bf912922b0f9d05e4d5b3c1902f9a2cea6eb44eed2b968ccb299837cbd8a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.499
1
+ 3.0.500
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 如果批量注册的用户已存在,则会被覆盖。一次最多注册1000个用户。默认请求频率限制:10次/秒
33
+
34
+ # @param request: Request instance for BatchRegister.
35
+ # @type request: :class:`Tencentcloud::lcic::V20220817::BatchRegisterRequest`
36
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::BatchRegisterResponse`
37
+ def BatchRegister(request)
38
+ body = send_request('BatchRegister', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = BatchRegisterResponse.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
+
32
56
  # 绑定文档到房间
33
57
 
34
58
  # @param request: Request instance for BindDocumentToRoom.
@@ -317,6 +341,30 @@ module TencentCloud
317
341
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
342
  end
319
343
 
344
+ # 修改房间
345
+
346
+ # @param request: Request instance for ModifyRoom.
347
+ # @type request: :class:`Tencentcloud::lcic::V20220817::ModifyRoomRequest`
348
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::ModifyRoomResponse`
349
+ def ModifyRoom(request)
350
+ body = send_request('ModifyRoom', request.serialize)
351
+ response = JSON.parse(body)
352
+ if response['Response'].key?('Error') == false
353
+ model = ModifyRoomResponse.new
354
+ model.deserialize(response['Response'])
355
+ model
356
+ else
357
+ code = response['Response']['Error']['Code']
358
+ message = response['Response']['Error']['Message']
359
+ reqid = response['Response']['RequestId']
360
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
361
+ end
362
+ rescue TencentCloud::Common::TencentCloudSDKException => e
363
+ raise e
364
+ rescue StandardError => e
365
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
+ end
367
+
320
368
  # 注册用户
321
369
 
322
370
  # @param request: Request instance for RegisterUser.
@@ -60,6 +60,119 @@ module TencentCloud
60
60
  end
61
61
  end
62
62
 
63
+ # BatchRegister请求参数结构体
64
+ class BatchRegisterRequest < TencentCloud::Common::AbstractModel
65
+ # @param Users: 批量注册用户信息列表
66
+ # @type Users: Array
67
+
68
+ attr_accessor :Users
69
+
70
+ def initialize(users=nil)
71
+ @Users = users
72
+ end
73
+
74
+ def deserialize(params)
75
+ unless params['Users'].nil?
76
+ @Users = []
77
+ params['Users'].each do |i|
78
+ batchuserrequest_tmp = BatchUserRequest.new
79
+ batchuserrequest_tmp.deserialize(i)
80
+ @Users << batchuserrequest_tmp
81
+ end
82
+ end
83
+ end
84
+ end
85
+
86
+ # BatchRegister返回参数结构体
87
+ class BatchRegisterResponse < TencentCloud::Common::AbstractModel
88
+ # @param Users: 注册成功的用户列表
89
+ # 注意:此字段可能返回 null,表示取不到有效值。
90
+ # @type Users: Array
91
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
92
+ # @type RequestId: String
93
+
94
+ attr_accessor :Users, :RequestId
95
+
96
+ def initialize(users=nil, requestid=nil)
97
+ @Users = users
98
+ @RequestId = requestid
99
+ end
100
+
101
+ def deserialize(params)
102
+ unless params['Users'].nil?
103
+ @Users = []
104
+ params['Users'].each do |i|
105
+ batchuserinfo_tmp = BatchUserInfo.new
106
+ batchuserinfo_tmp.deserialize(i)
107
+ @Users << batchuserinfo_tmp
108
+ end
109
+ end
110
+ @RequestId = params['RequestId']
111
+ end
112
+ end
113
+
114
+ # 批量注册用户信息
115
+ class BatchUserInfo < TencentCloud::Common::AbstractModel
116
+ # @param SdkAppId: 低代码互动课堂的SdkAppId。
117
+ # @type SdkAppId: Integer
118
+ # @param UserId: 用户ID。
119
+ # 注意:此字段可能返回 null,表示取不到有效值。
120
+ # @type UserId: String
121
+ # @param OriginId: 用户在客户系统的Id。 若用户注册时该字段为空,则默认为 UserId 值一致。
122
+ # 注意:此字段可能返回 null,表示取不到有效值。
123
+ # @type OriginId: String
124
+
125
+ attr_accessor :SdkAppId, :UserId, :OriginId
126
+
127
+ def initialize(sdkappid=nil, userid=nil, originid=nil)
128
+ @SdkAppId = sdkappid
129
+ @UserId = userid
130
+ @OriginId = originid
131
+ end
132
+
133
+ def deserialize(params)
134
+ @SdkAppId = params['SdkAppId']
135
+ @UserId = params['UserId']
136
+ @OriginId = params['OriginId']
137
+ end
138
+ end
139
+
140
+ # 用户注册请求信息
141
+ class BatchUserRequest < TencentCloud::Common::AbstractModel
142
+ # @param SdkAppId: 低代码互动课堂的SdkAppId。
143
+
144
+ # 注意:此字段可能返回 null,表示取不到有效值。
145
+ # @type SdkAppId: Integer
146
+ # @param Name: 用户名称。
147
+
148
+ # 注意:此字段可能返回 null,表示取不到有效值。
149
+ # @type Name: String
150
+ # @param OriginId: 用户在客户系统的Id,需要在同一应用下唯一。
151
+
152
+ # 注意:此字段可能返回 null,表示取不到有效值。
153
+ # @type OriginId: String
154
+ # @param Avatar: 用户头像。
155
+
156
+ # 注意:此字段可能返回 null,表示取不到有效值。
157
+ # @type Avatar: String
158
+
159
+ attr_accessor :SdkAppId, :Name, :OriginId, :Avatar
160
+
161
+ def initialize(sdkappid=nil, name=nil, originid=nil, avatar=nil)
162
+ @SdkAppId = sdkappid
163
+ @Name = name
164
+ @OriginId = originid
165
+ @Avatar = avatar
166
+ end
167
+
168
+ def deserialize(params)
169
+ @SdkAppId = params['SdkAppId']
170
+ @Name = params['Name']
171
+ @OriginId = params['OriginId']
172
+ @Avatar = params['Avatar']
173
+ end
174
+ end
175
+
63
176
  # BindDocumentToRoom请求参数结构体
64
177
  class BindDocumentToRoomRequest < TencentCloud::Common::AbstractModel
65
178
  # @param RoomId: 房间ID。
@@ -192,7 +305,7 @@ module TencentCloud
192
305
  # video 纯视频
193
306
  # coteaching 双师
194
307
  # @type SubType: String
195
- # @param TeacherId: 老师ID。通过[注册用户]接口获取的UserId
308
+ # @param TeacherId: 老师ID。通过[注册用户]接口获取的UserId。指定后该用户在房间内拥有老师权限。
196
309
  # @type TeacherId: String
197
310
  # @param AutoMic: 进入课堂时是否自动连麦。可以有以下取值:
198
311
  # 0 不自动连麦(需要手动申请上麦,默认值)
@@ -207,7 +320,7 @@ module TencentCloud
207
320
  # 1 禁止录制
208
321
  # 注:如果该配置取值为0,录制将从上课后开始,课堂结束后停止。
209
322
  # @type DisableRecord: Integer
210
- # @param Assistants: 助教Id列表。通过[注册用户]接口获取的UserId
323
+ # @param Assistants: 助教Id列表。通过[注册用户]接口获取的UserId。指定后该用户在房间内拥有助教权限。
211
324
  # @type Assistants: Array
212
325
  # @param RecordLayout: 录制布局。
213
326
  # @type RecordLayout: Integer
@@ -408,7 +521,7 @@ module TencentCloud
408
521
  # @type StartTime: Integer
409
522
  # @param EndTime: 预定的房间结束时间,unix时间戳。
410
523
  # @type EndTime: Integer
411
- # @param TeacherId: 老师ID
524
+ # @param TeacherId: 老师的UserId
412
525
  # @type TeacherId: String
413
526
  # @param SdkAppId: 低代码互动课堂的SdkAppId。
414
527
  # @type SdkAppId: Integer
@@ -437,7 +550,7 @@ module TencentCloud
437
550
  # 1 禁止录制
438
551
  # 注:如果该配置取值为0,录制将从上课后开始,课堂结束后停止。
439
552
  # @type DisableRecord: Integer
440
- # @param Assistants: 助教Id列表。
553
+ # @param Assistants: 助教UserId列表。
441
554
  # 注意:此字段可能返回 null,表示取不到有效值。
442
555
  # @type Assistants: Array
443
556
  # @param RecordUrl: 录制地址。仅在房间结束后存在。
@@ -774,6 +887,104 @@ module TencentCloud
774
887
  end
775
888
  end
776
889
 
890
+ # ModifyRoom请求参数结构体
891
+ class ModifyRoomRequest < TencentCloud::Common::AbstractModel
892
+ # @param RoomId: 房间ID。
893
+ # @type RoomId: Integer
894
+ # @param SdkAppId: 低代码互动课堂的SdkAppId
895
+ # @type SdkAppId: Integer
896
+ # @param StartTime: 预定的房间开始时间,unix时间戳。直播开始后不允许修改。
897
+ # @type StartTime: Integer
898
+ # @param EndTime: 预定的房间结束时间,unix时间戳。直播开始后不允许修改。
899
+ # @type EndTime: Integer
900
+ # @param TeacherId: 老师ID。直播开始后不允许修改。
901
+ # @type TeacherId: String
902
+ # @param Name: 房间名称。
903
+ # @type Name: String
904
+ # @param Resolution: 分辨率。可以有如下取值:
905
+ # 1 标清
906
+ # 2 高清
907
+ # 3 全高清
908
+ # 直播开始后不允许修改。
909
+ # @type Resolution: Integer
910
+ # @param MaxMicNumber: 最大连麦人数(不包括老师)。取值范围[0, 17)
911
+ # 直播开始后不允许修改。
912
+ # @type MaxMicNumber: Integer
913
+ # @param AutoMic: 进入房间时是否自动连麦。可以有以下取值:
914
+ # 0 不自动连麦(默认值)
915
+ # 1 自动连麦
916
+ # 直播开始后不允许修改。
917
+ # @type AutoMic: Integer
918
+ # @param AudioQuality: 高音质模式。可以有以下取值:
919
+ # 0 不开启高音质(默认值)
920
+ # 1 开启高音质
921
+ # 直播开始后不允许修改。
922
+ # @type AudioQuality: Integer
923
+ # @param SubType: 房间子类型,可以有以下取值:
924
+ # videodoc 文档+视频
925
+ # video 纯视频
926
+ # coteaching 双师
927
+ # 直播开始后不允许修改。
928
+ # @type SubType: String
929
+ # @param DisableRecord: 禁止录制。可以有以下取值:
930
+ # 0 不禁止录制(默认值)
931
+ # 1 禁止录制
932
+ # 直播开始后不允许修改。
933
+ # @type DisableRecord: Integer
934
+ # @param Assistants: 助教Id列表。直播开始后不允许修改。
935
+ # @type Assistants: Array
936
+
937
+ attr_accessor :RoomId, :SdkAppId, :StartTime, :EndTime, :TeacherId, :Name, :Resolution, :MaxMicNumber, :AutoMic, :AudioQuality, :SubType, :DisableRecord, :Assistants
938
+
939
+ def initialize(roomid=nil, sdkappid=nil, starttime=nil, endtime=nil, teacherid=nil, name=nil, resolution=nil, maxmicnumber=nil, automic=nil, audioquality=nil, subtype=nil, disablerecord=nil, assistants=nil)
940
+ @RoomId = roomid
941
+ @SdkAppId = sdkappid
942
+ @StartTime = starttime
943
+ @EndTime = endtime
944
+ @TeacherId = teacherid
945
+ @Name = name
946
+ @Resolution = resolution
947
+ @MaxMicNumber = maxmicnumber
948
+ @AutoMic = automic
949
+ @AudioQuality = audioquality
950
+ @SubType = subtype
951
+ @DisableRecord = disablerecord
952
+ @Assistants = assistants
953
+ end
954
+
955
+ def deserialize(params)
956
+ @RoomId = params['RoomId']
957
+ @SdkAppId = params['SdkAppId']
958
+ @StartTime = params['StartTime']
959
+ @EndTime = params['EndTime']
960
+ @TeacherId = params['TeacherId']
961
+ @Name = params['Name']
962
+ @Resolution = params['Resolution']
963
+ @MaxMicNumber = params['MaxMicNumber']
964
+ @AutoMic = params['AutoMic']
965
+ @AudioQuality = params['AudioQuality']
966
+ @SubType = params['SubType']
967
+ @DisableRecord = params['DisableRecord']
968
+ @Assistants = params['Assistants']
969
+ end
970
+ end
971
+
972
+ # ModifyRoom返回参数结构体
973
+ class ModifyRoomResponse < TencentCloud::Common::AbstractModel
974
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
975
+ # @type RequestId: String
976
+
977
+ attr_accessor :RequestId
978
+
979
+ def initialize(requestid=nil)
980
+ @RequestId = requestid
981
+ end
982
+
983
+ def deserialize(params)
984
+ @RequestId = params['RequestId']
985
+ end
986
+ end
987
+
777
988
  # RegisterUser请求参数结构体
778
989
  class RegisterUserRequest < TencentCloud::Common::AbstractModel
779
990
  # @param SdkAppId: 低代码互动课堂的SdkAppId。
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.499
4
+ version: 3.0.500
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-01 00:00:00.000000000 Z
11
+ date: 2023-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common