Skip to content

Commit

Permalink
Merge pull request #6 from cmdotcom/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
jaspervanson authored Mar 27, 2020
2 parents 3ce129c + ee34bfc commit 5842ae1
Show file tree
Hide file tree
Showing 11 changed files with 42 additions and 42 deletions.
10 changes: 5 additions & 5 deletions CM.Email.Sdk/Models/Campaign.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class Campaign
/// <summary>
/// The datetime to schedule this campaign. This datetime is currently in the dutch timezone. Leave null if you want to send a campaign right away
/// </summary>
public DateTime? ScheduledOn { get; set; }
public DateTime? ScheduledOnUtc { get; set; }

/// <summary>
/// The test percentage multiplier to use for your AB test newletter. This should be at least 0.10 (10%) or higher. Leave null if you want to send a newsletter or triggered campaign
Expand All @@ -57,7 +57,7 @@ public class Campaign
/// <summary>
/// The datetime to calculate the winning mailing and send it. This value is calculated automatically. This datetime is currently in the dutch timezone
/// </summary>
public DateTime? SendToRemainingOn { get; set; }
public DateTime? SendToRemainingOnUtc { get; set; }

/// <summary>
/// The ID of the best performing mailing based on the TestDuration and TestMetricType. This value will be filled when the campaign has the PickedUpByFinisher state
Expand All @@ -77,16 +77,16 @@ public class Campaign
/// <summary>
/// When the campaign was created
/// </summary>
public DateTime CreatedOn { get; set; }
public DateTime CreatedOnUtc { get; set; }

/// <summary>
/// When the campaign was last modified
/// </summary>
public DateTime ModifiedOn { get; set; }
public DateTime ModifiedOnUtc { get; set; }

/// <summary>
/// When the campaign was deleted
/// </summary>
public DateTime? DeletedOn { get; set; }
public DateTime? DeletedOnUtc { get; set; }
}
}
14 changes: 7 additions & 7 deletions CM.Email.Sdk/Models/CampaignStatisticDetail.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,37 @@ public class CampaignStatisticDetail
/// <summary>
/// DateTime the mail was sent on
/// </summary>
public DateTime? SentOn { get; set; }
public DateTime? SentOnUtc { get; set; }

/// <summary>
/// DateTime the mail was delivered on
/// </summary>
public DateTime? DeliveredOn { get; set; }
public DateTime? DeliveredOnUtc { get; set; }

/// <summary>
/// DateTime the user opened the mail
/// </summary>
public DateTime? OpenedOn { get; set; }
public DateTime? OpenedOnUtc { get; set; }

/// <summary>
/// DateTime the mail has bounced on
/// </summary>
public DateTime? BouncedOn { get; set; }
public DateTime? BouncedOnUtc { get; set; }

/// <summary>
/// DateTime the user complained on
/// </summary>
public DateTime? ComplainedOn { get; set; }
public DateTime? ComplainedOnUtc { get; set; }

/// <summary>
/// DateTime the user unsubscirbed on
/// </summary>
public DateTime? UnsubscribedOn { get; set; }
public DateTime? UnsubscribedOnUtc { get; set; }

/// <summary>
/// DateTime it was blacklisted on. This means this recipient has caused a permanent bounce before, or unsubscribed and we haven't send to it with this campaign
/// </summary>
public DateTime? BlacklistedOn { get; set; }
public DateTime? BlacklistedOnUtc { get; set; }

/// <summary>
/// How many links a user has clicked
Expand Down
6 changes: 3 additions & 3 deletions CM.Email.Sdk/Models/CampaignTag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ public class CampaignTag
/// <summary>
/// When the tag was created
/// </summary>
public DateTime CreatedOn { get; set; }
public DateTime CreatedOnUtc { get; set; }

/// <summary>
/// When the tag was modified
/// </summary>
public DateTime ModifiedOn { get; set; }
public DateTime ModifiedOnUtc { get; set; }

/// <summary>
/// When the tag was deleted
/// </summary>
public DateTime? DeletedOn { get; set; }
public DateTime? DeletedOnUtc { get; set; }
}
}
6 changes: 3 additions & 3 deletions CM.Email.Sdk/Models/FromAddress.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ public class FromAddress
/// <summary>
/// When the address was created
/// </summary>
public DateTime CreatedOn { get; set; }
public DateTime CreatedOnUtc { get; set; }

/// <summary>
/// When the address was last modified
/// </summary>
public DateTime ModifiedOn { get; set; }
public DateTime ModifiedOnUtc { get; set; }

/// <summary>
/// When the address was deleted
/// </summary>
public DateTime? DeletedOn { get; set; }
public DateTime? DeletedOnUtc { get; set; }
}
}
6 changes: 3 additions & 3 deletions CM.Email.Sdk/Models/FromDomain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ public class FromDomain
/// <summary>
/// When the from domain was created
/// </summary>
public DateTime Createdon { get; set; }
public DateTime CreatedOnUtc { get; set; }

/// <summary>
/// When the from domain was modified
/// </summary>
public DateTime ModifiedOn { get; set; }
public DateTime ModifiedOnUtc { get; set; }

/// <summary>
/// When the from domain was deleted
/// </summary>
public DateTime? DeletedOn { get; set; }
public DateTime? DeletedOnUtc { get; set; }
}
}
4 changes: 2 additions & 2 deletions CM.Email.Sdk/Models/Mail.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ public class Mail
/// <summary>
/// When the mail was created
/// </summary>
public DateTime CreatedOn { get; set; }
public DateTime CreatedOnUtc { get; set; }

/// <summary>
/// When the mail was last modified
/// </summary>
public DateTime ModifiedOn { get; set; }
public DateTime ModifiedOnUtc { get; set; }
}
}
16 changes: 8 additions & 8 deletions CM.Email.Sdk/Models/MailStatisticDetail.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,42 +17,42 @@ public class MailStatisticDetail
/// <summary>
/// When the mail was created
/// </summary>
public DateTime CreatedOn { get; set; }
public DateTime CreatedOnUtc { get; set; }

/// <summary>
/// DateTime the mail was sent on
/// </summary>
public DateTime? SentOn { get; set; }
public DateTime? SentOnUtc { get; set; }

/// <summary>
/// DateTime the mail was delivered on
/// </summary>
public DateTime? DeliveredOn { get; set; }
public DateTime? DeliveredOnUtc { get; set; }

/// <summary>
/// DateTime the user opened the mail
/// </summary>
public DateTime? OpenedOn { get; set; }
public DateTime? OpenedOnUtc { get; set; }

/// <summary>
/// DateTime the mail has bounced on
/// </summary>
public DateTime? BouncedOn { get; set; }
public DateTime? BouncedOnUtc { get; set; }

/// <summary>
/// DateTime the user complained on
/// </summary>
public DateTime? ComplainedOn { get; set; }
public DateTime? ComplainedOnUtc { get; set; }

/// <summary>
/// DateTime the user unsubscirbed on
/// </summary>
public DateTime? UnsubscribedOn { get; set; }
public DateTime? UnsubscribedOnUtc { get; set; }

/// <summary>
/// DateTime it was blacklisted on. This means this recipient has caused a permanent bounce before, or unsubscribed and we haven't send to it with this mailing
/// </summary>
public DateTime? BlacklistedOn { get; set; }
public DateTime? BlacklistedOnUtc { get; set; }

/// <summary>
/// How many links a user has clicked
Expand Down
6 changes: 3 additions & 3 deletions CM.Email.Sdk/Models/Mailing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,16 @@ public class Mailing
/// <summary>
/// When the mailing was created
/// </summary>
public DateTime CreatedOn { get; set; }
public DateTime CreatedOnUtc { get; set; }

/// <summary>
/// When the mailing was last modified
/// </summary>
public DateTime ModifiedOn { get; set; }
public DateTime ModifiedOnUtc { get; set; }

/// <summary>
/// When the mailing was deleted
/// </summary>
public DateTime? DeletedOn { get; set; }
public DateTime? DeletedOnUtc { get; set; }
}
}
6 changes: 3 additions & 3 deletions CM.Email.Sdk/Models/Template.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@ public class Template
/// <summary>
/// When the template was created
/// </summary>
public DateTime CreatedOn { get; set; }
public DateTime CreatedOnUtc { get; set; }

/// <summary>
/// When the template was last modified
/// </summary>
public DateTime ModifiedOn { get; set; }
public DateTime ModifiedOnUtc { get; set; }

/// <summary>
/// When the template was deleted
/// </summary>
public DateTime? DeletedOn { get; set; }
public DateTime? DeletedOnUtc { get; set; }
}
}
4 changes: 2 additions & 2 deletions CM.Email.Sdk/Models/Unsubscription.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ public class Unsubscription
/// <summary>
/// When the address was created
/// </summary>
public DateTime CreatedOn { get; set; }
public DateTime CreatedOnUtc { get; set; }

/// <summary>
/// When the address was last modified
/// </summary>
public DateTime ModifiedOn { get; set; }
public DateTime ModifiedOnUtc { get; set; }
}
}
6 changes: 3 additions & 3 deletions CM.Email.Sdk/Models/Webhook.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ public class Webhook
/// <summary>
/// When the webhook was created
/// </summary>
public DateTime CreatedOn { get; set; }
public DateTime CreatedOnUtc { get; set; }

/// <summary>
/// When the webhook was last modified
/// </summary>
public DateTime ModifiedOn { get; set; }
public DateTime ModifiedOnUtc { get; set; }

/// <summary>
/// When the webhook was deleted
/// </summary>
public DateTime? DeletedOn { get; set; }
public DateTime? DeletedOnUtc { get; set; }
}
}

0 comments on commit 5842ae1

Please sign in to comment.