Class: TencentCloud::Ess::V20201111::IntegrateRole
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ess::V20201111::IntegrateRole
- Defined in:
- lib/v20201111/models.rb
Overview
企业角色数据信息
Instance Attribute Summary collapse
- #IsGroupRole ⇒ Object
- #PermissionGroups ⇒ Object
- #RoleId ⇒ Object
- #RoleName ⇒ Object
- #RoleStatus ⇒ Object
- #SubOrgIdList ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(roleid = nil, rolename = nil, rolestatus = nil, isgrouprole = nil, suborgidlist = nil, permissiongroups = nil) ⇒ IntegrateRole
constructor
A new instance of IntegrateRole.
Constructor Details
#initialize(roleid = nil, rolename = nil, rolestatus = nil, isgrouprole = nil, suborgidlist = nil, permissiongroups = nil) ⇒ IntegrateRole
Returns a new instance of IntegrateRole.
14683 14684 14685 14686 14687 14688 14689 14690 |
# File 'lib/v20201111/models.rb', line 14683 def initialize(roleid=nil, rolename=nil, rolestatus=nil, isgrouprole=nil, suborgidlist=nil, =nil) @RoleId = roleid @RoleName = rolename @RoleStatus = rolestatus @IsGroupRole = isgrouprole @SubOrgIdList = suborgidlist @PermissionGroups = end |
Instance Attribute Details
#IsGroupRole ⇒ Object
14681 14682 14683 |
# File 'lib/v20201111/models.rb', line 14681 def IsGroupRole @IsGroupRole end |
#PermissionGroups ⇒ Object
14681 14682 14683 |
# File 'lib/v20201111/models.rb', line 14681 def PermissionGroups @PermissionGroups end |
#RoleId ⇒ Object
14681 14682 14683 |
# File 'lib/v20201111/models.rb', line 14681 def RoleId @RoleId end |
#RoleName ⇒ Object
14681 14682 14683 |
# File 'lib/v20201111/models.rb', line 14681 def RoleName @RoleName end |
#RoleStatus ⇒ Object
14681 14682 14683 |
# File 'lib/v20201111/models.rb', line 14681 def RoleStatus @RoleStatus end |
#SubOrgIdList ⇒ Object
14681 14682 14683 |
# File 'lib/v20201111/models.rb', line 14681 def SubOrgIdList @SubOrgIdList end |
Instance Method Details
#deserialize(params) ⇒ Object
14692 14693 14694 14695 14696 14697 14698 14699 14700 14701 14702 14703 14704 14705 14706 |
# File 'lib/v20201111/models.rb', line 14692 def deserialize(params) @RoleId = params['RoleId'] @RoleName = params['RoleName'] @RoleStatus = params['RoleStatus'] @IsGroupRole = params['IsGroupRole'] @SubOrgIdList = params['SubOrgIdList'] unless params['PermissionGroups'].nil? @PermissionGroups = [] params['PermissionGroups'].each do |i| = PermissionGroup.new .deserialize(i) @PermissionGroups << end end end |