Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Comments for new model classes
- Loading branch information
1 parent
1712f64
commit 627d216
Showing
7 changed files
with
174 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,20 @@ | ||
namespace PostmarkDotNet.Model | ||
{ | ||
/// <summary> | ||
/// Represents the results of a request to activate a <see cref="PostmarkBounce" />. | ||
/// </summary> | ||
public class PostmarkBounceActivation | ||
{ | ||
/// <summary> | ||
/// The server message accompanying the activation request. | ||
/// </summary> | ||
/// <value>The message.</value> | ||
public string Message { get; set; } | ||
|
||
/// <summary> | ||
/// The activated bounce. | ||
/// </summary> | ||
/// <value>The activated bounce.</value> | ||
public PostmarkBounce Bounce { 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
namespace PostmarkDotNet | ||
{ | ||
///<summary> | ||
/// Represents the raw SMTP details of a particular bounce. | ||
///</summary> | ||
public class PostmarkBounceDump | ||
{ | ||
/// <summary> | ||
/// The body of the bounce dump. | ||
/// </summary> | ||
/// <value>The body.</value> | ||
public string Body { 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,26 @@ | ||
namespace PostmarkDotNet | ||
{ | ||
/// <summary> | ||
/// Represents an aggregate view of bounces. | ||
/// </summary> | ||
public class PostmarkBounceSummary | ||
{ | ||
/// <summary> | ||
/// An summary for a <see cref="PostmarkBounceType" />. | ||
/// </summary> | ||
/// <value>The type.</value> | ||
public PostmarkBounceType Type { get; set; } | ||
public string Name { get; set;} | ||
public int Count { get; set;} | ||
|
||
/// <summary> | ||
/// The name of the summary. | ||
/// </summary> | ||
/// <value>The name.</value> | ||
public string Name { get; set; } | ||
|
||
/// <summary> | ||
/// The numebr of results in the summary. | ||
/// </summary> | ||
/// <value>The count.</value> | ||
public int Count { 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,81 @@ | ||
namespace PostmarkDotNet | ||
{ | ||
/// <summary> | ||
/// Represents the type of bounce for a <see cref="PostmarkBounce" />. | ||
/// </summary> | ||
public enum PostmarkBounceType | ||
{ | ||
/// <summary> | ||
/// HardBounce | ||
/// </summary> | ||
HardBounce, | ||
/// <summary> | ||
/// Transient | ||
/// </summary> | ||
Transient, | ||
/// <summary> | ||
/// Unsubscribe | ||
/// </summary> | ||
Unsubscribe, | ||
/// <summary> | ||
/// Subscribe | ||
/// </summary> | ||
Subscribe, | ||
/// <summary> | ||
/// AutoResponder | ||
/// </summary> | ||
AutoResponder, | ||
/// <summary> | ||
/// AddressChange | ||
/// </summary> | ||
AddressChange, | ||
/// <summary> | ||
/// DnsError | ||
/// </summary> | ||
DnsError, | ||
/// <summary> | ||
/// SpamNotification | ||
/// </summary> | ||
SpamNotification, | ||
/// <summary> | ||
/// OpenRelayTest | ||
/// </summary> | ||
OpenRelayTest, | ||
/// <summary> | ||
/// Unknown | ||
/// </summary> | ||
Unknown, | ||
/// <summary> | ||
/// SoftBounce | ||
/// </summary> | ||
SoftBounce, | ||
/// <summary> | ||
/// VirusNotification | ||
/// </summary> | ||
VirusNotification, | ||
/// <summary> | ||
/// ChallengeVerification | ||
/// </summary> | ||
ChallengeVerification, | ||
/// <summary> | ||
/// BadEmailAddress | ||
/// </summary> | ||
BadEmailAddress, | ||
/// <summary> | ||
/// SpamComplaint | ||
/// </summary> | ||
SpamComplaint, | ||
/// <summary> | ||
/// ManuallyDeactivated | ||
/// </summary> | ||
ManuallyDeactivated, | ||
/// <summary> | ||
/// Unconfirmed | ||
/// </summary> | ||
Unconfirmed, | ||
/// <summary> | ||
/// Blocked | ||
/// </summary> | ||
Blocked | ||
} | ||
} |
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