Class: TencentCloud::Cam::V20190116::GetRoleResponse

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

Overview

GetRole返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#RequestIdObject

Parameters:

  • RoleInfo:

    角色详情

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2551
2552
2553
# File 'lib/v20190116/models.rb', line 2551

def RequestId
  @RequestId
end

#RoleInfoObject

Parameters:

  • RoleInfo:

    角色详情

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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