tencentcloud-sdk-lcic 3.0.546 → 3.0.547
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 +132 -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: cf620dc5722f58f2483acdfb30a632f47ccb6af8
|
4
|
+
data.tar.gz: cdb5cd020a4873db95618da0bf2abed6fa3cb054
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76378f0cd0e0461eb58cc35993f6f51b3b9121bb46cc3142de3d6625f3c391eb0a00aa02bdec96da596b2f67599735e02277e1b84ab0fa26f7129d0e478578c6
|
7
|
+
data.tar.gz: 4256c2c21c6462f176ab72be760b0124e5b6ff51d442920db2a8893dd2b1fd485046038f26c07b5d55cd3094434a7ecc916581b5c5ace37efcce9b2e010c8ea6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.547
|
data/lib/v20220817/client.rb
CHANGED
@@ -893,6 +893,30 @@ module TencentCloud
|
|
893
893
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
894
894
|
end
|
895
895
|
|
896
|
+
# 获取房间列表
|
897
|
+
|
898
|
+
# @param request: Request instance for GetRooms.
|
899
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::GetRoomsRequest`
|
900
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::GetRoomsResponse`
|
901
|
+
def GetRooms(request)
|
902
|
+
body = send_request('GetRooms', request.serialize)
|
903
|
+
response = JSON.parse(body)
|
904
|
+
if response['Response'].key?('Error') == false
|
905
|
+
model = GetRoomsResponse.new
|
906
|
+
model.deserialize(response['Response'])
|
907
|
+
model
|
908
|
+
else
|
909
|
+
code = response['Response']['Error']['Code']
|
910
|
+
message = response['Response']['Error']['Message']
|
911
|
+
reqid = response['Response']['RequestId']
|
912
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
913
|
+
end
|
914
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
915
|
+
raise e
|
916
|
+
rescue StandardError => e
|
917
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
918
|
+
end
|
919
|
+
|
896
920
|
# 获取水印设置
|
897
921
|
|
898
922
|
# @param request: Request instance for GetWatermark.
|
data/lib/v20220817/models.rb
CHANGED
@@ -2247,6 +2247,69 @@ module TencentCloud
|
|
2247
2247
|
end
|
2248
2248
|
end
|
2249
2249
|
|
2250
|
+
# GetRooms请求参数结构体
|
2251
|
+
class GetRoomsRequest < TencentCloud::Common::AbstractModel
|
2252
|
+
# @param SdkAppId: 低代码平台的SdkAppId。
|
2253
|
+
# @type SdkAppId: Integer
|
2254
|
+
# @param StartTime: 开始时间。默认以当前时间减去半小时作为开始时间。
|
2255
|
+
# @type StartTime: Integer
|
2256
|
+
# @param EndTime: 结束时间。默认以当前时间加上半小时作为结束时间。
|
2257
|
+
# @type EndTime: Integer
|
2258
|
+
# @param Page: 分页查询当前页数,从1开始递增
|
2259
|
+
# @type Page: Integer
|
2260
|
+
# @param Limit: 默认是10条
|
2261
|
+
# @type Limit: Integer
|
2262
|
+
|
2263
|
+
attr_accessor :SdkAppId, :StartTime, :EndTime, :Page, :Limit
|
2264
|
+
|
2265
|
+
def initialize(sdkappid=nil, starttime=nil, endtime=nil, page=nil, limit=nil)
|
2266
|
+
@SdkAppId = sdkappid
|
2267
|
+
@StartTime = starttime
|
2268
|
+
@EndTime = endtime
|
2269
|
+
@Page = page
|
2270
|
+
@Limit = limit
|
2271
|
+
end
|
2272
|
+
|
2273
|
+
def deserialize(params)
|
2274
|
+
@SdkAppId = params['SdkAppId']
|
2275
|
+
@StartTime = params['StartTime']
|
2276
|
+
@EndTime = params['EndTime']
|
2277
|
+
@Page = params['Page']
|
2278
|
+
@Limit = params['Limit']
|
2279
|
+
end
|
2280
|
+
end
|
2281
|
+
|
2282
|
+
# GetRooms返回参数结构体
|
2283
|
+
class GetRoomsResponse < TencentCloud::Common::AbstractModel
|
2284
|
+
# @param Total: 总数
|
2285
|
+
# @type Total: Integer
|
2286
|
+
# @param Rooms: 房间列表
|
2287
|
+
# @type Rooms: Array
|
2288
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2289
|
+
# @type RequestId: String
|
2290
|
+
|
2291
|
+
attr_accessor :Total, :Rooms, :RequestId
|
2292
|
+
|
2293
|
+
def initialize(total=nil, rooms=nil, requestid=nil)
|
2294
|
+
@Total = total
|
2295
|
+
@Rooms = rooms
|
2296
|
+
@RequestId = requestid
|
2297
|
+
end
|
2298
|
+
|
2299
|
+
def deserialize(params)
|
2300
|
+
@Total = params['Total']
|
2301
|
+
unless params['Rooms'].nil?
|
2302
|
+
@Rooms = []
|
2303
|
+
params['Rooms'].each do |i|
|
2304
|
+
roomitem_tmp = RoomItem.new
|
2305
|
+
roomitem_tmp.deserialize(i)
|
2306
|
+
@Rooms << roomitem_tmp
|
2307
|
+
end
|
2308
|
+
end
|
2309
|
+
@RequestId = params['RequestId']
|
2310
|
+
end
|
2311
|
+
end
|
2312
|
+
|
2250
2313
|
# GetWatermark请求参数结构体
|
2251
2314
|
class GetWatermarkRequest < TencentCloud::Common::AbstractModel
|
2252
2315
|
# @param SdkAppId: 低代码互动课堂的SdkAppId。
|
@@ -2990,6 +3053,75 @@ module TencentCloud
|
|
2990
3053
|
end
|
2991
3054
|
end
|
2992
3055
|
|
3056
|
+
# 房间列表
|
3057
|
+
class RoomItem < TencentCloud::Common::AbstractModel
|
3058
|
+
# @param Name: 名称
|
3059
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3060
|
+
# @type Name: String
|
3061
|
+
# @param RoomId: 房间ID
|
3062
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3063
|
+
# @type RoomId: Integer
|
3064
|
+
# @param Status: 房间状态。0 未开始 ;1进行中 ;2 已结束
|
3065
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3066
|
+
# @type Status: Integer
|
3067
|
+
# @param StartTime: 开始时间
|
3068
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3069
|
+
# @type StartTime: Integer
|
3070
|
+
# @param EndTime: 结束时间
|
3071
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3072
|
+
# @type EndTime: Integer
|
3073
|
+
# @param RealStartTime: 实际开始时间
|
3074
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3075
|
+
# @type RealStartTime: Integer
|
3076
|
+
# @param RealEndTime: 实际结束时间
|
3077
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3078
|
+
# @type RealEndTime: Integer
|
3079
|
+
# @param Resolution: 分辨率。1 标清
|
3080
|
+
# 2 高清
|
3081
|
+
# 3 全高清
|
3082
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3083
|
+
# @type Resolution: Integer
|
3084
|
+
# @param MaxRTCMember: 最大允许连麦人数
|
3085
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3086
|
+
# @type MaxRTCMember: Integer
|
3087
|
+
# @param ReplayUrl: 房间录制地址。已废弃,使用新字段 RecordUrl
|
3088
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3089
|
+
# @type ReplayUrl: String
|
3090
|
+
# @param RecordUrl: 录制地址(协议为https)。仅在房间结束后存在。
|
3091
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3092
|
+
# @type RecordUrl: String
|
3093
|
+
|
3094
|
+
attr_accessor :Name, :RoomId, :Status, :StartTime, :EndTime, :RealStartTime, :RealEndTime, :Resolution, :MaxRTCMember, :ReplayUrl, :RecordUrl
|
3095
|
+
|
3096
|
+
def initialize(name=nil, roomid=nil, status=nil, starttime=nil, endtime=nil, realstarttime=nil, realendtime=nil, resolution=nil, maxrtcmember=nil, replayurl=nil, recordurl=nil)
|
3097
|
+
@Name = name
|
3098
|
+
@RoomId = roomid
|
3099
|
+
@Status = status
|
3100
|
+
@StartTime = starttime
|
3101
|
+
@EndTime = endtime
|
3102
|
+
@RealStartTime = realstarttime
|
3103
|
+
@RealEndTime = realendtime
|
3104
|
+
@Resolution = resolution
|
3105
|
+
@MaxRTCMember = maxrtcmember
|
3106
|
+
@ReplayUrl = replayurl
|
3107
|
+
@RecordUrl = recordurl
|
3108
|
+
end
|
3109
|
+
|
3110
|
+
def deserialize(params)
|
3111
|
+
@Name = params['Name']
|
3112
|
+
@RoomId = params['RoomId']
|
3113
|
+
@Status = params['Status']
|
3114
|
+
@StartTime = params['StartTime']
|
3115
|
+
@EndTime = params['EndTime']
|
3116
|
+
@RealStartTime = params['RealStartTime']
|
3117
|
+
@RealEndTime = params['RealEndTime']
|
3118
|
+
@Resolution = params['Resolution']
|
3119
|
+
@MaxRTCMember = params['MaxRTCMember']
|
3120
|
+
@ReplayUrl = params['ReplayUrl']
|
3121
|
+
@RecordUrl = params['RecordUrl']
|
3122
|
+
end
|
3123
|
+
end
|
3124
|
+
|
2993
3125
|
# 场景配置
|
2994
3126
|
class SceneItem < TencentCloud::Common::AbstractModel
|
2995
3127
|
|
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.547
|
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-04-
|
11
|
+
date: 2023-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|