Class: TencentCloud::Cam::V20190116::ListPoliciesGrantingServiceAccessResponse

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

Overview

ListPoliciesGrantingServiceAccess返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(list = nil, requestid = nil) ⇒ ListPoliciesGrantingServiceAccessResponse

Returns a new instance of ListPoliciesGrantingServiceAccessResponse.



3655
3656
3657
3658
# File 'lib/v20190116/models.rb', line 3655

def initialize(list=nil, requestid=nil)
  @List = list
  @RequestId = requestid
end

Instance Attribute Details

#ListObject

Parameters:

  • List:

    列表

  • RequestId:

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



3653
3654
3655
# File 'lib/v20190116/models.rb', line 3653

def List
  @List
end

#RequestIdObject

Parameters:

  • List:

    列表

  • RequestId:

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



3653
3654
3655
# File 'lib/v20190116/models.rb', line 3653

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
# File 'lib/v20190116/models.rb', line 3660

def deserialize(params)
  unless params['List'].nil?
    @List = []
    params['List'].each do |i|
      listgrantserviceaccessnode_tmp = ListGrantServiceAccessNode.new
      listgrantserviceaccessnode_tmp.deserialize(i)
      @List << listgrantserviceaccessnode_tmp
    end
  end
  @RequestId = params['RequestId']
end