Class: TencentCloud::Ckafka::V20190819::AclResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::AclResponse
- Defined in:
- lib/v20190819/models.rb
Overview
ACL返回结果集
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, acllist = nil) ⇒ AclResponse
constructor
A new instance of AclResponse.
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
#AclList ⇒ Object
63 64 65 |
# File 'lib/v20190819/models.rb', line 63 def AclList @AclList end |
#TotalCount ⇒ Object
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 |