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.
8026 8027 8028 8029 8030 8031 8032 8033 |
# File 'lib/v20190904/models.rb', line 8026 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
8024 8025 8026 |
# File 'lib/v20190904/models.rb', line 8024 def FwMode @FwMode end |
#NatinsId ⇒ Object
8024 8025 8026 |
# File 'lib/v20190904/models.rb', line 8024 def NatinsId @NatinsId end |
#NatinsName ⇒ Object
8024 8025 8026 |
# File 'lib/v20190904/models.rb', line 8024 def NatinsName @NatinsName end |
#NatIp ⇒ Object
8024 8025 8026 |
# File 'lib/v20190904/models.rb', line 8024 def NatIp @NatIp end |
#Region ⇒ Object
8024 8025 8026 |
# File 'lib/v20190904/models.rb', line 8024 def Region @Region end |
#Status ⇒ Object
8024 8025 8026 |
# File 'lib/v20190904/models.rb', line 8024 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
8035 8036 8037 8038 8039 8040 8041 8042 |
# File 'lib/v20190904/models.rb', line 8035 def deserialize(params) @NatinsId = params['NatinsId'] @NatinsName = params['NatinsName'] @Region = params['Region'] @FwMode = params['FwMode'] @Status = params['Status'] @NatIp = params['NatIp'] end |