diff options
Diffstat (limited to 'src/SendGrid/Helpers/Mail/Content.cs')
-rw-r--r-- | src/SendGrid/Helpers/Mail/Content.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/SendGrid/Helpers/Mail/Content.cs b/src/SendGrid/Helpers/Mail/Content.cs new file mode 100644 index 0000000..68b01d3 --- /dev/null +++ b/src/SendGrid/Helpers/Mail/Content.cs @@ -0,0 +1,23 @@ +using Newtonsoft.Json; + +namespace SendGrid.Helpers.Mail +{ + public class Content + { + public Content() + { + } + + public Content(string type, string value) + { + this.Type = type; + this.Value = value; + } + + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } + + [JsonProperty(PropertyName = "value")] + public string Value { get; set; } + } +}
\ No newline at end of file |