Recreated project with project template

This commit is contained in:
2024-12-05 15:35:23 +01:00
parent 7659403dc8
commit 3392407890
76 changed files with 2020 additions and 2922 deletions

View File

@@ -1,8 +0,0 @@
namespace MoonlightServers.Shared.Http.Responses.Admin.Allocations;
public class DetailAllocationResponse
{
public int Id { get; set; }
public string IpAddress { get; set; } = "0.0.0.0";
public int Port { get; set; }
}

View File

@@ -1,11 +0,0 @@
namespace MoonlightServers.Shared.Http.Responses.Admin.Nodes;
public class DetailNodeResponse
{
public int Id { get; set; }
public string Name { get; set; }
public string Fqdn { get; set; }
public int ApiPort { get; set; }
public bool SslEnabled { get; set; }
}

View File

@@ -1,22 +0,0 @@
namespace MoonlightServers.Shared.Http.Responses.Admin.Nodes;
public class StatusNodeResponse
{
public string CpuModel { get; set; }
public double[] CpuUsage { get; set; }
public TimeSpan Uptime { get; set; }
public ulong MemoryTotal { get; set; }
public ulong MemoryFree { get; set; }
public ulong MemoryAvailable { get; set; }
public ulong MemoryCached { get; set; }
public ulong SwapTotal { get; set; }
public ulong SwapFree { get; set; }
public ulong DiskTotal { get; set; }
public ulong DiskFree { get; set; }
public ulong DiskTotalInodes { get; set; }
public ulong DiskFreeInodes { get; set; }
}

View File

@@ -0,0 +1,6 @@
namespace MoonlightServers.Shared.Http.Responses;
public class ExampleResponse
{
public int Number { get; set; }
}