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.
8330 8331 8332 8333 |
# File 'lib/v20180317/models.rb', line 8330 def initialize(subnetid=nil, ip=nil) @SubnetId = subnetid @Ip = ip end |
Instance Attribute Details
#Ip ⇒ Object
8328 8329 8330 |
# File 'lib/v20180317/models.rb', line 8328 def Ip @Ip end |
#SubnetId ⇒ Object
8328 8329 8330 |
# File 'lib/v20180317/models.rb', line 8328 def SubnetId @SubnetId end |
Instance Method Details
#deserialize(params) ⇒ Object
8335 8336 8337 8338 |
# File 'lib/v20180317/models.rb', line 8335 def deserialize(params) @SubnetId = params['SubnetId'] @Ip = params['Ip'] end |