// // Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License. // using System.Text.Json.Serialization; namespace Astral.ApiServer.Models; /// /// Heartbeat contents. /// public class HeartbeatModel { /// /// True if connected. /// [JsonPropertyName("connected")] public bool Connected { get; set; } /// /// Path. /// [JsonPropertyName("path")] public string Path { get; set; } /// /// Domain id. /// [JsonPropertyName("domain_id")] public Guid DomainId { get; set; } /// /// Place id. /// [JsonPropertyName("place_id")] public Guid PlaceId { get; set; } /// /// Network address. /// [JsonPropertyName("network_address")] public string NetworkAddress { get; set; } /// /// Network port. /// [JsonPropertyName("network_port")] public int NetworkPort { get; set; } /// /// Node id. /// [JsonPropertyName("node_id")] public Guid NodeId { get; set; } /// /// Availability. /// [JsonPropertyName("availability")] public string Availability { get; set; } }