Class: TencentCloud::Ckafka::V20190819::AclRuleResp
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::AclRuleResp
- Defined in:
- lib/v20190819/models.rb
Overview
AclRule列表接口返回结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, aclrulelist = nil) ⇒ AclRuleResp
constructor
A new instance of AclRuleResp.
Constructor Details
#initialize(totalcount = nil, aclrulelist = nil) ⇒ AclRuleResp
Returns a new instance of AclRuleResp.
184 185 186 187 |
# File 'lib/v20190819/models.rb', line 184 def initialize(totalcount=nil, aclrulelist=nil) @TotalCount = totalcount @AclRuleList = aclrulelist end |
Instance Attribute Details
#AclRuleList ⇒ Object
182 183 184 |
# File 'lib/v20190819/models.rb', line 182 def AclRuleList @AclRuleList end |
#TotalCount ⇒ Object
182 183 184 |
# File 'lib/v20190819/models.rb', line 182 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
189 190 191 192 193 194 195 196 197 198 199 |
# File 'lib/v20190819/models.rb', line 189 def deserialize(params) @TotalCount = params['TotalCount'] unless params['AclRuleList'].nil? @AclRuleList = [] params['AclRuleList'].each do |i| aclrule_tmp = AclRule.new aclrule_tmp.deserialize(i) @AclRuleList << aclrule_tmp end end end |