tencentcloud-sdk-lcic 3.0.417

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 80f27d4470f92d18ad06dfd7febf1045bbb8d2e2
4
+ data.tar.gz: c19e39ce9de43ef6c36efca6576e2a8ce765846f
5
+ SHA512:
6
+ metadata.gz: 8e7743872ecad2fe429b470d57c360d23568bc536ae33ae94c1078951db6390ac93b51e0cad135fa9723adf15f23c52e6c77b300e0874c834233ecb0477e7c94
7
+ data.tar.gz: f4649638e848bf3eae85c0254f50934c531397376485cc9e1e469ab24eb15794e1f823b38c6f607a670dc551846b768721c5d5c75dfd78924ae8af621f7c31a4
data/lib/VERSION ADDED
@@ -0,0 +1 @@
1
+ 3.0.417
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'tencentcloud-sdk-common'
4
+
5
+ require_relative 'v20220817/client'
6
+ require_relative 'v20220817/models'
7
+
8
+ module TencentCloud
9
+ module Lcic
10
+ end
11
+ end
@@ -0,0 +1,204 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ require 'json'
18
+
19
+ module TencentCloud
20
+ module Lcic
21
+ module V20220817
22
+ class Client < TencentCloud::Common::AbstractClient
23
+
24
+ def initialize(credential, region, profile = nil)
25
+ api_version = '2022-08-17'
26
+ api_endpoint = 'lcic.tencentcloudapi.com'
27
+ sdk_version = 'LCIC_' + File.read(File.expand_path('../VERSION', __dir__)).strip
28
+ super(credential, region, api_version, api_endpoint, sdk_version, profile)
29
+ end
30
+
31
+
32
+ # 创建房间
33
+
34
+ # @param request: Request instance for CreateRoom.
35
+ # @type request: :class:`Tencentcloud::lcic::V20220817::CreateRoomRequest`
36
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::CreateRoomResponse`
37
+ def CreateRoom(request)
38
+ body = send_request('CreateRoom', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = CreateRoomResponse.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 CreateSupervisor.
59
+ # @type request: :class:`Tencentcloud::lcic::V20220817::CreateSupervisorRequest`
60
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::CreateSupervisorResponse`
61
+ def CreateSupervisor(request)
62
+ body = send_request('CreateSupervisor', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = CreateSupervisorResponse.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
+
80
+ # 获取房间信息
81
+
82
+ # @param request: Request instance for DescribeRoom.
83
+ # @type request: :class:`Tencentcloud::lcic::V20220817::DescribeRoomRequest`
84
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::DescribeRoomResponse`
85
+ def DescribeRoom(request)
86
+ body = send_request('DescribeRoom', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = DescribeRoomResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
104
+ # 获取用户信息
105
+
106
+ # @param request: Request instance for DescribeUser.
107
+ # @type request: :class:`Tencentcloud::lcic::V20220817::DescribeUserRequest`
108
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::DescribeUserResponse`
109
+ def DescribeUser(request)
110
+ body = send_request('DescribeUser', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = DescribeUserResponse.new
114
+ model.deserialize(response['Response'])
115
+ model
116
+ else
117
+ code = response['Response']['Error']['Code']
118
+ message = response['Response']['Error']['Message']
119
+ reqid = response['Response']['RequestId']
120
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
121
+ end
122
+ rescue TencentCloud::Common::TencentCloudSDKException => e
123
+ raise e
124
+ rescue StandardError => e
125
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
+ end
127
+
128
+ # 使用源账号登录,源账号为注册时填入的originId
129
+
130
+ # @param request: Request instance for LoginOriginId.
131
+ # @type request: :class:`Tencentcloud::lcic::V20220817::LoginOriginIdRequest`
132
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::LoginOriginIdResponse`
133
+ def LoginOriginId(request)
134
+ body = send_request('LoginOriginId', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = LoginOriginIdResponse.new
138
+ model.deserialize(response['Response'])
139
+ model
140
+ else
141
+ code = response['Response']['Error']['Code']
142
+ message = response['Response']['Error']['Message']
143
+ reqid = response['Response']['RequestId']
144
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
145
+ end
146
+ rescue TencentCloud::Common::TencentCloudSDKException => e
147
+ raise e
148
+ rescue StandardError => e
149
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
+ end
151
+
152
+ # 登录
153
+
154
+ # @param request: Request instance for LoginUser.
155
+ # @type request: :class:`Tencentcloud::lcic::V20220817::LoginUserRequest`
156
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::LoginUserResponse`
157
+ def LoginUser(request)
158
+ body = send_request('LoginUser', request.serialize)
159
+ response = JSON.parse(body)
160
+ if response['Response'].key?('Error') == false
161
+ model = LoginUserResponse.new
162
+ model.deserialize(response['Response'])
163
+ model
164
+ else
165
+ code = response['Response']['Error']['Code']
166
+ message = response['Response']['Error']['Message']
167
+ reqid = response['Response']['RequestId']
168
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
169
+ end
170
+ rescue TencentCloud::Common::TencentCloudSDKException => e
171
+ raise e
172
+ rescue StandardError => e
173
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
+ end
175
+
176
+ # 注册用户
177
+
178
+ # @param request: Request instance for RegisterUser.
179
+ # @type request: :class:`Tencentcloud::lcic::V20220817::RegisterUserRequest`
180
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::RegisterUserResponse`
181
+ def RegisterUser(request)
182
+ body = send_request('RegisterUser', request.serialize)
183
+ response = JSON.parse(body)
184
+ if response['Response'].key?('Error') == false
185
+ model = RegisterUserResponse.new
186
+ model.deserialize(response['Response'])
187
+ model
188
+ else
189
+ code = response['Response']['Error']['Code']
190
+ message = response['Response']['Error']['Message']
191
+ reqid = response['Response']['RequestId']
192
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
193
+ end
194
+ rescue TencentCloud::Common::TencentCloudSDKException => e
195
+ raise e
196
+ rescue StandardError => e
197
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
+ end
199
+
200
+
201
+ end
202
+ end
203
+ end
204
+ end
@@ -0,0 +1,423 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ module TencentCloud
18
+ module Lcic
19
+ module V20220817
20
+ # CreateRoom请求参数结构体
21
+ class CreateRoomRequest < TencentCloud::Common::AbstractModel
22
+ # @param Name: 房间名称。
23
+ # @type Name: String
24
+ # @param StartTime: 预定的房间开始时间,unix时间戳。
25
+ # @type StartTime: Integer
26
+ # @param EndTime: 预定的房间结束时间,unix时间戳。
27
+ # @type EndTime: Integer
28
+ # @param SdkAppId: 低代码互动课堂的SdkAppId。
29
+ # @type SdkAppId: Integer
30
+ # @param Resolution: 分辨率。可以有如下取值:
31
+ # 1 标清
32
+ # 2 高清
33
+ # 3 全高清
34
+ # @type Resolution: Integer
35
+ # @param MaxMicNumber: 最大连麦人数(不包括老师)。取值范围[0, 17)
36
+ # @type MaxMicNumber: Integer
37
+ # @param SubType: 房间子类型,可以有以下取值:
38
+ # videodoc 文档+视频
39
+ # video 纯视频
40
+ # coteaching 双师
41
+ # @type SubType: String
42
+ # @param TeacherId: 老师ID。
43
+ # @type TeacherId: String
44
+ # @param AutoMic: 进入房间时是否自动连麦。可以有以下取值:
45
+ # 0 不自动连麦(默认值)
46
+ # 1 自动连麦
47
+ # @type AutoMic: Integer
48
+ # @param AudioQuality: 高音质模式。可以有以下取值:
49
+ # 0 不开启高音质(默认值)
50
+ # 1 开启高音质
51
+ # @type AudioQuality: Integer
52
+ # @param DisableRecord: 禁止录制。可以有以下取值:
53
+ # 0 不禁止录制(默认值)
54
+ # 1 禁止录制
55
+ # @type DisableRecord: Integer
56
+ # @param Assistants: 助教Id列表。
57
+ # @type Assistants: Array
58
+ # @param RecordLayout: 录制布局。
59
+ # @type RecordLayout: Integer
60
+
61
+ attr_accessor :Name, :StartTime, :EndTime, :SdkAppId, :Resolution, :MaxMicNumber, :SubType, :TeacherId, :AutoMic, :AudioQuality, :DisableRecord, :Assistants, :RecordLayout
62
+
63
+ def initialize(name=nil, starttime=nil, endtime=nil, sdkappid=nil, resolution=nil, maxmicnumber=nil, subtype=nil, teacherid=nil, automic=nil, audioquality=nil, disablerecord=nil, assistants=nil, recordlayout=nil)
64
+ @Name = name
65
+ @StartTime = starttime
66
+ @EndTime = endtime
67
+ @SdkAppId = sdkappid
68
+ @Resolution = resolution
69
+ @MaxMicNumber = maxmicnumber
70
+ @SubType = subtype
71
+ @TeacherId = teacherid
72
+ @AutoMic = automic
73
+ @AudioQuality = audioquality
74
+ @DisableRecord = disablerecord
75
+ @Assistants = assistants
76
+ @RecordLayout = recordlayout
77
+ end
78
+
79
+ def deserialize(params)
80
+ @Name = params['Name']
81
+ @StartTime = params['StartTime']
82
+ @EndTime = params['EndTime']
83
+ @SdkAppId = params['SdkAppId']
84
+ @Resolution = params['Resolution']
85
+ @MaxMicNumber = params['MaxMicNumber']
86
+ @SubType = params['SubType']
87
+ @TeacherId = params['TeacherId']
88
+ @AutoMic = params['AutoMic']
89
+ @AudioQuality = params['AudioQuality']
90
+ @DisableRecord = params['DisableRecord']
91
+ @Assistants = params['Assistants']
92
+ @RecordLayout = params['RecordLayout']
93
+ end
94
+ end
95
+
96
+ # CreateRoom返回参数结构体
97
+ class CreateRoomResponse < TencentCloud::Common::AbstractModel
98
+ # @param RoomId: 房间ID。
99
+ # @type RoomId: Integer
100
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
101
+ # @type RequestId: String
102
+
103
+ attr_accessor :RoomId, :RequestId
104
+
105
+ def initialize(roomid=nil, requestid=nil)
106
+ @RoomId = roomid
107
+ @RequestId = requestid
108
+ end
109
+
110
+ def deserialize(params)
111
+ @RoomId = params['RoomId']
112
+ @RequestId = params['RequestId']
113
+ end
114
+ end
115
+
116
+ # CreateSupervisor请求参数结构体
117
+ class CreateSupervisorRequest < TencentCloud::Common::AbstractModel
118
+
119
+
120
+ def initialize()
121
+ end
122
+
123
+ def deserialize(params)
124
+ end
125
+ end
126
+
127
+ # CreateSupervisor返回参数结构体
128
+ class CreateSupervisorResponse < TencentCloud::Common::AbstractModel
129
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
130
+ # @type RequestId: String
131
+
132
+ attr_accessor :RequestId
133
+
134
+ def initialize(requestid=nil)
135
+ @RequestId = requestid
136
+ end
137
+
138
+ def deserialize(params)
139
+ @RequestId = params['RequestId']
140
+ end
141
+ end
142
+
143
+ # DescribeRoom请求参数结构体
144
+ class DescribeRoomRequest < TencentCloud::Common::AbstractModel
145
+ # @param RoomId: 房间Id。
146
+ # @type RoomId: Integer
147
+
148
+ attr_accessor :RoomId
149
+
150
+ def initialize(roomid=nil)
151
+ @RoomId = roomid
152
+ end
153
+
154
+ def deserialize(params)
155
+ @RoomId = params['RoomId']
156
+ end
157
+ end
158
+
159
+ # DescribeRoom返回参数结构体
160
+ class DescribeRoomResponse < TencentCloud::Common::AbstractModel
161
+ # @param Name: 房间名称。
162
+ # @type Name: String
163
+ # @param StartTime: 预定的房间开始时间,unix时间戳。
164
+ # @type StartTime: Integer
165
+ # @param EndTime: 预定的房间结束时间,unix时间戳。
166
+ # @type EndTime: Integer
167
+ # @param TeacherId: 老师ID。
168
+ # @type TeacherId: String
169
+ # @param SdkAppId: 低代码互动课堂的SdkAppId。
170
+ # @type SdkAppId: Integer
171
+ # @param Resolution: 分辨率。可以有如下取值:
172
+ # 1 标清
173
+ # 2 高清
174
+ # 3 全高清
175
+ # @type Resolution: Integer
176
+ # @param MaxMicNumber: 最大连麦人数(不包括老师)。取值范围[0, 17)
177
+ # @type MaxMicNumber: Integer
178
+ # @param AutoMic: 进入房间时是否自动连麦。可以有以下取值:
179
+ # 0 不自动连麦(默认值)
180
+ # 1 自动连麦
181
+ # @type AutoMic: Integer
182
+ # @param AudioQuality: 高音质模式。可以有以下取值:
183
+ # 0 不开启高音质(默认值)
184
+ # 1 开启高音质
185
+ # @type AudioQuality: Integer
186
+ # @param SubType: 房间子类型,可以有以下取值:
187
+ # videodoc 文档+视频
188
+ # video 纯视频
189
+ # coteaching 双师
190
+ # @type SubType: String
191
+ # @param DisableRecord: 禁止录制。可以有以下取值:
192
+ # 0 不禁止录制(默认值)
193
+ # 1 禁止录制
194
+ # @type DisableRecord: Integer
195
+ # @param Assistants: 助教Id列表。
196
+ # 注意:此字段可能返回 null,表示取不到有效值。
197
+ # @type Assistants: Array
198
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
199
+ # @type RequestId: String
200
+
201
+ attr_accessor :Name, :StartTime, :EndTime, :TeacherId, :SdkAppId, :Resolution, :MaxMicNumber, :AutoMic, :AudioQuality, :SubType, :DisableRecord, :Assistants, :RequestId
202
+
203
+ def initialize(name=nil, starttime=nil, endtime=nil, teacherid=nil, sdkappid=nil, resolution=nil, maxmicnumber=nil, automic=nil, audioquality=nil, subtype=nil, disablerecord=nil, assistants=nil, requestid=nil)
204
+ @Name = name
205
+ @StartTime = starttime
206
+ @EndTime = endtime
207
+ @TeacherId = teacherid
208
+ @SdkAppId = sdkappid
209
+ @Resolution = resolution
210
+ @MaxMicNumber = maxmicnumber
211
+ @AutoMic = automic
212
+ @AudioQuality = audioquality
213
+ @SubType = subtype
214
+ @DisableRecord = disablerecord
215
+ @Assistants = assistants
216
+ @RequestId = requestid
217
+ end
218
+
219
+ def deserialize(params)
220
+ @Name = params['Name']
221
+ @StartTime = params['StartTime']
222
+ @EndTime = params['EndTime']
223
+ @TeacherId = params['TeacherId']
224
+ @SdkAppId = params['SdkAppId']
225
+ @Resolution = params['Resolution']
226
+ @MaxMicNumber = params['MaxMicNumber']
227
+ @AutoMic = params['AutoMic']
228
+ @AudioQuality = params['AudioQuality']
229
+ @SubType = params['SubType']
230
+ @DisableRecord = params['DisableRecord']
231
+ @Assistants = params['Assistants']
232
+ @RequestId = params['RequestId']
233
+ end
234
+ end
235
+
236
+ # DescribeUser请求参数结构体
237
+ class DescribeUserRequest < TencentCloud::Common::AbstractModel
238
+ # @param UserId: 用户Id。
239
+ # @type UserId: String
240
+
241
+ attr_accessor :UserId
242
+
243
+ def initialize(userid=nil)
244
+ @UserId = userid
245
+ end
246
+
247
+ def deserialize(params)
248
+ @UserId = params['UserId']
249
+ end
250
+ end
251
+
252
+ # DescribeUser返回参数结构体
253
+ class DescribeUserResponse < TencentCloud::Common::AbstractModel
254
+ # @param SdkAppId: 应用Id。
255
+ # @type SdkAppId: Integer
256
+ # @param UserId: 用户Id。
257
+ # @type UserId: String
258
+ # @param Name: 用户昵称。
259
+ # @type Name: String
260
+ # @param Avatar: 用户头像Url。
261
+ # @type Avatar: String
262
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
263
+ # @type RequestId: String
264
+
265
+ attr_accessor :SdkAppId, :UserId, :Name, :Avatar, :RequestId
266
+
267
+ def initialize(sdkappid=nil, userid=nil, name=nil, avatar=nil, requestid=nil)
268
+ @SdkAppId = sdkappid
269
+ @UserId = userid
270
+ @Name = name
271
+ @Avatar = avatar
272
+ @RequestId = requestid
273
+ end
274
+
275
+ def deserialize(params)
276
+ @SdkAppId = params['SdkAppId']
277
+ @UserId = params['UserId']
278
+ @Name = params['Name']
279
+ @Avatar = params['Avatar']
280
+ @RequestId = params['RequestId']
281
+ end
282
+ end
283
+
284
+ # LoginOriginId请求参数结构体
285
+ class LoginOriginIdRequest < TencentCloud::Common::AbstractModel
286
+ # @param SdkAppId: 低代码互动课堂的SdkAppId。
287
+ # @type SdkAppId: Integer
288
+ # @param OriginId: 用户在客户系统的Id,需要在同一应用下唯一。
289
+ # @type OriginId: String
290
+
291
+ attr_accessor :SdkAppId, :OriginId
292
+
293
+ def initialize(sdkappid=nil, originid=nil)
294
+ @SdkAppId = sdkappid
295
+ @OriginId = originid
296
+ end
297
+
298
+ def deserialize(params)
299
+ @SdkAppId = params['SdkAppId']
300
+ @OriginId = params['OriginId']
301
+ end
302
+ end
303
+
304
+ # LoginOriginId返回参数结构体
305
+ class LoginOriginIdResponse < TencentCloud::Common::AbstractModel
306
+ # @param UserId: 用户Id。
307
+ # @type UserId: String
308
+ # @param Token: 登录/注册成功后返回登录态token。有效期7天。
309
+ # @type Token: String
310
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
311
+ # @type RequestId: String
312
+
313
+ attr_accessor :UserId, :Token, :RequestId
314
+
315
+ def initialize(userid=nil, token=nil, requestid=nil)
316
+ @UserId = userid
317
+ @Token = token
318
+ @RequestId = requestid
319
+ end
320
+
321
+ def deserialize(params)
322
+ @UserId = params['UserId']
323
+ @Token = params['Token']
324
+ @RequestId = params['RequestId']
325
+ end
326
+ end
327
+
328
+ # LoginUser请求参数结构体
329
+ class LoginUserRequest < TencentCloud::Common::AbstractModel
330
+ # @param UserId: 注册获取的用户id。
331
+ # @type UserId: String
332
+
333
+ attr_accessor :UserId
334
+
335
+ def initialize(userid=nil)
336
+ @UserId = userid
337
+ end
338
+
339
+ def deserialize(params)
340
+ @UserId = params['UserId']
341
+ end
342
+ end
343
+
344
+ # LoginUser返回参数结构体
345
+ class LoginUserResponse < TencentCloud::Common::AbstractModel
346
+ # @param UserId: 用户Id。
347
+ # @type UserId: String
348
+ # @param Token: 登录/注册成功后返回登录态token。有效期7天。
349
+ # @type Token: String
350
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
351
+ # @type RequestId: String
352
+
353
+ attr_accessor :UserId, :Token, :RequestId
354
+
355
+ def initialize(userid=nil, token=nil, requestid=nil)
356
+ @UserId = userid
357
+ @Token = token
358
+ @RequestId = requestid
359
+ end
360
+
361
+ def deserialize(params)
362
+ @UserId = params['UserId']
363
+ @Token = params['Token']
364
+ @RequestId = params['RequestId']
365
+ end
366
+ end
367
+
368
+ # RegisterUser请求参数结构体
369
+ class RegisterUserRequest < TencentCloud::Common::AbstractModel
370
+ # @param SdkAppId: 低代码互动课堂的SdkAppId。
371
+ # @type SdkAppId: Integer
372
+ # @param Name: 用户名称。
373
+ # @type Name: String
374
+ # @param OriginId: 用户在客户系统的Id,需要在同一应用下唯一。
375
+ # @type OriginId: String
376
+ # @param Avatar: 用户头像。
377
+ # @type Avatar: String
378
+
379
+ attr_accessor :SdkAppId, :Name, :OriginId, :Avatar
380
+
381
+ def initialize(sdkappid=nil, name=nil, originid=nil, avatar=nil)
382
+ @SdkAppId = sdkappid
383
+ @Name = name
384
+ @OriginId = originid
385
+ @Avatar = avatar
386
+ end
387
+
388
+ def deserialize(params)
389
+ @SdkAppId = params['SdkAppId']
390
+ @Name = params['Name']
391
+ @OriginId = params['OriginId']
392
+ @Avatar = params['Avatar']
393
+ end
394
+ end
395
+
396
+ # RegisterUser返回参数结构体
397
+ class RegisterUserResponse < TencentCloud::Common::AbstractModel
398
+ # @param UserId: 用户Id。
399
+ # @type UserId: String
400
+ # @param Token: 登录/注册成功后返回登录态token。有效期7天。
401
+ # @type Token: String
402
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
403
+ # @type RequestId: String
404
+
405
+ attr_accessor :UserId, :Token, :RequestId
406
+
407
+ def initialize(userid=nil, token=nil, requestid=nil)
408
+ @UserId = userid
409
+ @Token = token
410
+ @RequestId = requestid
411
+ end
412
+
413
+ def deserialize(params)
414
+ @UserId = params['UserId']
415
+ @Token = params['Token']
416
+ @RequestId = params['RequestId']
417
+ end
418
+ end
419
+
420
+ end
421
+ end
422
+ end
423
+
metadata ADDED
@@ -0,0 +1,66 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tencentcloud-sdk-lcic
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.0.417
5
+ platform: ruby
6
+ authors:
7
+ - Tencent Cloud
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-09-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: tencentcloud-sdk-common
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
27
+ description: Tencent Cloud Ruby SDK is the official software development kit, which
28
+ allows Ruby developers to write software that makes use of Tencent Cloud service
29
+ LCIC.
30
+ email:
31
+ - tencentcloudapi@tencent.com
32
+ executables: []
33
+ extensions: []
34
+ extra_rdoc_files: []
35
+ files:
36
+ - lib/tencentcloud-sdk-lcic.rb
37
+ - lib/v20220817/models.rb
38
+ - lib/v20220817/client.rb
39
+ - lib/VERSION
40
+ homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
+ licenses:
42
+ - Apache-2.0
43
+ metadata:
44
+ source_code_uri: https://github.com/TencentCloud/tencentcloud-sdk-ruby/tencentcloud-sdk-lcic
45
+ changelog_uri: https://github.com/TencentCloud/tencentcloud-sdk-ruby/blob/master/CHANGELOG.md
46
+ post_install_message:
47
+ rdoc_options: []
48
+ require_paths:
49
+ - lib
50
+ required_ruby_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ required_rubygems_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - '>='
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ requirements: []
61
+ rubyforge_project:
62
+ rubygems_version: 2.0.14
63
+ signing_key:
64
+ specification_version: 4
65
+ summary: Tencent Cloud SDK for Ruby - LCIC
66
+ test_files: []