Class: TencentCloud::Ckafka::V20190819::AclResponse

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

Overview

ACL返回结果集

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, acllist = nil) ⇒ AclResponse

Returns a new instance of AclResponse.



65
66
67
68
# File 'lib/v20190819/models.rb', line 65

def initialize(totalcount=nil, acllist=nil)
  @TotalCount = totalcount
  @AclList = acllist
end

Instance Attribute Details

#AclListObject

Parameters:

  • TotalCount:

    符合条件的总数据条数

  • AclList:

    ACL列表



63
64
65
# File 'lib/v20190819/models.rb', line 63

def AclList
  @AclList
end

#TotalCountObject

Parameters:

  • TotalCount:

    符合条件的总数据条数

  • AclList:

    ACL列表



63
64
65
# File 'lib/v20190819/models.rb', line 63

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



70
71
72
73
74
75
76
77
78
79
80
# File 'lib/v20190819/models.rb', line 70

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['AclList'].nil?
    @AclList = []
    params['AclList'].each do |i|
      acl_tmp = Acl.new
      acl_tmp.deserialize(i)
      @AclList << acl_tmp
    end
  end
end