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.
4313 4314 4315 4316 4317 |
# File 'lib/v20190904/models.rb', line 4313 def initialize(natinslst=nil, total=nil, requestid=nil) @NatinsLst = natinslst @Total = total @RequestId = requestid end |
Instance Attribute Details
#NatinsLst ⇒ Object
4311 4312 4313 |
# File 'lib/v20190904/models.rb', line 4311 def NatinsLst @NatinsLst end |
#RequestId ⇒ Object
4311 4312 4313 |
# File 'lib/v20190904/models.rb', line 4311 def RequestId @RequestId end |
#Total ⇒ Object
4311 4312 4313 |
# File 'lib/v20190904/models.rb', line 4311 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 |
# File 'lib/v20190904/models.rb', line 4319 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 |