Class: TencentCloud::Cfw::V20190904::DescribeVpcFwGroupSwitchResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::DescribeVpcFwGroupSwitchResponse
- Defined in:
- lib/v20190904/models.rb
Overview
DescribeVpcFwGroupSwitch返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switchlist = nil, total = nil, requestid = nil) ⇒ DescribeVpcFwGroupSwitchResponse
constructor
A new instance of DescribeVpcFwGroupSwitchResponse.
Constructor Details
#initialize(switchlist = nil, total = nil, requestid = nil) ⇒ DescribeVpcFwGroupSwitchResponse
Returns a new instance of DescribeVpcFwGroupSwitchResponse.
5329 5330 5331 5332 5333 |
# File 'lib/v20190904/models.rb', line 5329 def initialize(switchlist=nil, total=nil, requestid=nil) @SwitchList = switchlist @Total = total @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
5327 5328 5329 |
# File 'lib/v20190904/models.rb', line 5327 def RequestId @RequestId end |
#SwitchList ⇒ Object
5327 5328 5329 |
# File 'lib/v20190904/models.rb', line 5327 def SwitchList @SwitchList end |
#Total ⇒ Object
5327 5328 5329 |
# File 'lib/v20190904/models.rb', line 5327 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 |
# File 'lib/v20190904/models.rb', line 5335 def deserialize(params) unless params['SwitchList'].nil? @SwitchList = [] params['SwitchList'].each do |i| fwgroupswitchshow_tmp = FwGroupSwitchShow.new fwgroupswitchshow_tmp.deserialize(i) @SwitchList << fwgroupswitchshow_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |