Added simple node crud

This commit is contained in:
2024-12-11 16:42:56 +01:00
parent 220eb28657
commit 4168b93d61
9 changed files with 378 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
using MoonlightServers.Shared.Http.Responses.Admin.NodeAllocations;
namespace MoonlightServers.Shared.Http.Responses.Admin.Nodes;
public class NodeDetailResponse
{
public int Id { get; set; }
//public List<Server> Servers { get; set; } = new();
public NodeAllocationDetailResponse[] Allocations { get; set; }
public string Name { get; set; }
public string Fqdn { get; set; }
public string Token { get; set; }
public int HttpPort { get; set; }
public int FtpPort { get; set; }
public bool EnableTransparentMode { get; set; }
public bool EnableDynamicFirewall { get; set; }
}