astral-api/Astral.ApiServer/Models/Responses/MetaverseInfoResponseModel.cs
Mike 81aa0ec1c0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
WIP heartbeat and user presence
2024-12-15 16:06:14 +00:00

43 lines
1.1 KiB
C#

// <copyright file="MetaverseInfoResponseModel.cs" company="alveus.dev">
// Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License.
// </copyright>
using System.Text.Json.Serialization;
namespace Astral.ApiServer.Models.Responses;
/// <summary>
/// Information about this instance.
/// </summary>
public class MetaverseInfoResponseModel
{
/// <summary>
/// Metaverse name.
/// </summary>
[JsonPropertyName("metaverse_name")]
public string MetaverseName { get; set; }
/// <summary>
/// Metaverse nickname.
/// </summary>
[JsonPropertyName("metaverse_nick_name")]
public string MetaverseNickName { get; set; }
/// <summary>
/// Url of this server.
/// </summary>
[JsonPropertyName("metaverse_url")]
public string MetaverseUrl { get; set; }
/// <summary>
/// ICE server url.
/// </summary>
[JsonPropertyName("ice_server_url")]
public string IceServerUrl { get; set; }
/// <summary>
/// Version information.
/// </summary>
[JsonPropertyName("metaverse_server_version")]
public MetaverseVersionModel Version { get; set; }
}