Class: TencentCloud::Cfw::V20190904::CreateNatFwInstanceRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::CreateNatFwInstanceRequest
- Defined in:
- lib/v20190904/models.rb
Overview
CreateNatFwInstance请求参数结构体
Instance Attribute Summary collapse
- #CrossAZone ⇒ Object
- #FwCidrInfo ⇒ Object
- #Mode ⇒ Object
- #Name ⇒ Object
- #NatGwList ⇒ Object
- #NewModeItems ⇒ Object
- #Width ⇒ Object
- #Zone ⇒ Object
- #ZoneBak ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, width = nil, mode = nil, newmodeitems = nil, natgwlist = nil, zone = nil, zonebak = nil, crossazone = nil, fwcidrinfo = nil) ⇒ CreateNatFwInstanceRequest
constructor
A new instance of CreateNatFwInstanceRequest.
Constructor Details
#initialize(name = nil, width = nil, mode = nil, newmodeitems = nil, natgwlist = nil, zone = nil, zonebak = nil, crossazone = nil, fwcidrinfo = nil) ⇒ CreateNatFwInstanceRequest
Returns a new instance of CreateNatFwInstanceRequest.
1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 |
# File 'lib/v20190904/models.rb', line 1385 def initialize(name=nil, width=nil, mode=nil, newmodeitems=nil, natgwlist=nil, zone=nil, zonebak=nil, crossazone=nil, fwcidrinfo=nil) @Name = name @Width = width @Mode = mode @NewModeItems = newmodeitems @NatGwList = natgwlist @Zone = zone @ZoneBak = zonebak @CrossAZone = crossazone @FwCidrInfo = fwcidrinfo end |
Instance Attribute Details
#CrossAZone ⇒ Object
1383 1384 1385 |
# File 'lib/v20190904/models.rb', line 1383 def CrossAZone @CrossAZone end |
#FwCidrInfo ⇒ Object
1383 1384 1385 |
# File 'lib/v20190904/models.rb', line 1383 def FwCidrInfo @FwCidrInfo end |
#Mode ⇒ Object
1383 1384 1385 |
# File 'lib/v20190904/models.rb', line 1383 def Mode @Mode end |
#Name ⇒ Object
1383 1384 1385 |
# File 'lib/v20190904/models.rb', line 1383 def Name @Name end |
#NatGwList ⇒ Object
1383 1384 1385 |
# File 'lib/v20190904/models.rb', line 1383 def NatGwList @NatGwList end |
#NewModeItems ⇒ Object
1383 1384 1385 |
# File 'lib/v20190904/models.rb', line 1383 def NewModeItems @NewModeItems end |
#Width ⇒ Object
1383 1384 1385 |
# File 'lib/v20190904/models.rb', line 1383 def Width @Width end |
#Zone ⇒ Object
1383 1384 1385 |
# File 'lib/v20190904/models.rb', line 1383 def Zone @Zone end |
#ZoneBak ⇒ Object
1383 1384 1385 |
# File 'lib/v20190904/models.rb', line 1383 def ZoneBak @ZoneBak end |
Instance Method Details
#deserialize(params) ⇒ Object
1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 |
# File 'lib/v20190904/models.rb', line 1397 def deserialize(params) @Name = params['Name'] @Width = params['Width'] @Mode = params['Mode'] unless params['NewModeItems'].nil? @NewModeItems = NewModeItems.new @NewModeItems.deserialize(params['NewModeItems']) end @NatGwList = params['NatGwList'] @Zone = params['Zone'] @ZoneBak = params['ZoneBak'] @CrossAZone = params['CrossAZone'] unless params['FwCidrInfo'].nil? @FwCidrInfo = FwCidrInfo.new @FwCidrInfo.deserialize(params['FwCidrInfo']) end end |