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