tencentcloud-sdk-lcic 3.0.873 → 3.0.875
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 +40 -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: 1348078a06fb29bc26287951c76a589539c10191
|
4
|
+
data.tar.gz: d52ca75996119bf5844832560e75c39abe36ba16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8374cc2d8c27acdb5581e0ec1cfd033c619c5e94ad729c627d109db13ac6c8bb39dbcfbfe2a292fdbfff0c7105153c2dc7c71e6f98a3c630120d03b7c7c2117a
|
7
|
+
data.tar.gz: c512ce7f4559c6b64b0b766e3fa5b1664b228a38fcf61be28f9e757dc502c96094e0bc4e71fcab219cde1850000a1df60e28fd7b86aea064edb8fafbc82d6a70
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.875
|
data/lib/v20220817/client.rb
CHANGED
@@ -1473,6 +1473,30 @@ module TencentCloud
|
|
1473
1473
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1474
1474
|
end
|
1475
1475
|
|
1476
|
+
# 解禁从房间里面踢出的用户
|
1477
|
+
|
1478
|
+
# @param request: Request instance for UnblockKickedUser.
|
1479
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::UnblockKickedUserRequest`
|
1480
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::UnblockKickedUserResponse`
|
1481
|
+
def UnblockKickedUser(request)
|
1482
|
+
body = send_request('UnblockKickedUser', request.serialize)
|
1483
|
+
response = JSON.parse(body)
|
1484
|
+
if response['Response'].key?('Error') == false
|
1485
|
+
model = UnblockKickedUserResponse.new
|
1486
|
+
model.deserialize(response['Response'])
|
1487
|
+
model
|
1488
|
+
else
|
1489
|
+
code = response['Response']['Error']['Code']
|
1490
|
+
message = response['Response']['Error']['Message']
|
1491
|
+
reqid = response['Response']['RequestId']
|
1492
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1493
|
+
end
|
1494
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1495
|
+
raise e
|
1496
|
+
rescue StandardError => e
|
1497
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1498
|
+
end
|
1499
|
+
|
1476
1500
|
|
1477
1501
|
end
|
1478
1502
|
end
|
data/lib/v20220817/models.rb
CHANGED
@@ -4678,6 +4678,46 @@ module TencentCloud
|
|
4678
4678
|
end
|
4679
4679
|
end
|
4680
4680
|
|
4681
|
+
# UnblockKickedUser请求参数结构体
|
4682
|
+
class UnblockKickedUserRequest < TencentCloud::Common::AbstractModel
|
4683
|
+
# @param SdkAppId: 低代码平台的SdkAppId。
|
4684
|
+
# @type SdkAppId: Integer
|
4685
|
+
# @param RoomId: 房间Id。
|
4686
|
+
# @type RoomId: Integer
|
4687
|
+
# @param UserId: 需要解禁踢出的成员Id。
|
4688
|
+
# @type UserId: String
|
4689
|
+
|
4690
|
+
attr_accessor :SdkAppId, :RoomId, :UserId
|
4691
|
+
|
4692
|
+
def initialize(sdkappid=nil, roomid=nil, userid=nil)
|
4693
|
+
@SdkAppId = sdkappid
|
4694
|
+
@RoomId = roomid
|
4695
|
+
@UserId = userid
|
4696
|
+
end
|
4697
|
+
|
4698
|
+
def deserialize(params)
|
4699
|
+
@SdkAppId = params['SdkAppId']
|
4700
|
+
@RoomId = params['RoomId']
|
4701
|
+
@UserId = params['UserId']
|
4702
|
+
end
|
4703
|
+
end
|
4704
|
+
|
4705
|
+
# UnblockKickedUser返回参数结构体
|
4706
|
+
class UnblockKickedUserResponse < TencentCloud::Common::AbstractModel
|
4707
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4708
|
+
# @type RequestId: String
|
4709
|
+
|
4710
|
+
attr_accessor :RequestId
|
4711
|
+
|
4712
|
+
def initialize(requestid=nil)
|
4713
|
+
@RequestId = requestid
|
4714
|
+
end
|
4715
|
+
|
4716
|
+
def deserialize(params)
|
4717
|
+
@RequestId = params['RequestId']
|
4718
|
+
end
|
4719
|
+
end
|
4720
|
+
|
4681
4721
|
# 用户信息结构体
|
4682
4722
|
class UserInfo < TencentCloud::Common::AbstractModel
|
4683
4723
|
# @param SdkAppId: 应用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.875
|
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-07-
|
11
|
+
date: 2024-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|