Class: TencentCloud::Cam::V20190116::ListAttachedUserAllPoliciesResponse

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

Overview

ListAttachedUserAllPolicies返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(policylist = nil, totalnum = nil, requestid = nil) ⇒ ListAttachedUserAllPoliciesResponse



3257
3258
3259
3260
3261
# File 'lib/v20190116/models.rb', line 3257

def initialize(policylist=nil, totalnum=nil, requestid=nil)
  @PolicyList = policylist
  @TotalNum = totalnum
  @RequestId = requestid
end

Instance Attribute Details

#PolicyListObject



3255
3256
3257
# File 'lib/v20190116/models.rb', line 3255

def PolicyList
  @PolicyList
end

#RequestIdObject



3255
3256
3257
# File 'lib/v20190116/models.rb', line 3255

def RequestId
  @RequestId
end

#TotalNumObject



3255
3256
3257
# File 'lib/v20190116/models.rb', line 3255

def TotalNum
  @TotalNum
end

Instance Method Details

#deserialize(params) ⇒ Object



3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'lib/v20190116/models.rb', line 3263

def deserialize(params)
  unless params['PolicyList'].nil?
    @PolicyList = []
    params['PolicyList'].each do |i|
      attacheduserpolicy_tmp = AttachedUserPolicy.new
      attacheduserpolicy_tmp.deserialize(i)
      @PolicyList << attacheduserpolicy_tmp
    end
  end
  @TotalNum = params['TotalNum']
  @RequestId = params['RequestId']
end