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