Class: TencentCloud::Cvm::V20170312::InquirePricePurchaseReservedInstancesOfferingResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::InquirePricePurchaseReservedInstancesOfferingResponse
- Defined in:
- lib/v20170312/models.rb
Overview
InquirePricePurchaseReservedInstancesOffering返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(price = nil, requestid = nil) ⇒ InquirePricePurchaseReservedInstancesOfferingResponse
constructor
A new instance of InquirePricePurchaseReservedInstancesOfferingResponse.
Constructor Details
#initialize(price = nil, requestid = nil) ⇒ InquirePricePurchaseReservedInstancesOfferingResponse
Returns a new instance of InquirePricePurchaseReservedInstancesOfferingResponse.
4432 4433 4434 4435 |
# File 'lib/v20170312/models.rb', line 4432 def initialize(price=nil, requestid=nil) @Price = price @RequestId = requestid end |
Instance Attribute Details
#Price ⇒ Object
4430 4431 4432 |
# File 'lib/v20170312/models.rb', line 4430 def Price @Price end |
#RequestId ⇒ Object
4430 4431 4432 |
# File 'lib/v20170312/models.rb', line 4430 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
4437 4438 4439 4440 4441 4442 4443 |
# File 'lib/v20170312/models.rb', line 4437 def deserialize(params) unless params['Price'].nil? @Price = ReservedInstancePrice.new @Price.deserialize(params['Price']) end @RequestId = params['RequestId'] end |