Class: TencentCloud::Cam::V20190116::ListAttachedGroupPoliciesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::ListAttachedGroupPoliciesResponse
- Defined in:
- lib/v20190116/models.rb
Overview
ListAttachedGroupPolicies返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalnum = nil, list = nil, requestid = nil) ⇒ ListAttachedGroupPoliciesResponse
constructor
A new instance of ListAttachedGroupPoliciesResponse.
Constructor Details
#initialize(totalnum = nil, list = nil, requestid = nil) ⇒ ListAttachedGroupPoliciesResponse
Returns a new instance of ListAttachedGroupPoliciesResponse.
3074 3075 3076 3077 3078 |
# File 'lib/v20190116/models.rb', line 3074 def initialize(totalnum=nil, list=nil, requestid=nil) @TotalNum = totalnum @List = list @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
3072 3073 3074 |
# File 'lib/v20190116/models.rb', line 3072 def List @List end |
#RequestId ⇒ Object
3072 3073 3074 |
# File 'lib/v20190116/models.rb', line 3072 def RequestId @RequestId end |
#TotalNum ⇒ Object
3072 3073 3074 |
# File 'lib/v20190116/models.rb', line 3072 def TotalNum @TotalNum end |
Instance Method Details
#deserialize(params) ⇒ Object
3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 |
# File 'lib/v20190116/models.rb', line 3080 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 |