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