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