Class ComfyNodeParams

java.lang.Object
cloud.liblibai.openapi.client.model.ComfyNodeParams

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-02-05T15:10:08.947334966+08:00[Asia/Shanghai]", comments="Generator version: 7.10.0") public class ComfyNodeParams extends Object
ComfyNodeParams
  • Field Details

  • Constructor Details

    • ComfyNodeParams

      public ComfyNodeParams()
  • Method Details

    • inputs

      public ComfyNodeParams inputs(@Nullable Map<String,Object> inputs)
    • putInputsItem

      public ComfyNodeParams putInputsItem(String key, Object inputsItem)
    • getInputs

      @Nullable public Map<String,Object> getInputs()
      Get inputs
      Returns:
      inputs
    • setInputs

      public void setInputs(@Nullable Map<String,Object> inputs)
    • classType

      public ComfyNodeParams classType(@Nullable String classType)
    • getClassType

      @Nullable public String getClassType()
      Get classType
      Returns:
      classType
    • setClassType

      public void setClassType(@Nullable String classType)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to ComfyNodeParams
    • fromJson

      public static ComfyNodeParams fromJson(String jsonString) throws IOException
      Create an instance of ComfyNodeParams given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of ComfyNodeParams
      Throws:
      IOException - if the JSON string is invalid with respect to ComfyNodeParams
    • toJson

      public String toJson()
      Convert an instance of ComfyNodeParams to an JSON string
      Returns:
      JSON string