Class: TencentCloud::Cvm::V20170312::InstanceRefund

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170312/models.rb

Overview

描述退款详情。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, refunds = nil, pricedetail = nil) ⇒ InstanceRefund

Returns a new instance of InstanceRefund.



5519
5520
5521
5522
5523
# File 'lib/v20170312/models.rb', line 5519

def initialize(instanceid=nil, refunds=nil, pricedetail=nil)
  @InstanceId = instanceid
  @Refunds = refunds
  @PriceDetail = pricedetail
end

Instance Attribute Details

#InstanceIdObject

Parameters:

  • InstanceId:

    实例Id。

  • Refunds:

    退款数额。

  • PriceDetail:

    退款详情。



5517
5518
5519
# File 'lib/v20170312/models.rb', line 5517

def InstanceId
  @InstanceId
end

#PriceDetailObject

Parameters:

  • InstanceId:

    实例Id。

  • Refunds:

    退款数额。

  • PriceDetail:

    退款详情。



5517
5518
5519
# File 'lib/v20170312/models.rb', line 5517

def PriceDetail
  @PriceDetail
end

#RefundsObject

Parameters:

  • InstanceId:

    实例Id。

  • Refunds:

    退款数额。

  • PriceDetail:

    退款详情。



5517
5518
5519
# File 'lib/v20170312/models.rb', line 5517

def Refunds
  @Refunds
end

Instance Method Details

#deserialize(params) ⇒ Object



5525
5526
5527
5528
5529
# File 'lib/v20170312/models.rb', line 5525

def deserialize(params)
  @InstanceId = params['InstanceId']
  @Refunds = params['Refunds']
  @PriceDetail = params['PriceDetail']
end