22 lines
565 B
C#
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; }
|
|
}
|