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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1c6a5904c001ec265c8e68fd8013af54ee763d75
4
- data.tar.gz: ef8143c50292561920672de3eb4783c54ff03f0d
3
+ metadata.gz: 209ced733e9aa20353c226eb714d7f29fbb494ac
4
+ data.tar.gz: d1ced6fb91921ab24e18ff5568589e111d77a0c4
5
5
  SHA512:
6
- metadata.gz: 3bb6c64c399c2c714ace8f62a9e97d421b2daa7da443c54c598759b77b0412ea551cddcfe5ca2d3df74613321623af3826ab7ad5c12c02dd987cf5b18977180e
7
- data.tar.gz: 672f16c7813e4dd3da4713efc97a56e9971f86dbc970056c325cbdd65455273a67f79ade831427c2c20f97b18bd7cbdad317f1e49d4598b729f6c6815b8bd5a5
6
+ metadata.gz: ef9a53008080ec8b59231fd8971727d3efb19bde9f5f5f8db0e4237cd34198de619491d274e9ec7c2951a7caa14b2917048f86c3151241a37d10a87e0cceef74
7
+ data.tar.gz: b99b0f961b7674197957af04492e351f7be7aafac21553f374c6fa8c1c873be387e03ae135cda40dc7be8abd5c2b107ea59dc7aca7ff469d9233e02864a03299
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.428
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.428
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-14 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