toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (canReschedule != null) 'canReschedule': canReschedule!,
  if (latestWindowStartTime != null)
    'latestWindowStartTime': latestWindowStartTime!,
  if (maintenanceOnShutdown != null)
    'maintenanceOnShutdown': maintenanceOnShutdown!,
  if (maintenanceReasons != null) 'maintenanceReasons': maintenanceReasons!,
  if (maintenanceStatus != null) 'maintenanceStatus': maintenanceStatus!,
  if (type != null) 'type': type!,
  if (windowEndTime != null) 'windowEndTime': windowEndTime!,
  if (windowStartTime != null) 'windowStartTime': windowStartTime!,
};