Files
watcher/Watcher/Models/Container.cs
2025-10-30 08:33:35 +01:00

24 lines
624 B
C#

using System.Text.Json.Serialization;
namespace Watcher.Models;
public class Container
{
public int Id { get; set; }
[JsonPropertyName("Server_id")]
public int ServerId { get; set; }
[JsonPropertyName("id")]
public String? ContainerId { get; set; }
[JsonPropertyName("image")]
public String? Image { get; set; }
[JsonPropertyName("name")]
public String? Name { get; set; }
// keine Variable, die vom Agent übergeben wird. Ein container ist immer Running, die Variable dient nur für die Übersicht
// auf dem Dashboard.
public Boolean IsRunning { get; set; } = true;
}