Class: TencentCloud::Cfw::V20190904::CreateNatFwInstanceWithDomainRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::CreateNatFwInstanceWithDomainRequest
- Defined in:
- lib/v20190904/models.rb
Overview
CreateNatFwInstanceWithDomain请求参数结构体
Instance Attribute Summary collapse
- #CrossAZone ⇒ Object
- #Domain ⇒ Object
- #FwCidrInfo ⇒ Object
- #IsCreateDomain ⇒ 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, iscreatedomain = nil, domain = nil, fwcidrinfo = nil) ⇒ CreateNatFwInstanceWithDomainRequest
constructor
A new instance of CreateNatFwInstanceWithDomainRequest.
Constructor Details
#initialize(name = nil, width = nil, mode = nil, newmodeitems = nil, natgwlist = nil, zone = nil, zonebak = nil, crossazone = nil, iscreatedomain = nil, domain = nil, fwcidrinfo = nil) ⇒ CreateNatFwInstanceWithDomainRequest
Returns a new instance of CreateNatFwInstanceWithDomainRequest.
1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 |
# File 'lib/v20190904/models.rb', line 1463 def initialize(name=nil, width=nil, mode=nil, newmodeitems=nil, natgwlist=nil, zone=nil, zonebak=nil, crossazone=nil, iscreatedomain=nil, domain=nil, fwcidrinfo=nil) @Name = name @Width = width @Mode = mode @NewModeItems = newmodeitems @NatGwList = natgwlist @Zone = zone @ZoneBak = zonebak @CrossAZone = crossazone @IsCreateDomain = iscreatedomain @Domain = domain @FwCidrInfo = fwcidrinfo end |
Instance Attribute Details
#CrossAZone ⇒ Object
1461 1462 1463 |
# File 'lib/v20190904/models.rb', line 1461 def CrossAZone @CrossAZone end |
#Domain ⇒ Object
1461 1462 1463 |
# File 'lib/v20190904/models.rb', line 1461 def Domain @Domain end |
#FwCidrInfo ⇒ Object
1461 1462 1463 |
# File 'lib/v20190904/models.rb', line 1461 def FwCidrInfo @FwCidrInfo end |
#IsCreateDomain ⇒ Object
1461 1462 1463 |
# File 'lib/v20190904/models.rb', line 1461 def IsCreateDomain @IsCreateDomain end |
#Mode ⇒ Object
1461 1462 1463 |
# File 'lib/v20190904/models.rb', line 1461 def Mode @Mode end |
#Name ⇒ Object
1461 1462 1463 |
# File 'lib/v20190904/models.rb', line 1461 def Name @Name end |
#NatGwList ⇒ Object
1461 1462 1463 |
# File 'lib/v20190904/models.rb', line 1461 def NatGwList @NatGwList end |
#NewModeItems ⇒ Object
1461 1462 1463 |
# File 'lib/v20190904/models.rb', line 1461 def NewModeItems @NewModeItems end |
#Width ⇒ Object
1461 1462 1463 |
# File 'lib/v20190904/models.rb', line 1461 def Width @Width end |
#Zone ⇒ Object
1461 1462 1463 |
# File 'lib/v20190904/models.rb', line 1461 def Zone @Zone end |
#ZoneBak ⇒ Object
1461 1462 1463 |
# File 'lib/v20190904/models.rb', line 1461 def ZoneBak @ZoneBak end |
Instance Method Details
#deserialize(params) ⇒ Object
1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 |
# File 'lib/v20190904/models.rb', line 1477 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'] @IsCreateDomain = params['IsCreateDomain'] @Domain = params['Domain'] unless params['FwCidrInfo'].nil? @FwCidrInfo = FwCidrInfo.new @FwCidrInfo.deserialize(params['FwCidrInfo']) end end |