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.
6914 6915 6916 6917 |
# File 'lib/v20170312/models.rb', line 6914 def initialize(instanceprice=nil, bandwidthprice=nil) @InstancePrice = instanceprice @BandwidthPrice = bandwidthprice end |
Instance Attribute Details
#BandwidthPrice ⇒ Object
6912 6913 6914 |
# File 'lib/v20170312/models.rb', line 6912 def BandwidthPrice @BandwidthPrice end |
#InstancePrice ⇒ Object
6912 6913 6914 |
# File 'lib/v20170312/models.rb', line 6912 def InstancePrice @InstancePrice end |
Instance Method Details
#deserialize(params) ⇒ Object
6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 |
# File 'lib/v20170312/models.rb', line 6919 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 |