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.
4553 4554 4555 4556 4557 4558 |
# File 'lib/v20190904/models.rb', line 4553 def initialize(vpcdnsswitchlst=nil, returnmsg=nil, total=nil, requestid=nil) @VpcDnsSwitchLst = vpcdnsswitchlst @ReturnMsg = returnmsg @Total = total @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
4551 4552 4553 |
# File 'lib/v20190904/models.rb', line 4551 def RequestId @RequestId end |
#ReturnMsg ⇒ Object
4551 4552 4553 |
# File 'lib/v20190904/models.rb', line 4551 def ReturnMsg @ReturnMsg end |
#Total ⇒ Object
4551 4552 4553 |
# File 'lib/v20190904/models.rb', line 4551 def Total @Total end |
#VpcDnsSwitchLst ⇒ Object
4551 4552 4553 |
# File 'lib/v20190904/models.rb', line 4551 def VpcDnsSwitchLst @VpcDnsSwitchLst end |
Instance Method Details
#deserialize(params) ⇒ Object
4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 |
# File 'lib/v20190904/models.rb', line 4560 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 |