tencentcloud-sdk-essbasic 3.0.542 → 3.0.543
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/v20210526/client.rb +3 -3
- data/lib/v20210526/models.rb +32 -32
- 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: 139ae1af0063cf4c658d219b3eab094266d87bda
|
4
|
+
data.tar.gz: 2b700fb01c668f6f7a5c24d547c1d13e61965506
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3540816a3565d0bfb67347d67d6d84aecbf20341badf5c08ababc262629c412c02ce5486783c8f9d9d3171e942471629bcc96bafad3f12f22c99bf5d1a248a1a
|
7
|
+
data.tar.gz: 3c3fb248c791538c7ce6c1c54dbbc4fa4113f3a56ea79b2a9e30f92f2b4e5c13368eb40083bcc58c3b022ae17ed52e091a87d6a87fc989e9bf871e7ec7c3f9b8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.543
|
data/lib/v20210526/client.rb
CHANGED
@@ -439,7 +439,7 @@ module TencentCloud
|
|
439
439
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
440
440
|
end
|
441
441
|
|
442
|
-
#
|
442
|
+
# 绑定员工角色
|
443
443
|
|
444
444
|
# @param request: Request instance for ChannelCreateUserRoles.
|
445
445
|
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelCreateUserRolesRequest`
|
@@ -463,7 +463,7 @@ module TencentCloud
|
|
463
463
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
464
464
|
end
|
465
465
|
|
466
|
-
#
|
466
|
+
# 删除员工绑定角色
|
467
467
|
|
468
468
|
# @param request: Request instance for ChannelDeleteRoleUsers.
|
469
469
|
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelDeleteRoleUsersRequest`
|
@@ -560,7 +560,7 @@ module TencentCloud
|
|
560
560
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
561
561
|
end
|
562
562
|
|
563
|
-
#
|
563
|
+
# 查询用户角色
|
564
564
|
|
565
565
|
# @param request: Request instance for ChannelDescribeRoles.
|
566
566
|
# @type request: :class:`Tencentcloud::essbasic::V20210526::ChannelDescribeRolesRequest`
|
data/lib/v20210526/models.rb
CHANGED
@@ -1342,35 +1342,35 @@ module TencentCloud
|
|
1342
1342
|
|
1343
1343
|
# ChannelCreateUserRoles请求参数结构体
|
1344
1344
|
class ChannelCreateUserRolesRequest < TencentCloud::Common::AbstractModel
|
1345
|
-
# @param Operator: 操作者信息
|
1346
|
-
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
1347
1345
|
# @param Agent: 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 必填。
|
1348
1346
|
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
1349
1347
|
# @param UserIds: 绑定角色的员工id列表
|
1350
1348
|
# @type UserIds: Array
|
1351
1349
|
# @param RoleIds: 绑定角色的角色id列表
|
1352
1350
|
# @type RoleIds: Array
|
1351
|
+
# @param Operator: 操作者信息
|
1352
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
1353
1353
|
|
1354
|
-
attr_accessor :
|
1354
|
+
attr_accessor :Agent, :UserIds, :RoleIds, :Operator
|
1355
1355
|
|
1356
|
-
def initialize(
|
1357
|
-
@Operator = operator
|
1356
|
+
def initialize(agent=nil, userids=nil, roleids=nil, operator=nil)
|
1358
1357
|
@Agent = agent
|
1359
1358
|
@UserIds = userids
|
1360
1359
|
@RoleIds = roleids
|
1360
|
+
@Operator = operator
|
1361
1361
|
end
|
1362
1362
|
|
1363
1363
|
def deserialize(params)
|
1364
|
-
unless params['Operator'].nil?
|
1365
|
-
@Operator = UserInfo.new
|
1366
|
-
@Operator.deserialize(params['Operator'])
|
1367
|
-
end
|
1368
1364
|
unless params['Agent'].nil?
|
1369
1365
|
@Agent = Agent.new
|
1370
1366
|
@Agent.deserialize(params['Agent'])
|
1371
1367
|
end
|
1372
1368
|
@UserIds = params['UserIds']
|
1373
1369
|
@RoleIds = params['RoleIds']
|
1370
|
+
unless params['Operator'].nil?
|
1371
|
+
@Operator = UserInfo.new
|
1372
|
+
@Operator.deserialize(params['Operator'])
|
1373
|
+
end
|
1374
1374
|
end
|
1375
1375
|
end
|
1376
1376
|
|
@@ -1403,35 +1403,35 @@ module TencentCloud
|
|
1403
1403
|
|
1404
1404
|
# ChannelDeleteRoleUsers请求参数结构体
|
1405
1405
|
class ChannelDeleteRoleUsersRequest < TencentCloud::Common::AbstractModel
|
1406
|
-
# @param
|
1407
|
-
# @type
|
1406
|
+
# @param Agent: 代理信息
|
1407
|
+
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
1408
1408
|
# @param RoleId: 角色Id
|
1409
1409
|
# @type RoleId: String
|
1410
1410
|
# @param UserIds: 用户列表
|
1411
1411
|
# @type UserIds: Array
|
1412
|
-
# @param
|
1413
|
-
# @type
|
1412
|
+
# @param Operator: 操作人信息
|
1413
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
1414
1414
|
|
1415
|
-
attr_accessor :
|
1415
|
+
attr_accessor :Agent, :RoleId, :UserIds, :Operator
|
1416
1416
|
|
1417
|
-
def initialize(
|
1418
|
-
@
|
1417
|
+
def initialize(agent=nil, roleid=nil, userids=nil, operator=nil)
|
1418
|
+
@Agent = agent
|
1419
1419
|
@RoleId = roleid
|
1420
1420
|
@UserIds = userids
|
1421
|
-
@
|
1421
|
+
@Operator = operator
|
1422
1422
|
end
|
1423
1423
|
|
1424
1424
|
def deserialize(params)
|
1425
|
-
unless params['Operator'].nil?
|
1426
|
-
@Operator = UserInfo.new
|
1427
|
-
@Operator.deserialize(params['Operator'])
|
1428
|
-
end
|
1429
|
-
@RoleId = params['RoleId']
|
1430
|
-
@UserIds = params['UserIds']
|
1431
1425
|
unless params['Agent'].nil?
|
1432
1426
|
@Agent = Agent.new
|
1433
1427
|
@Agent.deserialize(params['Agent'])
|
1434
1428
|
end
|
1429
|
+
@RoleId = params['RoleId']
|
1430
|
+
@UserIds = params['UserIds']
|
1431
|
+
unless params['Operator'].nil?
|
1432
|
+
@Operator = UserInfo.new
|
1433
|
+
@Operator.deserialize(params['Operator'])
|
1434
|
+
end
|
1435
1435
|
end
|
1436
1436
|
end
|
1437
1437
|
|
@@ -1678,40 +1678,40 @@ module TencentCloud
|
|
1678
1678
|
|
1679
1679
|
# ChannelDescribeRoles请求参数结构体
|
1680
1680
|
class ChannelDescribeRolesRequest < TencentCloud::Common::AbstractModel
|
1681
|
-
# @param Operator: 操作人信息
|
1682
|
-
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
1683
1681
|
# @param Agent: 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 必填。
|
1684
1682
|
# @type Agent: :class:`Tencentcloud::Essbasic.v20210526.models.Agent`
|
1685
1683
|
# @param Offset: 查询起始偏移,最大2000
|
1686
1684
|
# @type Offset: Integer
|
1687
1685
|
# @param Limit: 查询数量,最大200
|
1688
1686
|
# @type Limit: String
|
1687
|
+
# @param Operator: 操作人信息
|
1688
|
+
# @type Operator: :class:`Tencentcloud::Essbasic.v20210526.models.UserInfo`
|
1689
1689
|
# @param Filters: 查询的关键字段:
|
1690
1690
|
# Key:"RoleType",Vales:["1"]查询系统角色,Values:["2]查询自定义角色
|
1691
1691
|
# Key:"RoleStatus",Values:["1"]查询启用角色,Values:["2"]查询禁用角色
|
1692
1692
|
# @type Filters: Array
|
1693
1693
|
|
1694
|
-
attr_accessor :
|
1694
|
+
attr_accessor :Agent, :Offset, :Limit, :Operator, :Filters
|
1695
1695
|
|
1696
|
-
def initialize(
|
1697
|
-
@Operator = operator
|
1696
|
+
def initialize(agent=nil, offset=nil, limit=nil, operator=nil, filters=nil)
|
1698
1697
|
@Agent = agent
|
1699
1698
|
@Offset = offset
|
1700
1699
|
@Limit = limit
|
1700
|
+
@Operator = operator
|
1701
1701
|
@Filters = filters
|
1702
1702
|
end
|
1703
1703
|
|
1704
1704
|
def deserialize(params)
|
1705
|
-
unless params['Operator'].nil?
|
1706
|
-
@Operator = UserInfo.new
|
1707
|
-
@Operator.deserialize(params['Operator'])
|
1708
|
-
end
|
1709
1705
|
unless params['Agent'].nil?
|
1710
1706
|
@Agent = Agent.new
|
1711
1707
|
@Agent.deserialize(params['Agent'])
|
1712
1708
|
end
|
1713
1709
|
@Offset = params['Offset']
|
1714
1710
|
@Limit = params['Limit']
|
1711
|
+
unless params['Operator'].nil?
|
1712
|
+
@Operator = UserInfo.new
|
1713
|
+
@Operator.deserialize(params['Operator'])
|
1714
|
+
end
|
1715
1715
|
unless params['Filters'].nil?
|
1716
1716
|
@Filters = []
|
1717
1717
|
params['Filters'].each do |i|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-essbasic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.543
|
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-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|