wip: finish converting some more projects
This commit is contained in:
14
Habittodo.Model/Habitica/Responses/HabiticaResponse.cs
Normal file
14
Habittodo.Model/Habitica/Responses/HabiticaResponse.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Habittodo.Model.Habitica.Responses
|
||||
{
|
||||
public class HabiticaReponse<T>
|
||||
{
|
||||
[JsonProperty("success")]
|
||||
public bool Success { get; set; }
|
||||
[JsonProperty("data")]
|
||||
public T Data { get; set; }
|
||||
[JsonProperty("notifications")]
|
||||
public object Notifications { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user