Class UltraControlNet
java.lang.Object
cloud.liblibai.openapi.client.model.UltraControlNet
@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 UltraControlNet
extends Object
构图控制
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum控制类型static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontrolImage(URI controlImage) controlType(UltraControlNet.ControlTypeEnum controlType) booleanstatic UltraControlNetCreate an instance of UltraControlNet given an JSON string参考图可公网访问的完整URL控制类型inthashCode()voidsetControlImage(URI controlImage) voidsetControlType(UltraControlNet.ControlTypeEnum controlType) toJson()Convert an instance of UltraControlNet 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_CONTROL_TYPE
- See Also:
-
SERIALIZED_NAME_CONTROL_IMAGE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
UltraControlNet
public UltraControlNet()
-
-
Method Details
-
controlType
-
getControlType
-
setControlType
-
controlImage
-
getControlImage
-
setControlImage
-
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 UltraControlNet
-
fromJson
Create an instance of UltraControlNet given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UltraControlNet
- Throws:
IOException- if the JSON string is invalid with respect to UltraControlNet
-
toJson
Convert an instance of UltraControlNet to an JSON string- Returns:
- JSON string
-