Class: TencentCloud::Cam::V20190116::DeleteRolePermissionsBoundaryRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190116/models.rb

Overview

DeleteRolePermissionsBoundary请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(roleid = nil, rolename = nil) ⇒ DeleteRolePermissionsBoundaryRequest

Returns a new instance of DeleteRolePermissionsBoundaryRequest.



1418
1419
1420
1421
# File 'lib/v20190116/models.rb', line 1418

def initialize(roleid=nil, rolename=nil)
  @RoleId = roleid
  @RoleName = rolename
end

Instance Attribute Details

#RoleIdObject

Parameters:

  • RoleId:

    角色ID(与角色名至少填一个)

  • RoleName:

    角色名(与角色ID至少填一个)



1416
1417
1418
# File 'lib/v20190116/models.rb', line 1416

def RoleId
  @RoleId
end

#RoleNameObject

Parameters:

  • RoleId:

    角色ID(与角色名至少填一个)

  • RoleName:

    角色名(与角色ID至少填一个)



1416
1417
1418
# File 'lib/v20190116/models.rb', line 1416

def RoleName
  @RoleName
end

Instance Method Details

#deserialize(params) ⇒ Object



1423
1424
1425
1426
# File 'lib/v20190116/models.rb', line 1423

def deserialize(params)
  @RoleId = params['RoleId']
  @RoleName = params['RoleName']
end