Class: TencentCloud::Ecm::V20190719::PublicIPAddressInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecm::V20190719::PublicIPAddressInfo
- Defined in:
- lib/v20190719/models.rb
Overview
实例的公网ip相关信息。
Instance Attribute Summary collapse
- #ChargeMode ⇒ Object
- #ISP ⇒ Object
- #MaxBandwidthIn ⇒ Object
- #MaxBandwidthOut ⇒ Object
- #PublicIPAddress ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(chargemode = nil, publicipaddress = nil, isp = nil, maxbandwidthout = nil, maxbandwidthin = nil) ⇒ PublicIPAddressInfo
constructor
A new instance of PublicIPAddressInfo.
Constructor Details
#initialize(chargemode = nil, publicipaddress = nil, isp = nil, maxbandwidthout = nil, maxbandwidthin = nil) ⇒ PublicIPAddressInfo
Returns a new instance of PublicIPAddressInfo.
9230 9231 9232 9233 9234 9235 9236 |
# File 'lib/v20190719/models.rb', line 9230 def initialize(chargemode=nil, publicipaddress=nil, isp=nil, maxbandwidthout=nil, maxbandwidthin=nil) @ChargeMode = chargemode @PublicIPAddress = publicipaddress @ISP = isp @MaxBandwidthOut = maxbandwidthout @MaxBandwidthIn = maxbandwidthin end |
Instance Attribute Details
#ChargeMode ⇒ Object
9228 9229 9230 |
# File 'lib/v20190719/models.rb', line 9228 def ChargeMode @ChargeMode end |
#ISP ⇒ Object
9228 9229 9230 |
# File 'lib/v20190719/models.rb', line 9228 def ISP @ISP end |
#MaxBandwidthIn ⇒ Object
9228 9229 9230 |
# File 'lib/v20190719/models.rb', line 9228 def MaxBandwidthIn @MaxBandwidthIn end |
#MaxBandwidthOut ⇒ Object
9228 9229 9230 |
# File 'lib/v20190719/models.rb', line 9228 def MaxBandwidthOut @MaxBandwidthOut end |
#PublicIPAddress ⇒ Object
9228 9229 9230 |
# File 'lib/v20190719/models.rb', line 9228 def PublicIPAddress @PublicIPAddress end |
Instance Method Details
#deserialize(params) ⇒ Object
9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 |
# File 'lib/v20190719/models.rb', line 9238 def deserialize(params) @ChargeMode = params['ChargeMode'] @PublicIPAddress = params['PublicIPAddress'] unless params['ISP'].nil? @ISP = ISP.new @ISP.deserialize(params['ISP']) end @MaxBandwidthOut = params['MaxBandwidthOut'] @MaxBandwidthIn = params['MaxBandwidthIn'] end |