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.
4871 4872 4873 4874 4875 |
# File 'lib/v20190904/models.rb', line 4871 def initialize(natinslst=nil, total=nil, requestid=nil) @NatinsLst = natinslst @Total = total @RequestId = requestid end |
Instance Attribute Details
#NatinsLst ⇒ Object
4869 4870 4871 |
# File 'lib/v20190904/models.rb', line 4869 def NatinsLst @NatinsLst end |
#RequestId ⇒ Object
4869 4870 4871 |
# File 'lib/v20190904/models.rb', line 4869 def RequestId @RequestId end |
#Total ⇒ Object
4869 4870 4871 |
# File 'lib/v20190904/models.rb', line 4869 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 |
# File 'lib/v20190904/models.rb', line 4877 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 |