summaryrefslogtreecommitdiffstats
path: root/src/SendGrid/Helpers/Mail/Model/Attachment.cs
blob: cc2bfd6727ae61c90372e9b09b0b55ddd025dc9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using Newtonsoft.Json;

namespace SendGrid.Helpers.Mail
{
    public class Attachment
    {
        [JsonProperty(PropertyName = "content")]
        public string Content { get; set; }

        [JsonProperty(PropertyName = "type")]
        public string Type { get; set; }

        [JsonProperty(PropertyName = "filename")]
        public string Filename { get; set; }

        [JsonProperty(PropertyName = "disposition")]
        public string Disposition { get; set; }

        [JsonProperty(PropertyName = "content_id")]
        public string ContentId { get; set; }
    }
}