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.
5919 5920 5921 5922 5923 |
# File 'lib/v20190904/models.rb', line 5919 def initialize(switchlist=nil, total=nil, requestid=nil) @SwitchList = switchlist @Total = total @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
5917 5918 5919 |
# File 'lib/v20190904/models.rb', line 5917 def RequestId @RequestId end |
#SwitchList ⇒ Object
5917 5918 5919 |
# File 'lib/v20190904/models.rb', line 5917 def SwitchList @SwitchList end |
#Total ⇒ Object
5917 5918 5919 |
# File 'lib/v20190904/models.rb', line 5917 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 |
# File 'lib/v20190904/models.rb', line 5925 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 |