Class: TencentCloud::Cfw::V20190904::DescNatDnatRule
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::DescNatDnatRule
- Defined in:
- lib/v20190904/models.rb
Overview
NAT防火墙Dnat规则列表
Instance Attribute Summary collapse
- #Description ⇒ Object
- #FwInsId ⇒ Object
- #Id ⇒ Object
- #IpProtocol ⇒ Object
- #IsReferenced ⇒ Object
- #NatGwId ⇒ Object
- #PrivateIpAddress ⇒ Object
- #PrivatePort ⇒ Object
- #PublicIpAddress ⇒ Object
- #PublicPort ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, ipprotocol = nil, publicipaddress = nil, publicport = nil, privateipaddress = nil, privateport = nil, description = nil, isreferenced = nil, fwinsid = nil, natgwid = nil) ⇒ DescNatDnatRule
constructor
A new instance of DescNatDnatRule.
Constructor Details
#initialize(id = nil, ipprotocol = nil, publicipaddress = nil, publicport = nil, privateipaddress = nil, privateport = nil, description = nil, isreferenced = nil, fwinsid = nil, natgwid = nil) ⇒ DescNatDnatRule
Returns a new instance of DescNatDnatRule.
2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 |
# File 'lib/v20190904/models.rb', line 2714 def initialize(id=nil, ipprotocol=nil, publicipaddress=nil, publicport=nil, privateipaddress=nil, privateport=nil, description=nil, isreferenced=nil, fwinsid=nil, natgwid=nil) @Id = id @IpProtocol = ipprotocol @PublicIpAddress = publicipaddress @PublicPort = publicport @PrivateIpAddress = privateipaddress @PrivatePort = privateport @Description = description @IsReferenced = isreferenced @FwInsId = fwinsid @NatGwId = natgwid end |
Instance Attribute Details
#Description ⇒ Object
2712 2713 2714 |
# File 'lib/v20190904/models.rb', line 2712 def Description @Description end |
#FwInsId ⇒ Object
2712 2713 2714 |
# File 'lib/v20190904/models.rb', line 2712 def FwInsId @FwInsId end |
#Id ⇒ Object
2712 2713 2714 |
# File 'lib/v20190904/models.rb', line 2712 def Id @Id end |
#IpProtocol ⇒ Object
2712 2713 2714 |
# File 'lib/v20190904/models.rb', line 2712 def IpProtocol @IpProtocol end |
#IsReferenced ⇒ Object
2712 2713 2714 |
# File 'lib/v20190904/models.rb', line 2712 def IsReferenced @IsReferenced end |
#NatGwId ⇒ Object
2712 2713 2714 |
# File 'lib/v20190904/models.rb', line 2712 def NatGwId @NatGwId end |
#PrivateIpAddress ⇒ Object
2712 2713 2714 |
# File 'lib/v20190904/models.rb', line 2712 def PrivateIpAddress @PrivateIpAddress end |
#PrivatePort ⇒ Object
2712 2713 2714 |
# File 'lib/v20190904/models.rb', line 2712 def PrivatePort @PrivatePort end |
#PublicIpAddress ⇒ Object
2712 2713 2714 |
# File 'lib/v20190904/models.rb', line 2712 def PublicIpAddress @PublicIpAddress end |
#PublicPort ⇒ Object
2712 2713 2714 |
# File 'lib/v20190904/models.rb', line 2712 def PublicPort @PublicPort end |
Instance Method Details
#deserialize(params) ⇒ Object
2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 |
# File 'lib/v20190904/models.rb', line 2727 def deserialize(params) @Id = params['Id'] @IpProtocol = params['IpProtocol'] @PublicIpAddress = params['PublicIpAddress'] @PublicPort = params['PublicPort'] @PrivateIpAddress = params['PrivateIpAddress'] @PrivatePort = params['PrivatePort'] @Description = params['Description'] @IsReferenced = params['IsReferenced'] @FwInsId = params['FwInsId'] @NatGwId = params['NatGwId'] end |