-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolves #239
- Loading branch information
Showing
7 changed files
with
56 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
using Newtonsoft.Json; | ||
using StrongGrid.Utilities; | ||
using System; | ||
|
||
namespace StrongGrid.Models | ||
{ | ||
/// <summary> | ||
/// Information about an IP address in an IP pool. | ||
/// </summary> | ||
public class IpPoolAddress | ||
{ | ||
/// <summary> | ||
/// Gets or sets the IP address. | ||
/// </summary> | ||
/// <value> | ||
/// The IP address. | ||
/// </value> | ||
[JsonProperty("ip", NullValueHandling = NullValueHandling.Ignore)] | ||
public string Address { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the date that the IP address was entered into warmup. | ||
/// </summary> | ||
/// <value> | ||
/// The cost. | ||
/// </value> | ||
[JsonProperty("start_date", NullValueHandling = NullValueHandling.Ignore)] | ||
[JsonConverter(typeof(EpochConverter))] | ||
public DateTime? WarmupStartedOn { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets a value indicating whether the IP address is currently warming up. | ||
/// </summary> | ||
/// <value> | ||
/// The warmup indicator. | ||
/// </value> | ||
[JsonProperty("warmup", NullValueHandling = NullValueHandling.Ignore)] | ||
public bool Warmup { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters