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