All checks were successful
Caddy Manager CI build / docker (push) Successful in 1m16s
22 lines
605 B
C#
22 lines
605 B
C#
namespace CaddyManager.Contracts.Models.Caddy;
|
|
|
|
/// <summary>
|
|
/// Wraps the information needed to save a Caddy configuration
|
|
/// </summary>
|
|
public class CaddySaveConfigurationRequest
|
|
{
|
|
/// <summary>
|
|
/// Indicates if the configuration is new
|
|
/// </summary>
|
|
public bool IsNew { get; set; }
|
|
|
|
/// <summary>
|
|
/// Name of the Caddy configuration file
|
|
/// </summary>
|
|
public required string FileName { get; init; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Content of the Caddy configuration file
|
|
/// </summary>
|
|
public string Content { get; set; } = string.Empty;
|
|
} |