astral-api/Astral.Services/Dtos/UserLocationHeartbeatDto.cs

52 lines
1.1 KiB
C#
Raw Normal View History

2024-12-15 17:06:14 +01:00
// <copyright file="UserLocationHeartbeatDto.cs" company="alveus.dev">
// Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License.
// </copyright>
namespace Astral.Services.Dtos;
/// <summary>
/// Heartbeat containing location data.
/// </summary>
public class UserLocationHeartbeatDto
{
/// <summary>
/// True if connected.
/// </summary>
public bool Connected { get; set; }
/// <summary>
/// Path.
/// </summary>
public string Path { get; set; }
/// <summary>
/// Domain id.
/// </summary>
public Guid DomainId { get; set; }
/// <summary>
/// Place id.
/// </summary>
public Guid PlaceId { get; set; }
/// <summary>
/// Network address.
/// </summary>
public string NetworkAddress { get; set; }
/// <summary>
/// Network port.
/// </summary>
public int NetworkPort { get; set; }
/// <summary>
/// Node id.
/// </summary>
public Guid NodeId { get; set; }
/// <summary>
/// Availability.
/// </summary>
public string Availability { get; set; }
}