MaintenanceWindowExecution.fromJson constructor

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

Implementation

factory MaintenanceWindowExecution.fromJson(Map<String, dynamic> json) {
  return MaintenanceWindowExecution(
    endTime: timeStampFromJson(json['EndTime']),
    startTime: timeStampFromJson(json['StartTime']),
    status: (json['Status'] as String?)?.toMaintenanceWindowExecutionStatus(),
    statusDetails: json['StatusDetails'] as String?,
    windowExecutionId: json['WindowExecutionId'] as String?,
    windowId: json['WindowId'] as String?,
  );
}