Class: TencentCloud::Cvm::V20170312::InquiryPriceRunInstancesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::InquiryPriceRunInstancesResponse
- Defined in:
- lib/v20170312/models.rb
Overview
InquiryPriceRunInstances返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(price = nil, requestid = nil) ⇒ InquiryPriceRunInstancesResponse
constructor
A new instance of InquiryPriceRunInstancesResponse.
Constructor Details
#initialize(price = nil, requestid = nil) ⇒ InquiryPriceRunInstancesResponse
Returns a new instance of InquiryPriceRunInstancesResponse.
5135 5136 5137 5138 |
# File 'lib/v20170312/models.rb', line 5135 def initialize(price=nil, requestid=nil) @Price = price @RequestId = requestid end |
Instance Attribute Details
#Price ⇒ Object
5133 5134 5135 |
# File 'lib/v20170312/models.rb', line 5133 def Price @Price end |
#RequestId ⇒ Object
5133 5134 5135 |
# File 'lib/v20170312/models.rb', line 5133 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
5140 5141 5142 5143 5144 5145 5146 |
# File 'lib/v20170312/models.rb', line 5140 def deserialize(params) unless params['Price'].nil? @Price = Price.new @Price.deserialize(params['Price']) end @RequestId = params['RequestId'] end |