Class: TencentCloud::Cfw::V20190904::DescNatDnatRule

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190904/models.rb

Overview

NAT防火墙Dnat规则列表

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DescriptionObject



2513
2514
2515
# File 'lib/v20190904/models.rb', line 2513

def Description
  @Description
end

#FwInsIdObject



2513
2514
2515
# File 'lib/v20190904/models.rb', line 2513

def FwInsId
  @FwInsId
end

#IdObject



2513
2514
2515
# File 'lib/v20190904/models.rb', line 2513

def Id
  @Id
end

#IpProtocolObject



2513
2514
2515
# File 'lib/v20190904/models.rb', line 2513

def IpProtocol
  @IpProtocol
end

#IsReferencedObject



2513
2514
2515
# File 'lib/v20190904/models.rb', line 2513

def IsReferenced
  @IsReferenced
end

#NatGwIdObject



2513
2514
2515
# File 'lib/v20190904/models.rb', line 2513

def NatGwId
  @NatGwId
end

#PrivateIpAddressObject



2513
2514
2515
# File 'lib/v20190904/models.rb', line 2513

def PrivateIpAddress
  @PrivateIpAddress
end

#PrivatePortObject



2513
2514
2515
# File 'lib/v20190904/models.rb', line 2513

def PrivatePort
  @PrivatePort
end

#PublicIpAddressObject



2513
2514
2515
# File 'lib/v20190904/models.rb', line 2513

def PublicIpAddress
  @PublicIpAddress
end

#PublicPortObject



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