class TencentCloud::Emr::V20190103::InquiryPriceScaleOutInstanceResponse
InquiryPriceScaleOutInstance返回参数结构体
def deserialize(params)
def deserialize(params) @OriginalCost = params['OriginalCost'] @DiscountCost = params['DiscountCost'] @Unit = params['Unit'] unless params['PriceSpec'].nil? @PriceSpec = PriceResource.new @PriceSpec.deserialize(params['PriceSpec']) end unless params['MultipleEmrPrice'].nil? @MultipleEmrPrice = [] params['MultipleEmrPrice'].each do |i| emrprice_tmp = EmrPrice.new emrprice_tmp.deserialize(i) @MultipleEmrPrice << emrprice_tmp end end @RequestId = params['RequestId'] end
def initialize(originalcost=nil, discountcost=nil, unit=nil, pricespec=nil, multipleemrprice=nil, requestid=nil)
def initialize(originalcost=nil, discountcost=nil, unit=nil, pricespec=nil, multipleemrprice=nil, requestid=nil) @OriginalCost = originalcost @DiscountCost = discountcost @Unit = unit @PriceSpec = pricespec @MultipleEmrPrice = multipleemrprice @RequestId = requestid end