Files
TriliumMind/Models/TriliumResponse.cs

49 lines
1.4 KiB
C#

public class TriliumResponse
{
public Note note { get; set; }
public Branch branch { get; set; }
}
public class Note
{
public string noteId { get; set; }
public bool isProtected { get; set; }
public string title { get; set; }
public string type { get; set; }
public string mime { get; set; }
public string blobId { get; set; }
public string dateCreated { get; set; }
public string dateModified { get; set; }
public string utcDateCreated { get; set; }
public string utcDateModified { get; set; }
public string[] parentNoteIds { get; set; }
public object[] childNoteIds { get; set; }
public string[] parentBranchIds { get; set; }
public object[] childBranchIds { get; set; }
public Attribute[] attributes { get; set; }
}
public class Attribute
{
public string attributeId { get; set; }
public string noteId { get; set; }
public string type { get; set; }
public string name { get; set; }
public string value { get; set; }
public int position { get; set; }
public bool isInheritable { get; set; }
public string utcDateModified { get; set; }
}
public class Branch
{
public string branchId { get; set; }
public string noteId { get; set; }
public string parentNoteId { get; set; }
public object prefix { get; set; }
public int notePosition { get; set; }
public bool isExpanded { get; set; }
public string utcDateModified { get; set; }
}