Class: TencentCloud::Cfw::V20190904::DescribeAcListsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::DescribeAcListsResponse
- Defined in:
- lib/v20190904/models.rb
Overview
DescribeAcLists返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, data = nil, alltotal = nil, enable = nil, requestid = nil) ⇒ DescribeAcListsResponse
constructor
A new instance of DescribeAcListsResponse.
Constructor Details
#initialize(total = nil, data = nil, alltotal = nil, enable = nil, requestid = nil) ⇒ DescribeAcListsResponse
Returns a new instance of DescribeAcListsResponse.
2609 2610 2611 2612 2613 2614 2615 |
# File 'lib/v20190904/models.rb', line 2609 def initialize(total=nil, data=nil, alltotal=nil, enable=nil, requestid=nil) @Total = total @Data = data @AllTotal = alltotal @Enable = enable @RequestId = requestid end |
Instance Attribute Details
#AllTotal ⇒ Object
2607 2608 2609 |
# File 'lib/v20190904/models.rb', line 2607 def AllTotal @AllTotal end |
#Data ⇒ Object
2607 2608 2609 |
# File 'lib/v20190904/models.rb', line 2607 def Data @Data end |
#Enable ⇒ Object
2607 2608 2609 |
# File 'lib/v20190904/models.rb', line 2607 def Enable @Enable end |
#RequestId ⇒ Object
2607 2608 2609 |
# File 'lib/v20190904/models.rb', line 2607 def RequestId @RequestId end |
#Total ⇒ Object
2607 2608 2609 |
# File 'lib/v20190904/models.rb', line 2607 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 |
# File 'lib/v20190904/models.rb', line 2617 def deserialize(params) @Total = params['Total'] unless params['Data'].nil? @Data = [] params['Data'].each do |i| aclistsdata_tmp = AcListsData.new aclistsdata_tmp.deserialize(i) @Data << aclistsdata_tmp end end @AllTotal = params['AllTotal'] @Enable = params['Enable'] @RequestId = params['RequestId'] end |