Class: TencentCloud::Ckafka::V20190819::AclRuleResp

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190819/models.rb

Overview

AclRule列表接口返回结果

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#AclRuleListObject

Parameters:

  • TotalCount:

    总数据条数

  • AclRuleList:

    AclRule列表



182
183
184
# File 'lib/v20190819/models.rb', line 182

def AclRuleList
  @AclRuleList
end

#TotalCountObject

Parameters:

  • TotalCount:

    总数据条数

  • AclRuleList:

    AclRule列表



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