aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/SystemBackupService/BackupManifestDto.cs
blob: b094ec275605e49c86bc2631194523e0bd9ae5dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System;

namespace MediaBrowser.Controller.SystemBackupService;

/// <summary>
/// Manifest type for backups internal structure.
/// </summary>
public class BackupManifestDto
{
    /// <summary>
    /// Gets or sets the jellyfin version this backup was created with.
    /// </summary>
    public required Version ServerVersion { get; set; }

    /// <summary>
    /// Gets or sets the backup engine version this backup was created with.
    /// </summary>
    public required Version BackupEngineVersion { get; set; }

    /// <summary>
    /// Gets or sets the date this backup was created with.
    /// </summary>
    public required DateTimeOffset DateCreated { get; set; }

    /// <summary>
    /// Gets or sets the path to the backup on the system.
    /// </summary>
    public required string Path { get; set; }

    /// <summary>
    /// Gets or sets the contents of the backup archive.
    /// </summary>
    public required BackupOptionsDto Options { get; set; }
}