mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
WebApi Changes
This commit is contained in:
parent
d217c08ab0
commit
33af7cf391
17 changed files with 319 additions and 309 deletions
|
|
@ -1,15 +1,14 @@
|
|||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ServerManager.WebApplication.Models.ApiVersion1
|
||||
namespace ServerManager.WebApplication.Models.ApiVersion1;
|
||||
|
||||
public class ServerStatusResponse
|
||||
{
|
||||
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();
|
||||
}
|
||||
/// <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