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.
18 lines
385 B
C#
18 lines
385 B
C#
|
|
namespace Duplicati.WebserverCore.Dto;
|
|
|
|
/// <summary>
|
|
/// The backup and schedule DTO
|
|
/// </summary>
|
|
public sealed record BackupAndScheduleOutputDto
|
|
{
|
|
/// <summary>
|
|
/// The backup DTO
|
|
/// </summary>
|
|
public required BackupDto Backup { get; init; }
|
|
/// <summary>
|
|
/// The schedule DTO
|
|
/// </summary>
|
|
public required ScheduleDto? Schedule { get; init; }
|
|
}
|