Class: TencentCloud::Cam::V20190116::ListAttachedRolePoliciesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::ListAttachedRolePoliciesResponse
- Defined in:
- lib/v20190116/models.rb
Overview
ListAttachedRolePolicies返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(list = nil, totalnum = nil, requestid = nil) ⇒ ListAttachedRolePoliciesResponse
constructor
A new instance of ListAttachedRolePoliciesResponse.
Constructor Details
#initialize(list = nil, totalnum = nil, requestid = nil) ⇒ ListAttachedRolePoliciesResponse
Returns a new instance of ListAttachedRolePoliciesResponse.
3141 3142 3143 3144 3145 |
# File 'lib/v20190116/models.rb', line 3141 def initialize(list=nil, totalnum=nil, requestid=nil) @List = list @TotalNum = totalnum @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
3139 3140 3141 |
# File 'lib/v20190116/models.rb', line 3139 def List @List end |
#RequestId ⇒ Object
3139 3140 3141 |
# File 'lib/v20190116/models.rb', line 3139 def RequestId @RequestId end |
#TotalNum ⇒ Object
3139 3140 3141 |
# File 'lib/v20190116/models.rb', line 3139 def TotalNum @TotalNum end |
Instance Method Details
#deserialize(params) ⇒ Object
3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 |
# File 'lib/v20190116/models.rb', line 3147 def deserialize(params) unless params['List'].nil? @List = [] params['List'].each do |i| attachedpolicyofrole_tmp = AttachedPolicyOfRole.new attachedpolicyofrole_tmp.deserialize(i) @List << attachedpolicyofrole_tmp end end @TotalNum = params['TotalNum'] @RequestId = params['RequestId'] end |