This commit is contained in:
2020-04-09 21:11:01 -04:00
parent 74f3a621ca
commit 49275681fd
10 changed files with 112 additions and 25 deletions

View File

@@ -1,5 +1,6 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Habitica.Todoist.Integration.Model.Todoist
@@ -14,9 +15,16 @@ namespace Habitica.Todoist.Integration.Model.Todoist
public Due Due { get; set; }
[JsonProperty("priority")]
public int Priority { get; set; }
[JsonProperty("parent_id")]
public string Parent_Id { get; set; }
[JsonProperty("is_deleted")]
public int Is_deleted { get; set; }
[JsonProperty("project_id")]
public string Project_id { get; set; }
[JsonProperty("date_completed")]
public string Date_completed { get; set; }
[JsonIgnore]
public bool IsChild => !string.IsNullOrEmpty(Parent_Id);
}
}