core.Map<core.String, core.dynamic> toJson() => { if (maintenanceDuration != null) 'maintenanceDuration': maintenanceDuration!, if (startTime != null) 'startTime': startTime!, };