Class: TencentCloud::Clb::V20180317::SnatIp

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180317/models.rb

Overview

SnatIp的信息结构

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#IpObject

Parameters:

  • SubnetId:

    私有网络子网的唯一性id,如subnet-12345678

  • Ip:

    IP地址,如192.168.0.1



8210
8211
8212
# File 'lib/v20180317/models.rb', line 8210

def Ip
  @Ip
end

#SubnetIdObject

Parameters:

  • SubnetId:

    私有网络子网的唯一性id,如subnet-12345678

  • Ip:

    IP地址,如192.168.0.1



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