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.
4674 4675 4676 4677 |
# File 'lib/v20170312/models.rb', line 4674 def initialize(price=nil, requestid=nil) @Price = price @RequestId = requestid end |
Instance Attribute Details
#Price ⇒ Object
4672 4673 4674 |
# File 'lib/v20170312/models.rb', line 4672 def Price @Price end |
#RequestId ⇒ Object
4672 4673 4674 |
# File 'lib/v20170312/models.rb', line 4672 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
4679 4680 4681 4682 4683 4684 4685 |
# File 'lib/v20170312/models.rb', line 4679 def deserialize(params) unless params['Price'].nil? @Price = HostPriceInfo.new @Price.deserialize(params['Price']) end @RequestId = params['RequestId'] end |