From e5b38fe5fb0379fcf21f6d8ab7cf88c32cafa884 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kardo=20J=C3=B5eleht?= Date: Thu, 7 Jul 2022 15:23:36 +0300 Subject: [PATCH] Add missing JsonProperty attributes to Option --- src/Pipedrive.net/Models/Common/Option.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Pipedrive.net/Models/Common/Option.cs b/src/Pipedrive.net/Models/Common/Option.cs index 31038087..a8c1a134 100644 --- a/src/Pipedrive.net/Models/Common/Option.cs +++ b/src/Pipedrive.net/Models/Common/Option.cs @@ -1,9 +1,13 @@ -namespace Pipedrive +using Newtonsoft.Json; + +namespace Pipedrive { public class Option { + [JsonProperty("id")] public string Id { get; set; } + [JsonProperty("label")] public string Label { get; set; } } }