Class: TencentCloud::Cvm::V20170312::InquiryPriceTerminateInstancesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::InquiryPriceTerminateInstancesResponse
- Defined in:
- lib/v20170312/models.rb
Overview
InquiryPriceTerminateInstances返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instancerefundsset = nil, requestid = nil) ⇒ InquiryPriceTerminateInstancesResponse
constructor
A new instance of InquiryPriceTerminateInstancesResponse.
Constructor Details
#initialize(instancerefundsset = nil, requestid = nil) ⇒ InquiryPriceTerminateInstancesResponse
Returns a new instance of InquiryPriceTerminateInstancesResponse.
5003 5004 5005 5006 |
# File 'lib/v20170312/models.rb', line 5003 def initialize(instancerefundsset=nil, requestid=nil) @InstanceRefundsSet = instancerefundsset @RequestId = requestid end |
Instance Attribute Details
#InstanceRefundsSet ⇒ Object
5001 5002 5003 |
# File 'lib/v20170312/models.rb', line 5001 def InstanceRefundsSet @InstanceRefundsSet end |
#RequestId ⇒ Object
5001 5002 5003 |
# File 'lib/v20170312/models.rb', line 5001 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 |
# File 'lib/v20170312/models.rb', line 5008 def deserialize(params) unless params['InstanceRefundsSet'].nil? @InstanceRefundsSet = [] params['InstanceRefundsSet'].each do |i| instancerefund_tmp = InstanceRefund.new instancerefund_tmp.deserialize(i) @InstanceRefundsSet << instancerefund_tmp end end @RequestId = params['RequestId'] end |