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.
5174 5175 5176 5177 |
# File 'lib/v20170312/models.rb', line 5174 def initialize(instancerefundsset=nil, requestid=nil) @InstanceRefundsSet = instancerefundsset @RequestId = requestid end |
Instance Attribute Details
#InstanceRefundsSet ⇒ Object
5172 5173 5174 |
# File 'lib/v20170312/models.rb', line 5172 def InstanceRefundsSet @InstanceRefundsSet end |
#RequestId ⇒ Object
5172 5173 5174 |
# File 'lib/v20170312/models.rb', line 5172 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 |
# File 'lib/v20170312/models.rb', line 5179 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 |