From e8b5e7aa9ee6538b2ff85780e485a0a18fbe8c92 Mon Sep 17 00:00:00 2001 From: Jericho Date: Mon, 2 Mar 2020 21:09:34 -0500 Subject: [PATCH] Add IpPool property to the ProcessedEvent class Resolves #314 --- Source/StrongGrid/Models/Webhooks/ProcessedEvent.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Source/StrongGrid/Models/Webhooks/ProcessedEvent.cs b/Source/StrongGrid/Models/Webhooks/ProcessedEvent.cs index a28046e5..b9d3a850 100644 --- a/Source/StrongGrid/Models/Webhooks/ProcessedEvent.cs +++ b/Source/StrongGrid/Models/Webhooks/ProcessedEvent.cs @@ -1,4 +1,4 @@ -using Newtonsoft.Json; +using Newtonsoft.Json; using StrongGrid.Utilities; using System; @@ -37,5 +37,14 @@ public class ProcessedEvent : DeliveryEvent [JsonProperty("send_at", NullValueHandling = NullValueHandling.Ignore)] [JsonConverter(typeof(EpochConverter))] public DateTime ProcessedOn { get; set; } + + /// + /// Gets or sets the IP Pool (if specified when the email was sent). + /// + /// + /// The IP pool use when the email was sent. + /// + [JsonProperty("pool", NullValueHandling = NullValueHandling.Ignore)] + public IpPool IpPool { get; set; } } }