Files
SPT-Server-Build/Libraries/SPTarkov.Server.Core/Models/Eft/Ws/WsNotificationEvent.cs
T

18 lines
490 B
C#

using System.Text.Json.Serialization;
using SPTarkov.Server.Core.Models.Common;
namespace SPTarkov.Server.Core.Models.Eft.Ws;
public record WsNotificationEvent
{
[JsonExtensionData]
public Dictionary<string, object> ExtensionData { get; init; } = [];
[JsonPropertyName("type")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public NotificationEventType? EventType { get; set; }
[JsonPropertyName("eventId")]
public MongoId EventIdentifier { get; set; }
}