Class: TencentCloud::Cam::V20190116::ListAttachedUserPoliciesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::ListAttachedUserPoliciesResponse
- Defined in:
- lib/v20190116/models.rb
Overview
ListAttachedUserPolicies返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalnum = nil, list = nil, requestid = nil) ⇒ ListAttachedUserPoliciesResponse
constructor
A new instance of ListAttachedUserPoliciesResponse.
Constructor Details
#initialize(totalnum = nil, list = nil, requestid = nil) ⇒ ListAttachedUserPoliciesResponse
Returns a new instance of ListAttachedUserPoliciesResponse.
3312 3313 3314 3315 3316 |
# File 'lib/v20190116/models.rb', line 3312 def initialize(totalnum=nil, list=nil, requestid=nil) @TotalNum = totalnum @List = list @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
3310 3311 3312 |
# File 'lib/v20190116/models.rb', line 3310 def List @List end |
#RequestId ⇒ Object
3310 3311 3312 |
# File 'lib/v20190116/models.rb', line 3310 def RequestId @RequestId end |
#TotalNum ⇒ Object
3310 3311 3312 |
# File 'lib/v20190116/models.rb', line 3310 def TotalNum @TotalNum end |
Instance Method Details
#deserialize(params) ⇒ Object
3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 |
# File 'lib/v20190116/models.rb', line 3318 def deserialize(params) @TotalNum = params['TotalNum'] unless params['List'].nil? @List = [] params['List'].each do |i| = AttachPolicyInfo.new .deserialize(i) @List << end end @RequestId = params['RequestId'] end |