Class ComfyRequest
java.lang.Object
cloud.liblibai.openapi.client.model.ComfyRequest
@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 ComfyRequest
extends Object
ComfyRequest
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ComfyRequestCreate an instance of ComfyRequest given an JSON stringgenerateParams(Map<String, ComfyNodeParams> generateParams) 生图参数,json结构默认模版uuidinthashCode()putGenerateParamsItem(String key, ComfyNodeParams generateParamsItem) voidsetGenerateParams(Map<String, ComfyNodeParams> generateParams) voidsetTemplateUuid(String templateUuid) templateUuid(String templateUuid) toJson()Convert an instance of ComfyRequest to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_TEMPLATE_UUID
- See Also:
-
SERIALIZED_NAME_GENERATE_PARAMS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ComfyRequest
public ComfyRequest()
-
-
Method Details
-
templateUuid
-
getTemplateUuid
-
setTemplateUuid
-
generateParams
-
putGenerateParamsItem
-
getGenerateParams
-
setGenerateParams
-
equals
-
hashCode
-
toString
-
validateJsonElement
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 ComfyRequest
-
fromJson
Create an instance of ComfyRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ComfyRequest
- Throws:
IOException- if the JSON string is invalid with respect to ComfyRequest
-
toJson
-