Class: TencentCloud::Cfw::V20190904::NatFwInstance
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::NatFwInstance
- Defined in:
- lib/v20190904/models.rb
Overview
Nat实例类型
Instance Attribute Summary collapse
- #FwMode ⇒ Object
- #NatinsId ⇒ Object
- #NatinsName ⇒ Object
- #NatIp ⇒ Object
- #Region ⇒ Object
- #Status ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(natinsid = nil, natinsname = nil, region = nil, fwmode = nil, status = nil, natip = nil) ⇒ NatFwInstance
constructor
A new instance of NatFwInstance.
Constructor Details
#initialize(natinsid = nil, natinsname = nil, region = nil, fwmode = nil, status = nil, natip = nil) ⇒ NatFwInstance
Returns a new instance of NatFwInstance.
7847 7848 7849 7850 7851 7852 7853 7854 |
# File 'lib/v20190904/models.rb', line 7847 def initialize(natinsid=nil, natinsname=nil, region=nil, fwmode=nil, status=nil, natip=nil) @NatinsId = natinsid @NatinsName = natinsname @Region = region @FwMode = fwmode @Status = status @NatIp = natip end |
Instance Attribute Details
#FwMode ⇒ Object
7845 7846 7847 |
# File 'lib/v20190904/models.rb', line 7845 def FwMode @FwMode end |
#NatinsId ⇒ Object
7845 7846 7847 |
# File 'lib/v20190904/models.rb', line 7845 def NatinsId @NatinsId end |
#NatinsName ⇒ Object
7845 7846 7847 |
# File 'lib/v20190904/models.rb', line 7845 def NatinsName @NatinsName end |
#NatIp ⇒ Object
7845 7846 7847 |
# File 'lib/v20190904/models.rb', line 7845 def NatIp @NatIp end |
#Region ⇒ Object
7845 7846 7847 |
# File 'lib/v20190904/models.rb', line 7845 def Region @Region end |
#Status ⇒ Object
7845 7846 7847 |
# File 'lib/v20190904/models.rb', line 7845 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
7856 7857 7858 7859 7860 7861 7862 7863 |
# File 'lib/v20190904/models.rb', line 7856 def deserialize(params) @NatinsId = params['NatinsId'] @NatinsName = params['NatinsName'] @Region = params['Region'] @FwMode = params['FwMode'] @Status = params['Status'] @NatIp = params['NatIp'] end |