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.
5062 5063 5064 5065 5066 5067 |
# File 'lib/v20190904/models.rb', line 5062 def initialize(vpcdnsswitchlst=nil, returnmsg=nil, total=nil, requestid=nil) @VpcDnsSwitchLst = vpcdnsswitchlst @ReturnMsg = returnmsg @Total = total @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
5060 5061 5062 |
# File 'lib/v20190904/models.rb', line 5060 def RequestId @RequestId end |
#ReturnMsg ⇒ Object
5060 5061 5062 |
# File 'lib/v20190904/models.rb', line 5060 def ReturnMsg @ReturnMsg end |
#Total ⇒ Object
5060 5061 5062 |
# File 'lib/v20190904/models.rb', line 5060 def Total @Total end |
#VpcDnsSwitchLst ⇒ Object
5060 5061 5062 |
# File 'lib/v20190904/models.rb', line 5060 def VpcDnsSwitchLst @VpcDnsSwitchLst end |
Instance Method Details
#deserialize(params) ⇒ Object
5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 |
# File 'lib/v20190904/models.rb', line 5069 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 |