tencentcloud-sdk-lcic 3.0.429 → 3.0.430

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a90e05a497467528f3b99be2198cce6113f5b4bc
4
- data.tar.gz: b3ed4bc622ca35b28729070fa2236bd74dbcfbd5
3
+ metadata.gz: 209ced733e9aa20353c226eb714d7f29fbb494ac
4
+ data.tar.gz: d1ced6fb91921ab24e18ff5568589e111d77a0c4
5
5
  SHA512:
6
- metadata.gz: abd093651caee9e327a6b6023088cbe5b840fbf16a2783ea7db9d854056b2025454f338eb8c706fb34ab6b0a045e7f21d5d8688c9adabb283f3bdd977ef2124a
7
- data.tar.gz: 0804a2f06dc20b38ccc7d127085e1efd6638af36d7b16b322a399a68cdd16cadab7ccf4c32840cf6ef68dda63d0ca57f725bad1d5d2b2f16a635c748d450e747
6
+ metadata.gz: ef9a53008080ec8b59231fd8971727d3efb19bde9f5f5f8db0e4237cd34198de619491d274e9ec7c2951a7caa14b2917048f86c3151241a37d10a87e0cceef74
7
+ data.tar.gz: b99b0f961b7674197957af04492e351f7be7aafac21553f374c6fa8c1c873be387e03ae135cda40dc7be8abd5c2b107ea59dc7aca7ff469d9233e02864a03299
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.429
1
+ 3.0.430
@@ -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.
@@ -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.429
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-16 00:00:00.000000000 Z
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