Class: TencentCloud::Cam::V20190116::ListAttachedUserAllPoliciesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::ListAttachedUserAllPoliciesResponse
- Defined in:
- lib/v20190116/models.rb
Overview
ListAttachedUserAllPolicies返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(policylist = nil, totalnum = nil, requestid = nil) ⇒ ListAttachedUserAllPoliciesResponse
constructor
A new instance of ListAttachedUserAllPoliciesResponse.
Constructor Details
#initialize(policylist = nil, totalnum = nil, requestid = nil) ⇒ ListAttachedUserAllPoliciesResponse
Returns a new instance of ListAttachedUserAllPoliciesResponse.
3208 3209 3210 3211 3212 |
# File 'lib/v20190116/models.rb', line 3208 def initialize(policylist=nil, totalnum=nil, requestid=nil) @PolicyList = policylist @TotalNum = totalnum @RequestId = requestid end |
Instance Attribute Details
#PolicyList ⇒ Object
3206 3207 3208 |
# File 'lib/v20190116/models.rb', line 3206 def PolicyList @PolicyList end |
#RequestId ⇒ Object
3206 3207 3208 |
# File 'lib/v20190116/models.rb', line 3206 def RequestId @RequestId end |
#TotalNum ⇒ Object
3206 3207 3208 |
# File 'lib/v20190116/models.rb', line 3206 def TotalNum @TotalNum end |
Instance Method Details
#deserialize(params) ⇒ Object
3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 |
# File 'lib/v20190116/models.rb', line 3214 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 |