17 lines
432 B
C#
17 lines
432 B
C#
using YamlDotNet.Serialization;
|
|
|
|
namespace VirtualDDNSRouter.Client.Models;
|
|
|
|
[YamlSerializable]
|
|
public record Settings
|
|
{
|
|
public string host { get; set; } = string.Empty;
|
|
public string path { get; set; } = string.Empty;
|
|
public ushort destinationPort { get; set; } = 80;
|
|
public string apiKey { get; set; } = string.Empty;
|
|
public ushort refreshIntervalMinutes { get; set; } = 5;
|
|
|
|
public Settings()
|
|
{
|
|
}
|
|
} |