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.
26 lines
622 B
C#
26 lines
622 B
C#
namespace Duplicati.WebserverCore.Dto;
|
|
|
|
/// <summary>
|
|
/// The setting DTO
|
|
/// </summary>
|
|
public sealed record SettingDto
|
|
{
|
|
/// <summary>
|
|
/// The filter expression
|
|
/// </summary>
|
|
public required string? Filter { get; init; }
|
|
/// <summary>
|
|
/// The setting option
|
|
/// </summary>
|
|
public required string Name { get; init; }
|
|
/// <summary>
|
|
/// The setting value
|
|
/// </summary>
|
|
public required string Value { get; init; }
|
|
|
|
/// <summary>
|
|
/// The actual option arguments
|
|
/// </summary>
|
|
public required Library.Interface.ICommandLineArgument? Argument { get; init; }
|
|
}
|