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