tencentcloud-sdk-lcic 3.0.891 → 3.0.893
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220817/client.rb +24 -0
- data/lib/v20220817/models.rb +116 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 785da6fc9fc45ec7219e0b1f0f9137523b84522c
|
4
|
+
data.tar.gz: a5d422c9a56902b0b0c7b8e1feb7bba14e8d2c4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1a076db03d0392b80894904e74f570d92bba5ade49c55c4d5a49b27f58b6302e2becc16625f2eb6cd5e7b2bc3c3fff59c9399d8a09ca00488988bd211d71bb0
|
7
|
+
data.tar.gz: 36b5f33313dfb106c52c6902948c4bf3ec7e2c683c4a61a2943bcdeb1f2868dd7fb1f10b204a84751c01b88677a70400c968b204a66cf528971c608f8938a50f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.893
|
data/lib/v20220817/client.rb
CHANGED
@@ -823,6 +823,30 @@ module TencentCloud
|
|
823
823
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
824
824
|
end
|
825
825
|
|
826
|
+
# 录制流查询
|
827
|
+
|
828
|
+
# @param request: Request instance for DescribeRecordStream.
|
829
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::DescribeRecordStreamRequest`
|
830
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::DescribeRecordStreamResponse`
|
831
|
+
def DescribeRecordStream(request)
|
832
|
+
body = send_request('DescribeRecordStream', request.serialize)
|
833
|
+
response = JSON.parse(body)
|
834
|
+
if response['Response'].key?('Error') == false
|
835
|
+
model = DescribeRecordStreamResponse.new
|
836
|
+
model.deserialize(response['Response'])
|
837
|
+
model
|
838
|
+
else
|
839
|
+
code = response['Response']['Error']['Code']
|
840
|
+
message = response['Response']['Error']['Message']
|
841
|
+
reqid = response['Response']['RequestId']
|
842
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
843
|
+
end
|
844
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
845
|
+
raise e
|
846
|
+
rescue StandardError => e
|
847
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
848
|
+
end
|
849
|
+
|
826
850
|
# 获取房间配置信息
|
827
851
|
|
828
852
|
# @param request: Request instance for DescribeRoom.
|
data/lib/v20220817/models.rb
CHANGED
@@ -2062,6 +2062,65 @@ module TencentCloud
|
|
2062
2062
|
end
|
2063
2063
|
end
|
2064
2064
|
|
2065
|
+
# DescribeRecordStream请求参数结构体
|
2066
|
+
class DescribeRecordStreamRequest < TencentCloud::Common::AbstractModel
|
2067
|
+
# @param SdkAppId: 学校ID
|
2068
|
+
# @type SdkAppId: Integer
|
2069
|
+
# @param RoomId: 房间ID
|
2070
|
+
# @type RoomId: Integer
|
2071
|
+
|
2072
|
+
attr_accessor :SdkAppId, :RoomId
|
2073
|
+
|
2074
|
+
def initialize(sdkappid=nil, roomid=nil)
|
2075
|
+
@SdkAppId = sdkappid
|
2076
|
+
@RoomId = roomid
|
2077
|
+
end
|
2078
|
+
|
2079
|
+
def deserialize(params)
|
2080
|
+
@SdkAppId = params['SdkAppId']
|
2081
|
+
@RoomId = params['RoomId']
|
2082
|
+
end
|
2083
|
+
end
|
2084
|
+
|
2085
|
+
# DescribeRecordStream返回参数结构体
|
2086
|
+
class DescribeRecordStreamResponse < TencentCloud::Common::AbstractModel
|
2087
|
+
# @param SchoolId: 学校ID
|
2088
|
+
# @type SchoolId: Integer
|
2089
|
+
# @param ClassId: 课堂ID
|
2090
|
+
# @type ClassId: Integer
|
2091
|
+
# @param ClassType: 课堂类型
|
2092
|
+
# @type ClassType: Integer
|
2093
|
+
# @param StreamInfo: 用户流信息
|
2094
|
+
# @type StreamInfo: Array
|
2095
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2096
|
+
# @type RequestId: String
|
2097
|
+
|
2098
|
+
attr_accessor :SchoolId, :ClassId, :ClassType, :StreamInfo, :RequestId
|
2099
|
+
|
2100
|
+
def initialize(schoolid=nil, classid=nil, classtype=nil, streaminfo=nil, requestid=nil)
|
2101
|
+
@SchoolId = schoolid
|
2102
|
+
@ClassId = classid
|
2103
|
+
@ClassType = classtype
|
2104
|
+
@StreamInfo = streaminfo
|
2105
|
+
@RequestId = requestid
|
2106
|
+
end
|
2107
|
+
|
2108
|
+
def deserialize(params)
|
2109
|
+
@SchoolId = params['SchoolId']
|
2110
|
+
@ClassId = params['ClassId']
|
2111
|
+
@ClassType = params['ClassType']
|
2112
|
+
unless params['StreamInfo'].nil?
|
2113
|
+
@StreamInfo = []
|
2114
|
+
params['StreamInfo'].each do |i|
|
2115
|
+
singlestreaminfo_tmp = SingleStreamInfo.new
|
2116
|
+
singlestreaminfo_tmp.deserialize(i)
|
2117
|
+
@StreamInfo << singlestreaminfo_tmp
|
2118
|
+
end
|
2119
|
+
end
|
2120
|
+
@RequestId = params['RequestId']
|
2121
|
+
end
|
2122
|
+
end
|
2123
|
+
|
2065
2124
|
# DescribeRoomForbiddenUser请求参数结构体
|
2066
2125
|
class DescribeRoomForbiddenUserRequest < TencentCloud::Common::AbstractModel
|
2067
2126
|
# @param SdkAppId: 低代码互动课堂的SdkAppId。
|
@@ -4563,6 +4622,63 @@ module TencentCloud
|
|
4563
4622
|
end
|
4564
4623
|
end
|
4565
4624
|
|
4625
|
+
# 录制流信息
|
4626
|
+
class SingleStreamInfo < TencentCloud::Common::AbstractModel
|
4627
|
+
# @param UserId: 用户ID
|
4628
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4629
|
+
# @type UserId: String
|
4630
|
+
# @param StartTime: 开始时间
|
4631
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4632
|
+
# @type StartTime: Integer
|
4633
|
+
# @param StopTime: 结束时间
|
4634
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4635
|
+
# @type StopTime: Integer
|
4636
|
+
# @param Duration: 总时长
|
4637
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4638
|
+
# @type Duration: Integer
|
4639
|
+
# @param FileFormat: 文件格式
|
4640
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4641
|
+
# @type FileFormat: String
|
4642
|
+
# @param RecordUrl: 流url
|
4643
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4644
|
+
# @type RecordUrl: String
|
4645
|
+
# @param RecordSize: 流大小
|
4646
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4647
|
+
# @type RecordSize: Integer
|
4648
|
+
# @param VideoId: 流ID
|
4649
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4650
|
+
# @type VideoId: String
|
4651
|
+
# @param Role: 流类型
|
4652
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4653
|
+
# @type Role: String
|
4654
|
+
|
4655
|
+
attr_accessor :UserId, :StartTime, :StopTime, :Duration, :FileFormat, :RecordUrl, :RecordSize, :VideoId, :Role
|
4656
|
+
|
4657
|
+
def initialize(userid=nil, starttime=nil, stoptime=nil, duration=nil, fileformat=nil, recordurl=nil, recordsize=nil, videoid=nil, role=nil)
|
4658
|
+
@UserId = userid
|
4659
|
+
@StartTime = starttime
|
4660
|
+
@StopTime = stoptime
|
4661
|
+
@Duration = duration
|
4662
|
+
@FileFormat = fileformat
|
4663
|
+
@RecordUrl = recordurl
|
4664
|
+
@RecordSize = recordsize
|
4665
|
+
@VideoId = videoid
|
4666
|
+
@Role = role
|
4667
|
+
end
|
4668
|
+
|
4669
|
+
def deserialize(params)
|
4670
|
+
@UserId = params['UserId']
|
4671
|
+
@StartTime = params['StartTime']
|
4672
|
+
@StopTime = params['StopTime']
|
4673
|
+
@Duration = params['Duration']
|
4674
|
+
@FileFormat = params['FileFormat']
|
4675
|
+
@RecordUrl = params['RecordUrl']
|
4676
|
+
@RecordSize = params['RecordSize']
|
4677
|
+
@VideoId = params['VideoId']
|
4678
|
+
@Role = params['Role']
|
4679
|
+
end
|
4680
|
+
end
|
4681
|
+
|
4566
4682
|
# StartRoom请求参数结构体
|
4567
4683
|
class StartRoomRequest < TencentCloud::Common::AbstractModel
|
4568
4684
|
# @param RoomId: 房间ID。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-lcic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.893
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|