Class: TencentCloud::Cam::V20190116::GetRoleRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::GetRoleRequest
- Defined in:
- lib/v20190116/models.rb
Overview
GetRole请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(roleid = nil, rolename = nil) ⇒ GetRoleRequest
constructor
A new instance of GetRoleRequest.
Constructor Details
#initialize(roleid = nil, rolename = nil) ⇒ GetRoleRequest
Returns a new instance of GetRoleRequest.
2533 2534 2535 2536 |
# File 'lib/v20190116/models.rb', line 2533 def initialize(roleid=nil, rolename=nil) @RoleId = roleid @RoleName = rolename end |
Instance Attribute Details
#RoleId ⇒ Object
2531 2532 2533 |
# File 'lib/v20190116/models.rb', line 2531 def RoleId @RoleId end |
#RoleName ⇒ Object
2531 2532 2533 |
# File 'lib/v20190116/models.rb', line 2531 def RoleName @RoleName end |
Instance Method Details
#deserialize(params) ⇒ Object
2538 2539 2540 2541 |
# File 'lib/v20190116/models.rb', line 2538 def deserialize(params) @RoleId = params['RoleId'] @RoleName = params['RoleName'] end |