mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Web APi
This commit is contained in:
parent
f6ae6364a9
commit
2e8596e0b7
16 changed files with 588 additions and 1 deletions
|
|
@ -0,0 +1,15 @@
|
|||
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();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue