Class: TencentCloud::Cfw::V20190904::DescribeNatFwVpcDnsLstResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::DescribeNatFwVpcDnsLstResponse
- Defined in:
- lib/v20190904/models.rb
Overview
DescribeNatFwVpcDnsLst返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(vpcdnsswitchlst = nil, returnmsg = nil, total = nil, requestid = nil) ⇒ DescribeNatFwVpcDnsLstResponse
constructor
A new instance of DescribeNatFwVpcDnsLstResponse.
Constructor Details
#initialize(vpcdnsswitchlst = nil, returnmsg = nil, total = nil, requestid = nil) ⇒ DescribeNatFwVpcDnsLstResponse
Returns a new instance of DescribeNatFwVpcDnsLstResponse.
4374 4375 4376 4377 4378 4379 |
# File 'lib/v20190904/models.rb', line 4374 def initialize(vpcdnsswitchlst=nil, returnmsg=nil, total=nil, requestid=nil) @VpcDnsSwitchLst = vpcdnsswitchlst @ReturnMsg = returnmsg @Total = total @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
4372 4373 4374 |
# File 'lib/v20190904/models.rb', line 4372 def RequestId @RequestId end |
#ReturnMsg ⇒ Object
4372 4373 4374 |
# File 'lib/v20190904/models.rb', line 4372 def ReturnMsg @ReturnMsg end |
#Total ⇒ Object
4372 4373 4374 |
# File 'lib/v20190904/models.rb', line 4372 def Total @Total end |
#VpcDnsSwitchLst ⇒ Object
4372 4373 4374 |
# File 'lib/v20190904/models.rb', line 4372 def VpcDnsSwitchLst @VpcDnsSwitchLst end |
Instance Method Details
#deserialize(params) ⇒ Object
4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 |
# File 'lib/v20190904/models.rb', line 4381 def deserialize(params) unless params['VpcDnsSwitchLst'].nil? @VpcDnsSwitchLst = [] params['VpcDnsSwitchLst'].each do |i| vpcdnsinfo_tmp = VpcDnsInfo.new vpcdnsinfo_tmp.deserialize(i) @VpcDnsSwitchLst << vpcdnsinfo_tmp end end @ReturnMsg = params['ReturnMsg'] @Total = params['Total'] @RequestId = params['RequestId'] end |