chore: update project structure with contracts and services for CaddyManager, including configuration and Docker integration
All checks were successful
Caddy Manager CI build / docker (push) Successful in 1m16s
All checks were successful
Caddy Manager CI build / docker (push) Successful in 1m16s
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
namespace CaddyManager.Contracts.Models.Caddy;
|
||||
|
||||
/// <summary>
|
||||
/// Class to wrap the response of a generic Caddy operation
|
||||
/// </summary>
|
||||
public class CaddyOperationResponse
|
||||
{
|
||||
private string _message = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Indicates if the operation was successful
|
||||
/// </summary>
|
||||
public bool Success { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Message to describe the operation result to provide more context
|
||||
/// </summary>
|
||||
public string Message
|
||||
{
|
||||
get => _message;
|
||||
set => _message = value ?? string.Empty;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user