SavingsPlansPurchaseRecommendationSummary.fromJson constructor

SavingsPlansPurchaseRecommendationSummary.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory SavingsPlansPurchaseRecommendationSummary.fromJson(
    Map<String, dynamic> json) {
  return SavingsPlansPurchaseRecommendationSummary(
    currencyCode: json['CurrencyCode'] as String?,
    currentOnDemandSpend: json['CurrentOnDemandSpend'] as String?,
    dailyCommitmentToPurchase: json['DailyCommitmentToPurchase'] as String?,
    estimatedMonthlySavingsAmount:
        json['EstimatedMonthlySavingsAmount'] as String?,
    estimatedOnDemandCostWithCurrentCommitment:
        json['EstimatedOnDemandCostWithCurrentCommitment'] as String?,
    estimatedROI: json['EstimatedROI'] as String?,
    estimatedSavingsAmount: json['EstimatedSavingsAmount'] as String?,
    estimatedSavingsPercentage: json['EstimatedSavingsPercentage'] as String?,
    estimatedTotalCost: json['EstimatedTotalCost'] as String?,
    hourlyCommitmentToPurchase: json['HourlyCommitmentToPurchase'] as String?,
    totalRecommendationCount: json['TotalRecommendationCount'] as String?,
  );
}