45 lines
722 B
C#
45 lines
722 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace SPTarkov.Server.Core.Models.Eft.Notifier;
|
|
|
|
public record NotifierChannel
|
|
{
|
|
[JsonExtensionData]
|
|
public Dictionary<string, object> ExtensionData { get; set; }
|
|
|
|
[JsonPropertyName("server")]
|
|
public string? Server
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("channel_id")]
|
|
public string? ChannelId
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("url")]
|
|
public string? Url
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("notifierServer")]
|
|
public string? NotifierServer
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("ws")]
|
|
public string? WebSocket
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|