chore: adds missing 'JsonProperty' annotations to models
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user