mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-02 22:11:10 +00:00
33 lines
1.3 KiB
C#
33 lines
1.3 KiB
C#
#region ========================================================================= USING =====================================================================================
|
|
using System.Diagnostics;
|
|
#endregion
|
|
|
|
namespace Lumina.Presentation.Web.Common.Models.Configuration;
|
|
|
|
/// <summary>
|
|
/// Model for deserializing server configuration settings.
|
|
/// </summary>
|
|
[DebuggerDisplay("{SectionName}")]
|
|
public class ServerConfigurationModel
|
|
{
|
|
#region ================================================================== FIELD MEMBERS ================================================================================
|
|
public const string SectionName = "ServerConfiguration";
|
|
#endregion
|
|
|
|
#region ==================================================================== PROPERTIES =================================================================================
|
|
/// <summary>
|
|
/// Gets or sets the remote API server path.
|
|
/// </summary>
|
|
public required char ApiVersion { get; init; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the remote API server path.
|
|
/// </summary>
|
|
public required string BaseAddress { get; init; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the remote API server port.
|
|
/// </summary>
|
|
public required ushort Port { get; init; }
|
|
#endregion
|
|
} |