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