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.
5150 5151 5152 5153 5154 |
# File 'lib/v20190904/models.rb', line 5150 def initialize(switchlist=nil, total=nil, requestid=nil) @SwitchList = switchlist @Total = total @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
5148 5149 5150 |
# File 'lib/v20190904/models.rb', line 5148 def RequestId @RequestId end |
#SwitchList ⇒ Object
5148 5149 5150 |
# File 'lib/v20190904/models.rb', line 5148 def SwitchList @SwitchList end |
#Total ⇒ Object
5148 5149 5150 |
# File 'lib/v20190904/models.rb', line 5148 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 |
# File 'lib/v20190904/models.rb', line 5156 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 |