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.
1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 |
# File 'lib/v20190904/models.rb', line 1336 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
1334 1335 1336 |
# File 'lib/v20190904/models.rb', line 1334 def CrossAZone @CrossAZone end |
#FwCidrInfo ⇒ Object
1334 1335 1336 |
# File 'lib/v20190904/models.rb', line 1334 def FwCidrInfo @FwCidrInfo end |
#Mode ⇒ Object
1334 1335 1336 |
# File 'lib/v20190904/models.rb', line 1334 def Mode @Mode end |
#Name ⇒ Object
1334 1335 1336 |
# File 'lib/v20190904/models.rb', line 1334 def Name @Name end |
#NatGwList ⇒ Object
1334 1335 1336 |
# File 'lib/v20190904/models.rb', line 1334 def NatGwList @NatGwList end |
#NewModeItems ⇒ Object
1334 1335 1336 |
# File 'lib/v20190904/models.rb', line 1334 def NewModeItems @NewModeItems end |
#Width ⇒ Object
1334 1335 1336 |
# File 'lib/v20190904/models.rb', line 1334 def Width @Width end |
#Zone ⇒ Object
1334 1335 1336 |
# File 'lib/v20190904/models.rb', line 1334 def Zone @Zone end |
#ZoneBak ⇒ Object
1334 1335 1336 |
# File 'lib/v20190904/models.rb', line 1334 def ZoneBak @ZoneBak end |
Instance Method Details
#deserialize(params) ⇒ Object
1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 |
# File 'lib/v20190904/models.rb', line 1348 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 |