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.
1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 |
# File 'lib/v20190904/models.rb', line 1632 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
1630 1631 1632 |
# File 'lib/v20190904/models.rb', line 1630 def CrossAZone @CrossAZone end |
#FwCidrInfo ⇒ Object
1630 1631 1632 |
# File 'lib/v20190904/models.rb', line 1630 def FwCidrInfo @FwCidrInfo end |
#Mode ⇒ Object
1630 1631 1632 |
# File 'lib/v20190904/models.rb', line 1630 def Mode @Mode end |
#Name ⇒ Object
1630 1631 1632 |
# File 'lib/v20190904/models.rb', line 1630 def Name @Name end |
#NatGwList ⇒ Object
1630 1631 1632 |
# File 'lib/v20190904/models.rb', line 1630 def NatGwList @NatGwList end |
#NewModeItems ⇒ Object
1630 1631 1632 |
# File 'lib/v20190904/models.rb', line 1630 def NewModeItems @NewModeItems end |
#Width ⇒ Object
1630 1631 1632 |
# File 'lib/v20190904/models.rb', line 1630 def Width @Width end |
#Zone ⇒ Object
1630 1631 1632 |
# File 'lib/v20190904/models.rb', line 1630 def Zone @Zone end |
#ZoneBak ⇒ Object
1630 1631 1632 |
# File 'lib/v20190904/models.rb', line 1630 def ZoneBak @ZoneBak end |
Instance Method Details
#deserialize(params) ⇒ Object
1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 |
# File 'lib/v20190904/models.rb', line 1644 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 |