wip
This commit is contained in:
15
Habitica.Todoist.Integration.Model/Habitica/ChecklistItem.cs
Normal file
15
Habitica.Todoist.Integration.Model/Habitica/ChecklistItem.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Habitica.Todoist.Integration.Model.Habitica
|
||||
{
|
||||
public class ChecklistItem
|
||||
{
|
||||
[JsonProperty("id")]
|
||||
public string Id { get; set; }
|
||||
[JsonProperty("text")]
|
||||
public string Text { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -15,6 +15,8 @@ namespace Habitica.Todoist.Integration.Model.Habitica
|
||||
public string Date { get; set; }
|
||||
[JsonProperty("priority")]
|
||||
public string Priority { get; set; }
|
||||
[JsonProperty("checklist", NullValueHandling = NullValueHandling.Ignore)]
|
||||
public List<ChecklistItem> Checklist { get; set; }
|
||||
[JsonProperty("id")]
|
||||
public string Id { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user