astral-api/Astral.Services/Dtos/UserLocationHeartbeatDto.cs
Mike d84d7631ce
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
Call user presence
2024-12-15 20:20:27 +00:00

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; }
}