File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
src/SocketLabs.EventWebhooks.Extensions Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 11using System ;
22using System . Collections . Generic ;
33using System . Linq ;
4+ using System . Text . Json . Serialization ;
45using System . Threading . Tasks ;
56
67namespace SocketLabs . EventWebhooks . Extensions . Models
78{
89 public class EngagementEvent : WebhookEventBase
910 {
11+ [ JsonConverter ( typeof ( JsonStringEnumConverter ) ) ]
1012 public TrackingType TrackingType { get ; set ; }
1113 public string ? ClientIp { get ; set ; }
1214 public string ? Url { get ; set ; }
Original file line number Diff line number Diff line change 1212 <PackageReference Include =" Microsoft.Extensions.Configuration" Version =" 7.0.0" />
1313 <PackageReference Include =" Microsoft.Extensions.Options" Version =" 7.0.1" />
1414 <PackageReference Include =" Microsoft.Extensions.Options.ConfigurationExtensions" Version =" 7.0.0" />
15+ <PackageReference Include =" System.Text.Json" Version =" 7.0.3" />
1516 </ItemGroup >
1617
1718</Project >
You can’t perform that action at this time.
0 commit comments