ReservationAggregates.fromJson constructor

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

Implementation

factory ReservationAggregates.fromJson(Map<String, dynamic> json) {
  return ReservationAggregates(
    amortizedRecurringFee: json['AmortizedRecurringFee'] as String?,
    amortizedUpfrontFee: json['AmortizedUpfrontFee'] as String?,
    netRISavings: json['NetRISavings'] as String?,
    onDemandCostOfRIHoursUsed: json['OnDemandCostOfRIHoursUsed'] as String?,
    purchasedHours: json['PurchasedHours'] as String?,
    purchasedUnits: json['PurchasedUnits'] as String?,
    totalActualHours: json['TotalActualHours'] as String?,
    totalActualUnits: json['TotalActualUnits'] as String?,
    totalAmortizedFee: json['TotalAmortizedFee'] as String?,
    totalPotentialRISavings: json['TotalPotentialRISavings'] as String?,
    unusedHours: json['UnusedHours'] as String?,
    unusedUnits: json['UnusedUnits'] as String?,
    utilizationPercentage: json['UtilizationPercentage'] as String?,
    utilizationPercentageInUnits:
        json['UtilizationPercentageInUnits'] as String?,
  );
}