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
2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 |
# File 'lib/v20190904/models.rb', line 2515 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
2513 2514 2515 |
# File 'lib/v20190904/models.rb', line 2513 def Description @Description end |
#FwInsId ⇒ Object
2513 2514 2515 |
# File 'lib/v20190904/models.rb', line 2513 def FwInsId @FwInsId end |
#Id ⇒ Object
2513 2514 2515 |
# File 'lib/v20190904/models.rb', line 2513 def Id @Id end |
#IpProtocol ⇒ Object
2513 2514 2515 |
# File 'lib/v20190904/models.rb', line 2513 def IpProtocol @IpProtocol end |
#IsReferenced ⇒ Object
2513 2514 2515 |
# File 'lib/v20190904/models.rb', line 2513 def IsReferenced @IsReferenced end |
#NatGwId ⇒ Object
2513 2514 2515 |
# File 'lib/v20190904/models.rb', line 2513 def NatGwId @NatGwId end |
#PrivateIpAddress ⇒ Object
2513 2514 2515 |
# File 'lib/v20190904/models.rb', line 2513 def PrivateIpAddress @PrivateIpAddress end |
#PrivatePort ⇒ Object
2513 2514 2515 |
# File 'lib/v20190904/models.rb', line 2513 def PrivatePort @PrivatePort end |
#PublicIpAddress ⇒ Object
2513 2514 2515 |
# File 'lib/v20190904/models.rb', line 2513 def PublicIpAddress @PublicIpAddress end |
#PublicPort ⇒ Object
2513 2514 2515 |
# File 'lib/v20190904/models.rb', line 2513 def PublicPort @PublicPort end |
Instance Method Details
#deserialize(params) ⇒ Object
2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 |
# File 'lib/v20190904/models.rb', line 2528 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 |