BackupManifestDto.cs 983 B

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. namespace MediaBrowser.Controller.SystemBackupService;
  3. /// <summary>
  4. /// Manifest type for backups internal structure.
  5. /// </summary>
  6. public class BackupManifestDto
  7. {
  8. /// <summary>
  9. /// Gets or sets the jellyfin version this backup was created with.
  10. /// </summary>
  11. public required Version ServerVersion { get; set; }
  12. /// <summary>
  13. /// Gets or sets the backup engine version this backup was created with.
  14. /// </summary>
  15. public required Version BackupEngineVersion { get; set; }
  16. /// <summary>
  17. /// Gets or sets the date this backup was created with.
  18. /// </summary>
  19. public required DateTimeOffset DateCreated { get; set; }
  20. /// <summary>
  21. /// Gets or sets the path to the backup on the system.
  22. /// </summary>
  23. public required string Path { get; set; }
  24. /// <summary>
  25. /// Gets or sets the contents of the backup archive.
  26. /// </summary>
  27. public required BackupOptionsDto Options { get; set; }
  28. }