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