chore: adds missing 'JsonProperty' annotations to models

This commit is contained in:
Matthias Langhard
2021-03-24 09:10:50 +01:00
parent c5734a065c
commit ac20e2e1d4
3 changed files with 6 additions and 0 deletions

View File

@@ -1,9 +1,11 @@
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Novaloop.PaymoApi.ClientContacts.Models
{
public class GetClientContactsResponse
{
[JsonProperty("clientcontacts")]
public IEnumerable<PaymoClientContact> ClientContacts { get; set; }
}
}

View File

@@ -1,9 +1,11 @@
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Novaloop.PaymoApi.Clients.Models
{
public class GetClientsResponse
{
[JsonProperty("clients")]
public IEnumerable<PaymoClient> Clients { get; set; }
}
}

View File

@@ -1,9 +1,11 @@
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Novaloop.PaymoApi.Tasks.Models
{
public class GetTasksResponse
{
[JsonProperty("tasks")]
public IEnumerable<PaymoTask> Tasks { get; set; }
}
}