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