blob: 54a3506bb2dafaad63ddc5554201e7cbdfb2e71c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
using System.Collections.Generic;
using Newtonsoft.Json;
namespace SendGrid.Helpers.Mail
{
public class Personalization
{
[JsonProperty(PropertyName = "to")]
public List<EmailAddress> Tos { get; set; }
[JsonProperty(PropertyName = "cc")]
public List<EmailAddress> Ccs { get; set; }
[JsonProperty(PropertyName = "bcc")]
public List<EmailAddress> Bccs { get; set; }
[JsonProperty(PropertyName = "subject")]
public string Subject { get; set; }
[JsonProperty(PropertyName = "headers")]
public Dictionary<string, string> Headers { get; set; }
[JsonProperty(PropertyName = "substitutions")]
public Dictionary<string, string> Substitutions { get; set; }
[JsonProperty(PropertyName = "custom_args")]
public Dictionary<string, string> CustomArgs { get; set; }
[JsonProperty(PropertyName = "send_at")]
public long? SendAt { get; set; }
}
}
|