Skip to content

Commit

Permalink
Add IpPool property to the ProcessedEvent class
Browse files Browse the repository at this point in the history
Resolves #314
  • Loading branch information
Jericho committed Mar 3, 2020
1 parent 4dcb955 commit e8b5e7a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Source/StrongGrid/Models/Webhooks/ProcessedEvent.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Newtonsoft.Json;
using Newtonsoft.Json;
using StrongGrid.Utilities;
using System;

Expand Down Expand Up @@ -37,5 +37,14 @@ public class ProcessedEvent : DeliveryEvent
[JsonProperty("send_at", NullValueHandling = NullValueHandling.Ignore)]
[JsonConverter(typeof(EpochConverter))]
public DateTime ProcessedOn { get; set; }

/// <summary>
/// Gets or sets the IP Pool (if specified when the email was sent).
/// </summary>
/// <value>
/// The IP pool use when the email was sent.
/// </value>
[JsonProperty("pool", NullValueHandling = NullValueHandling.Ignore)]
public IpPool IpPool { get; set; }
}
}

0 comments on commit e8b5e7a

Please sign in to comment.