Class: TencentCloud::Svp::V20240125::SavingPlanUsageDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Svp::V20240125::SavingPlanUsageDetail
- Defined in:
- lib/v20240125/models.rb
Overview
节省计划使用率数据
Instance Attribute Summary collapse
-
#CostAmount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#DeductAmount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#DosageAmount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#LossAmount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#NetSavings ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#PromiseAmount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Region ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SpType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#UtilizationRate ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sptype = nil, status = nil, deductamount = nil, promiseamount = nil, netsavings = nil, utilizationrate = nil, lossamount = nil, dosageamount = nil, costamount = nil, region = nil) ⇒ SavingPlanUsageDetail
constructor
A new instance of SavingPlanUsageDetail.
Constructor Details
#initialize(sptype = nil, status = nil, deductamount = nil, promiseamount = nil, netsavings = nil, utilizationrate = nil, lossamount = nil, dosageamount = nil, costamount = nil, region = nil) ⇒ SavingPlanUsageDetail
Returns a new instance of SavingPlanUsageDetail.
487 488 489 490 491 492 493 494 495 496 497 498 |
# File 'lib/v20240125/models.rb', line 487 def initialize(sptype=nil, status=nil, deductamount=nil, promiseamount=nil, netsavings=nil, utilizationrate=nil, lossamount=nil, dosageamount=nil, costamount=nil, region=nil) @SpType = sptype @Status = status @DeductAmount = deductamount @PromiseAmount = promiseamount @NetSavings = netsavings @UtilizationRate = utilizationrate @LossAmount = lossamount @DosageAmount = dosageamount @CostAmount = costamount @Region = region end |
Instance Attribute Details
#CostAmount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
485 486 487 |
# File 'lib/v20240125/models.rb', line 485 def CostAmount @CostAmount end |
#DeductAmount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
485 486 487 |
# File 'lib/v20240125/models.rb', line 485 def DeductAmount @DeductAmount end |
#DosageAmount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
485 486 487 |
# File 'lib/v20240125/models.rb', line 485 def DosageAmount @DosageAmount end |
#LossAmount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
485 486 487 |
# File 'lib/v20240125/models.rb', line 485 def LossAmount @LossAmount end |
#NetSavings ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
485 486 487 |
# File 'lib/v20240125/models.rb', line 485 def NetSavings @NetSavings end |
#PromiseAmount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
485 486 487 |
# File 'lib/v20240125/models.rb', line 485 def PromiseAmount @PromiseAmount end |
#Region ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
485 486 487 |
# File 'lib/v20240125/models.rb', line 485 def Region @Region end |
#SpType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
485 486 487 |
# File 'lib/v20240125/models.rb', line 485 def SpType @SpType end |
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
485 486 487 |
# File 'lib/v20240125/models.rb', line 485 def Status @Status end |
#UtilizationRate ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
485 486 487 |
# File 'lib/v20240125/models.rb', line 485 def UtilizationRate @UtilizationRate end |
Instance Method Details
#deserialize(params) ⇒ Object
500 501 502 503 504 505 506 507 508 509 510 511 |
# File 'lib/v20240125/models.rb', line 500 def deserialize(params) @SpType = params['SpType'] @Status = params['Status'] @DeductAmount = params['DeductAmount'] @PromiseAmount = params['PromiseAmount'] @NetSavings = params['NetSavings'] @UtilizationRate = params['UtilizationRate'] @LossAmount = params['LossAmount'] @DosageAmount = params['DosageAmount'] @CostAmount = params['CostAmount'] @Region = params['Region'] end |