Class: TencentCloud::Cfw::V20190904::DescribeNatFwInstancesInfoResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::DescribeNatFwInstancesInfoResponse
- Defined in:
- lib/v20190904/models.rb
Overview
DescribeNatFwInstancesInfo返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(natinslst = nil, total = nil, requestid = nil) ⇒ DescribeNatFwInstancesInfoResponse
constructor
A new instance of DescribeNatFwInstancesInfoResponse.
Constructor Details
#initialize(natinslst = nil, total = nil, requestid = nil) ⇒ DescribeNatFwInstancesInfoResponse
Returns a new instance of DescribeNatFwInstancesInfoResponse.
4362 4363 4364 4365 4366 |
# File 'lib/v20190904/models.rb', line 4362 def initialize(natinslst=nil, total=nil, requestid=nil) @NatinsLst = natinslst @Total = total @RequestId = requestid end |
Instance Attribute Details
#NatinsLst ⇒ Object
4360 4361 4362 |
# File 'lib/v20190904/models.rb', line 4360 def NatinsLst @NatinsLst end |
#RequestId ⇒ Object
4360 4361 4362 |
# File 'lib/v20190904/models.rb', line 4360 def RequestId @RequestId end |
#Total ⇒ Object
4360 4361 4362 |
# File 'lib/v20190904/models.rb', line 4360 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 |
# File 'lib/v20190904/models.rb', line 4368 def deserialize(params) unless params['NatinsLst'].nil? @NatinsLst = [] params['NatinsLst'].each do |i| natinstanceinfo_tmp = NatInstanceInfo.new natinstanceinfo_tmp.deserialize(i) @NatinsLst << natinstanceinfo_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |