Class: TencentCloud::Cfw::V20190904::DescribeSecurityGroupListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::DescribeSecurityGroupListResponse
- Defined in:
- lib/v20190904/models.rb
Overview
DescribeSecurityGroupList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, data = nil, alltotal = nil, enable = nil, requestid = nil) ⇒ DescribeSecurityGroupListResponse
constructor
A new instance of DescribeSecurityGroupListResponse.
Constructor Details
#initialize(total = nil, data = nil, alltotal = nil, enable = nil, requestid = nil) ⇒ DescribeSecurityGroupListResponse
4782 4783 4784 4785 4786 4787 4788 |
# File 'lib/v20190904/models.rb', line 4782 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
4780 4781 4782 |
# File 'lib/v20190904/models.rb', line 4780 def AllTotal @AllTotal end |
#Data ⇒ Object
4780 4781 4782 |
# File 'lib/v20190904/models.rb', line 4780 def Data @Data end |
#Enable ⇒ Object
4780 4781 4782 |
# File 'lib/v20190904/models.rb', line 4780 def Enable @Enable end |
#RequestId ⇒ Object
4780 4781 4782 |
# File 'lib/v20190904/models.rb', line 4780 def RequestId @RequestId end |
#Total ⇒ Object
4780 4781 4782 |
# File 'lib/v20190904/models.rb', line 4780 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 |
# File 'lib/v20190904/models.rb', line 4790 def deserialize(params) @Total = params['Total'] unless params['Data'].nil? @Data = [] params['Data'].each do |i| securitygrouplistdata_tmp = SecurityGroupListData.new securitygrouplistdata_tmp.deserialize(i) @Data << securitygrouplistdata_tmp end end @AllTotal = params['AllTotal'] @Enable = params['Enable'] @RequestId = params['RequestId'] end |