chore: adds missing 'JsonProperty' annotations to models
This commit is contained in:
@@ -1,9 +1,11 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace Novaloop.PaymoApi.ClientContacts.Models
|
namespace Novaloop.PaymoApi.ClientContacts.Models
|
||||||
{
|
{
|
||||||
public class GetClientContactsResponse
|
public class GetClientContactsResponse
|
||||||
{
|
{
|
||||||
|
[JsonProperty("clientcontacts")]
|
||||||
public IEnumerable<PaymoClientContact> ClientContacts { get; set; }
|
public IEnumerable<PaymoClientContact> ClientContacts { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,9 +1,11 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace Novaloop.PaymoApi.Clients.Models
|
namespace Novaloop.PaymoApi.Clients.Models
|
||||||
{
|
{
|
||||||
public class GetClientsResponse
|
public class GetClientsResponse
|
||||||
{
|
{
|
||||||
|
[JsonProperty("clients")]
|
||||||
public IEnumerable<PaymoClient> Clients { get; set; }
|
public IEnumerable<PaymoClient> Clients { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,9 +1,11 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace Novaloop.PaymoApi.Tasks.Models
|
namespace Novaloop.PaymoApi.Tasks.Models
|
||||||
{
|
{
|
||||||
public class GetTasksResponse
|
public class GetTasksResponse
|
||||||
{
|
{
|
||||||
|
[JsonProperty("tasks")]
|
||||||
public IEnumerable<PaymoTask> Tasks { get; set; }
|
public IEnumerable<PaymoTask> Tasks { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user