class TencentCloud::Emr::V20190103::InquiryPriceUpdateInstanceResponse

InquiryPriceUpdateInstance返回参数结构体

def deserialize(params)

def deserialize(params)
  @OriginalCost = params['OriginalCost']
  @DiscountCost = params['DiscountCost']
  @TimeUnit = params['TimeUnit']
  @TimeSpan = params['TimeSpan']
  unless params['PriceDetail'].nil?
    @PriceDetail = []
    params['PriceDetail'].each do |i|
      pricedetail_tmp = PriceDetail.new
      pricedetail_tmp.deserialize(i)
      @PriceDetail << pricedetail_tmp
    end
  end
  unless params['NewConfigPrice'].nil?
    @NewConfigPrice = PriceResult.new
    @NewConfigPrice.deserialize(params['NewConfigPrice'])
  end
  @RequestId = params['RequestId']
end

def initialize(originalcost=nil, discountcost=nil, timeunit=nil, timespan=nil, pricedetail=nil, newconfigprice=nil, requestid=nil)

def initialize(originalcost=nil, discountcost=nil, timeunit=nil, timespan=nil, pricedetail=nil, newconfigprice=nil, requestid=nil)
  @OriginalCost = originalcost
  @DiscountCost = discountcost
  @TimeUnit = timeunit
  @TimeSpan = timespan
  @PriceDetail = pricedetail
  @NewConfigPrice = newconfigprice
  @RequestId = requestid
end