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.
3263 3264 3265 3266 3267 |
# File 'lib/v20190116/models.rb', line 3263 def initialize(totalnum=nil, list=nil, requestid=nil) @TotalNum = totalnum @List = list @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
3261 3262 3263 |
# File 'lib/v20190116/models.rb', line 3261 def List @List end |
#RequestId ⇒ Object
3261 3262 3263 |
# File 'lib/v20190116/models.rb', line 3261 def RequestId @RequestId end |
#TotalNum ⇒ Object
3261 3262 3263 |
# File 'lib/v20190116/models.rb', line 3261 def TotalNum @TotalNum end |
Instance Method Details
#deserialize(params) ⇒ Object
3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 |
# File 'lib/v20190116/models.rb', line 3269 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 |