Class: TencentCloud::Clb::V20180317::SnatIp
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::SnatIp
- Defined in:
- lib/v20180317/models.rb
Overview
SnatIp的信息结构
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(subnetid = nil, ip = nil) ⇒ SnatIp
constructor
A new instance of SnatIp.
Constructor Details
#initialize(subnetid = nil, ip = nil) ⇒ SnatIp
Returns a new instance of SnatIp.
8212 8213 8214 8215 |
# File 'lib/v20180317/models.rb', line 8212 def initialize(subnetid=nil, ip=nil) @SubnetId = subnetid @Ip = ip end |
Instance Attribute Details
#Ip ⇒ Object
8210 8211 8212 |
# File 'lib/v20180317/models.rb', line 8210 def Ip @Ip end |
#SubnetId ⇒ Object
8210 8211 8212 |
# File 'lib/v20180317/models.rb', line 8210 def SubnetId @SubnetId end |
Instance Method Details
#deserialize(params) ⇒ Object
8217 8218 8219 8220 |
# File 'lib/v20180317/models.rb', line 8217 def deserialize(params) @SubnetId = params['SubnetId'] @Ip = params['Ip'] end |