ServerManagers/src/ServerManager.WebApplication/Models/ApiVersion1/ServerStatusResponse.cs
Brett Hewitson 2e8596e0b7 Web APi
2021-11-20 22:16:59 +10:00

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();
}
}