IW4M-Admin/WebfrontCore/Controllers/API/Dtos/InfoResponse.cs
2022-03-08 12:06:46 -06:00

22 lines
565 B
C#

using System;
namespace WebfrontCore.Controllers.API.Dtos;
public class InfoResponse
{
public int TotalConnectedClients { get; set; }
public int TotalClientSlots { get; set; }
public int TotalTrackedClients { get; set; }
public MetricSnapshot<int> TotalRecentClients { get; set; }
public MetricSnapshot<int?> MaxConcurrentClients { get; set; }
}
public class MetricSnapshot<T>
{
public T Value { get; set; }
public DateTime? Time { get; set; }
public DateTime? StartAt { get; set; }
public DateTime? EndAt { get; set; }
}