From 98bae75297f91e38246da002d20dac0a25921837 Mon Sep 17 00:00:00 2001 From: Samuele Lorefice Date: Sat, 11 Nov 2023 03:52:44 +0100 Subject: [PATCH] Added missing field for Node class --- .idea/.idea.ComfySharp/.idea/vcs.xml | 6 ++++++ ComfySharp/ComfyClient.cs | 10 ++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 .idea/.idea.ComfySharp/.idea/vcs.xml diff --git a/.idea/.idea.ComfySharp/.idea/vcs.xml b/.idea/.idea.ComfySharp/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/.idea.ComfySharp/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/ComfySharp/ComfyClient.cs b/ComfySharp/ComfyClient.cs index 01c6439..809526d 100644 --- a/ComfySharp/ComfyClient.cs +++ b/ComfySharp/ComfyClient.cs @@ -81,8 +81,14 @@ public class Node { public List OutputIsList { get; set; } [DataMember(Name = "output_name")] public List OutputNames { get; set; } - - + [DataMember(Name = "display_name")] + public string DisplayName { get; set; } + [DataMember(Name = "description")] + public string Description { get; set; } + [DataMember(Name = "category")] + public string Category { get; set; } + [DataMember(Name = "output_node")] + public bool IsOutputNode { get; set; } } [DataContract]