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