SavingsPlansUtilizationDetail.fromJson constructor
SavingsPlansUtilizationDetail.fromJson(
- Map<String, dynamic> json
)
Implementation
factory SavingsPlansUtilizationDetail.fromJson(Map<String, dynamic> json) {
return SavingsPlansUtilizationDetail(
amortizedCommitment: json['AmortizedCommitment'] != null
? SavingsPlansAmortizedCommitment.fromJson(
json['AmortizedCommitment'] as Map<String, dynamic>)
: null,
attributes: (json['Attributes'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
savings: json['Savings'] != null
? SavingsPlansSavings.fromJson(
json['Savings'] as Map<String, dynamic>)
: null,
savingsPlanArn: json['SavingsPlanArn'] as String?,
utilization: json['Utilization'] != null
? SavingsPlansUtilization.fromJson(
json['Utilization'] as Map<String, dynamic>)
: null,
);
}