From d9281939e7b933942c4834d5dd5aa7a4d2cda829 Mon Sep 17 00:00:00 2001 From: Jeremie Desautels Date: Sun, 19 Nov 2017 15:00:09 -0500 Subject: [PATCH] Add the 'Labels' property to the TemplateCategory model Resolves #46 --- Source/CakeMail.RestClient/Models/TemplateCategory.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/CakeMail.RestClient/Models/TemplateCategory.cs b/Source/CakeMail.RestClient/Models/TemplateCategory.cs index 8886723..ab12720 100644 --- a/Source/CakeMail.RestClient/Models/TemplateCategory.cs +++ b/Source/CakeMail.RestClient/Models/TemplateCategory.cs @@ -1,5 +1,6 @@ using CakeMail.RestClient.Utilities; using Newtonsoft.Json; +using System.Collections.Generic; namespace CakeMail.RestClient.Models { @@ -36,6 +37,9 @@ public class TemplateCategory [JsonProperty("level")] public long Level { get; set; } + [JsonProperty("labels")] + public KeyValuePair[] Labels { get; set; } + #endregion } }