Class: TencentCloud::Cvm::V20170312::InquiryPriceRenewHostsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::InquiryPriceRenewHostsResponse
- Defined in:
- lib/v20170312/models.rb
Overview
InquiryPriceRenewHosts返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(price = nil, requestid = nil) ⇒ InquiryPriceRenewHostsResponse
constructor
A new instance of InquiryPriceRenewHostsResponse.
Constructor Details
#initialize(price = nil, requestid = nil) ⇒ InquiryPriceRenewHostsResponse
Returns a new instance of InquiryPriceRenewHostsResponse.
4536 4537 4538 4539 |
# File 'lib/v20170312/models.rb', line 4536 def initialize(price=nil, requestid=nil) @Price = price @RequestId = requestid end |
Instance Attribute Details
#Price ⇒ Object
4534 4535 4536 |
# File 'lib/v20170312/models.rb', line 4534 def Price @Price end |
#RequestId ⇒ Object
4534 4535 4536 |
# File 'lib/v20170312/models.rb', line 4534 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
4541 4542 4543 4544 4545 4546 4547 |
# File 'lib/v20170312/models.rb', line 4541 def deserialize(params) unless params['Price'].nil? @Price = HostPriceInfo.new @Price.deserialize(params['Price']) end @RequestId = params['RequestId'] end |