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
5291 5292 5293 5294 5295 5296 5297 |
# File 'lib/v20190904/models.rb', line 5291 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
5289 5290 5291 |
# File 'lib/v20190904/models.rb', line 5289 def AllTotal @AllTotal end |
#Data ⇒ Object
5289 5290 5291 |
# File 'lib/v20190904/models.rb', line 5289 def Data @Data end |
#Enable ⇒ Object
5289 5290 5291 |
# File 'lib/v20190904/models.rb', line 5289 def Enable @Enable end |
#RequestId ⇒ Object
5289 5290 5291 |
# File 'lib/v20190904/models.rb', line 5289 def RequestId @RequestId end |
#Total ⇒ Object
5289 5290 5291 |
# File 'lib/v20190904/models.rb', line 5289 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 |
# File 'lib/v20190904/models.rb', line 5299 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 |