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