Class: TencentCloud::Cam::V20190116::GetRoleResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::GetRoleResponse
- Defined in:
- lib/v20190116/models.rb
Overview
GetRole返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(roleinfo = nil, requestid = nil) ⇒ GetRoleResponse
constructor
A new instance of GetRoleResponse.
Constructor Details
#initialize(roleinfo = nil, requestid = nil) ⇒ GetRoleResponse
Returns a new instance of GetRoleResponse.
2553 2554 2555 2556 |
# File 'lib/v20190116/models.rb', line 2553 def initialize(roleinfo=nil, requestid=nil) @RoleInfo = roleinfo @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
2551 2552 2553 |
# File 'lib/v20190116/models.rb', line 2551 def RequestId @RequestId end |
#RoleInfo ⇒ Object
2551 2552 2553 |
# File 'lib/v20190116/models.rb', line 2551 def RoleInfo @RoleInfo end |
Instance Method Details
#deserialize(params) ⇒ Object
2558 2559 2560 2561 2562 2563 2564 |
# File 'lib/v20190116/models.rb', line 2558 def deserialize(params) unless params['RoleInfo'].nil? @RoleInfo = RoleInfo.new @RoleInfo.deserialize(params['RoleInfo']) end @RequestId = params['RequestId'] end |