51 lines
1.1 KiB
C#
51 lines
1.1 KiB
C#
// <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; }
|
|
}
|