File tree 2 files changed +3
-0
lines changed
src/SocketLabs.EventWebhooks.Extensions
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 1
1
using System ;
2
2
using System . Collections . Generic ;
3
3
using System . Linq ;
4
+ using System . Text . Json . Serialization ;
4
5
using System . Threading . Tasks ;
5
6
6
7
namespace SocketLabs . EventWebhooks . Extensions . Models
7
8
{
8
9
public class EngagementEvent : WebhookEventBase
9
10
{
11
+ [ JsonConverter ( typeof ( JsonStringEnumConverter ) ) ]
10
12
public TrackingType TrackingType { get ; set ; }
11
13
public string ? ClientIp { get ; set ; }
12
14
public string ? Url { get ; set ; }
Original file line number Diff line number Diff line change 12
12
<PackageReference Include =" Microsoft.Extensions.Configuration" Version =" 7.0.0" />
13
13
<PackageReference Include =" Microsoft.Extensions.Options" Version =" 7.0.1" />
14
14
<PackageReference Include =" Microsoft.Extensions.Options.ConfigurationExtensions" Version =" 7.0.0" />
15
+ <PackageReference Include =" System.Text.Json" Version =" 7.0.3" />
15
16
</ItemGroup >
16
17
17
18
</Project >
You can’t perform that action at this time.
0 commit comments