tencentcloud-sdk-lcic 3.0.428 → 3.0.430
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 +32 -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: 209ced733e9aa20353c226eb714d7f29fbb494ac
|
4
|
+
data.tar.gz: d1ced6fb91921ab24e18ff5568589e111d77a0c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef9a53008080ec8b59231fd8971727d3efb19bde9f5f5f8db0e4237cd34198de619491d274e9ec7c2951a7caa14b2917048f86c3151241a37d10a87e0cceef74
|
7
|
+
data.tar.gz: b99b0f961b7674197957af04492e351f7be7aafac21553f374c6fa8c1c873be387e03ae135cda40dc7be8abd5c2b107ea59dc7aca7ff469d9233e02864a03299
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.430
|
data/lib/v20220817/client.rb
CHANGED
@@ -101,6 +101,30 @@ module TencentCloud
|
|
101
101
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
102
|
end
|
103
103
|
|
104
|
+
# 删除房间
|
105
|
+
|
106
|
+
# @param request: Request instance for DeleteRoom.
|
107
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::DeleteRoomRequest`
|
108
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::DeleteRoomResponse`
|
109
|
+
def DeleteRoom(request)
|
110
|
+
body = send_request('DeleteRoom', request.serialize)
|
111
|
+
response = JSON.parse(body)
|
112
|
+
if response['Response'].key?('Error') == false
|
113
|
+
model = DeleteRoomResponse.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
|
+
|
104
128
|
# 获取房间信息
|
105
129
|
|
106
130
|
# @param request: Request instance for DescribeRoom.
|
data/lib/v20220817/models.rb
CHANGED
@@ -242,6 +242,38 @@ module TencentCloud
|
|
242
242
|
end
|
243
243
|
end
|
244
244
|
|
245
|
+
# DeleteRoom请求参数结构体
|
246
|
+
class DeleteRoomRequest < TencentCloud::Common::AbstractModel
|
247
|
+
# @param RoomId: 房间ID。
|
248
|
+
# @type RoomId: Integer
|
249
|
+
|
250
|
+
attr_accessor :RoomId
|
251
|
+
|
252
|
+
def initialize(roomid=nil)
|
253
|
+
@RoomId = roomid
|
254
|
+
end
|
255
|
+
|
256
|
+
def deserialize(params)
|
257
|
+
@RoomId = params['RoomId']
|
258
|
+
end
|
259
|
+
end
|
260
|
+
|
261
|
+
# DeleteRoom返回参数结构体
|
262
|
+
class DeleteRoomResponse < TencentCloud::Common::AbstractModel
|
263
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
264
|
+
# @type RequestId: String
|
265
|
+
|
266
|
+
attr_accessor :RequestId
|
267
|
+
|
268
|
+
def initialize(requestid=nil)
|
269
|
+
@RequestId = requestid
|
270
|
+
end
|
271
|
+
|
272
|
+
def deserialize(params)
|
273
|
+
@RequestId = params['RequestId']
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
245
277
|
# DescribeRoom请求参数结构体
|
246
278
|
class DescribeRoomRequest < TencentCloud::Common::AbstractModel
|
247
279
|
# @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.430
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|