mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
15 lines
457 B
C#
15 lines
457 B
C#
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace ServerManager.WebApplication.Models.ApiVersion1
|
|
{
|
|
public class ServerStatusResponse
|
|
{
|
|
/// <summary>
|
|
/// True if the server is available; otherwise false.
|
|
/// </summary>
|
|
[Required]
|
|
[Description("True if the server is available; otherwise false.")]
|
|
public string Available { get; set; } = false.ToString();
|
|
}
|
|
}
|