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.
1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 |
# File 'lib/v20190904/models.rb', line 1710 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
1708 1709 1710 |
# File 'lib/v20190904/models.rb', line 1708 def CrossAZone @CrossAZone end |
#Domain ⇒ Object
1708 1709 1710 |
# File 'lib/v20190904/models.rb', line 1708 def Domain @Domain end |
#FwCidrInfo ⇒ Object
1708 1709 1710 |
# File 'lib/v20190904/models.rb', line 1708 def FwCidrInfo @FwCidrInfo end |
#IsCreateDomain ⇒ Object
1708 1709 1710 |
# File 'lib/v20190904/models.rb', line 1708 def IsCreateDomain @IsCreateDomain end |
#Mode ⇒ Object
1708 1709 1710 |
# File 'lib/v20190904/models.rb', line 1708 def Mode @Mode end |
#Name ⇒ Object
1708 1709 1710 |
# File 'lib/v20190904/models.rb', line 1708 def Name @Name end |
#NatGwList ⇒ Object
1708 1709 1710 |
# File 'lib/v20190904/models.rb', line 1708 def NatGwList @NatGwList end |
#NewModeItems ⇒ Object
1708 1709 1710 |
# File 'lib/v20190904/models.rb', line 1708 def NewModeItems @NewModeItems end |
#Width ⇒ Object
1708 1709 1710 |
# File 'lib/v20190904/models.rb', line 1708 def Width @Width end |
#Zone ⇒ Object
1708 1709 1710 |
# File 'lib/v20190904/models.rb', line 1708 def Zone @Zone end |
#ZoneBak ⇒ Object
1708 1709 1710 |
# File 'lib/v20190904/models.rb', line 1708 def ZoneBak @ZoneBak end |
Instance Method Details
#deserialize(params) ⇒ Object
1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 |
# File 'lib/v20190904/models.rb', line 1724 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 |