GetMaintenanceWindowExecutionResult.fromJson constructor
GetMaintenanceWindowExecutionResult.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GetMaintenanceWindowExecutionResult.fromJson(
Map<String, dynamic> json) {
return GetMaintenanceWindowExecutionResult(
endTime: timeStampFromJson(json['EndTime']),
startTime: timeStampFromJson(json['StartTime']),
status: (json['Status'] as String?)?.toMaintenanceWindowExecutionStatus(),
statusDetails: json['StatusDetails'] as String?,
taskIds: (json['TaskIds'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
windowExecutionId: json['WindowExecutionId'] as String?,
);
}