Class: TencentCloud::Cam::V20190116::DeleteRoleRequest

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

Overview

DeleteRole请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DeleteRoleRequest.



1454
1455
1456
1457
# File 'lib/v20190116/models.rb', line 1454

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

Instance Attribute Details

#RoleIdObject

Parameters:

  • RoleId:

    角色ID,用于指定角色,入参 RoleId 与 RoleName 二选一

  • RoleName:

    角色名称,用于指定角色,入参 RoleId 与 RoleName 二选一



1452
1453
1454
# File 'lib/v20190116/models.rb', line 1452

def RoleId
  @RoleId
end

#RoleNameObject

Parameters:

  • RoleId:

    角色ID,用于指定角色,入参 RoleId 与 RoleName 二选一

  • RoleName:

    角色名称,用于指定角色,入参 RoleId 与 RoleName 二选一



1452
1453
1454
# File 'lib/v20190116/models.rb', line 1452

def RoleName
  @RoleName
end

Instance Method Details

#deserialize(params) ⇒ Object



1459
1460
1461
1462
# File 'lib/v20190116/models.rb', line 1459

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