Files
duplicati/Duplicati/WebserverCore/Dto/RestoreInputDto.cs
T
Kenneth Skovhede 9f79025744 Removed HttpServer.
Re-implemented everything using ASP.NET.
Changed some requests to use JSON instead of FORM data.
Some work towards deleting the FIXMEGlobal instance.
Auth is missing, XSRF does not work correctly.
2024-06-07 15:56:43 +02:00

14 lines
718 B
C#

namespace Duplicati.WebserverCore.Dto;
/// <summary>
/// DTO for the restore endpoint
/// </summary>
/// <param name="paths">The paths to restore</param>
/// <param name="passphrase">The passphrase to use for decryption</param>
/// <param name="time">The time to restore to</param>
/// <param name="restore_path">The path to restore to</param>
/// <param name="overwrite">Whether to overwrite existing files</param>
/// <param name="permissions">Whether to restore permissions</param>
/// <param name="skip_metadata">Whether to skip metadata</param>
public sealed record RestoreInputDto(string[]? paths, string? passphrase, string time, string? restore_path, bool? overwrite, bool? permissions, bool? skip_metadata);