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.



5326
5327
5328
5329
5330
# File 'lib/v20170312/models.rb', line 5326

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

Instance Attribute Details

#InstanceIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InstanceId:

    实例Id。

  • Refunds:

    退款数额。

  • PriceDetail:

    退款详情。



5324
5325
5326
# File 'lib/v20170312/models.rb', line 5324

def InstanceId
  @InstanceId
end

#PriceDetailObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InstanceId:

    实例Id。

  • Refunds:

    退款数额。

  • PriceDetail:

    退款详情。



5324
5325
5326
# File 'lib/v20170312/models.rb', line 5324

def PriceDetail
  @PriceDetail
end

#RefundsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InstanceId:

    实例Id。

  • Refunds:

    退款数额。

  • PriceDetail:

    退款详情。



5324
5325
5326
# File 'lib/v20170312/models.rb', line 5324

def Refunds
  @Refunds
end

Instance Method Details

#deserialize(params) ⇒ Object



5332
5333
5334
5335
5336
# File 'lib/v20170312/models.rb', line 5332

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