class TencentCloud::Ess::V20201111::IntegrateRole
企业角色数据信息
def deserialize(params)
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_tmp = PermissionGroup.new permissiongroup_tmp.deserialize(i) @PermissionGroups << permissiongroup_tmp end end end
def initialize(roleid=nil, rolename=nil, rolestatus=nil, isgrouprole=nil, suborgidlist=nil, permissiongroups=nil)
def initialize(roleid=nil, rolename=nil, rolestatus=nil, isgrouprole=nil, suborgidlist=nil, permissiongroups=nil) @RoleId = roleid @RoleName = rolename @RoleStatus = rolestatus @IsGroupRole = isgrouprole @SubOrgIdList = suborgidlist @PermissionGroups = permissiongroups end