Class: TencentCloud::Cvm::V20170312::Price
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::Price
- Defined in:
- lib/v20170312/models.rb
Overview
价格
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceprice = nil, bandwidthprice = nil) ⇒ Price
constructor
A new instance of Price.
Constructor Details
#initialize(instanceprice = nil, bandwidthprice = nil) ⇒ Price
Returns a new instance of Price.
7175 7176 7177 7178 |
# File 'lib/v20170312/models.rb', line 7175 def initialize(instanceprice=nil, bandwidthprice=nil) @InstancePrice = instanceprice @BandwidthPrice = bandwidthprice end |
Instance Attribute Details
#BandwidthPrice ⇒ Object
7173 7174 7175 |
# File 'lib/v20170312/models.rb', line 7173 def BandwidthPrice @BandwidthPrice end |
#InstancePrice ⇒ Object
7173 7174 7175 |
# File 'lib/v20170312/models.rb', line 7173 def InstancePrice @InstancePrice end |
Instance Method Details
#deserialize(params) ⇒ Object
7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 |
# File 'lib/v20170312/models.rb', line 7180 def deserialize(params) unless params['InstancePrice'].nil? @InstancePrice = ItemPrice.new @InstancePrice.deserialize(params['InstancePrice']) end unless params['BandwidthPrice'].nil? @BandwidthPrice = ItemPrice.new @BandwidthPrice.deserialize(params['BandwidthPrice']) end end |