Class SketchImageSynthesisParam
java.lang.Object
com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase
com.alibaba.dashscope.legacy_2x.base.HalfDuplexServiceParam
com.alibaba.dashscope.legacy_2x.aigc.imagesynthesis.SketchImageSynthesisParam
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSketchImageSynthesisParam.SketchImageSynthesisParamBuilder<C extends SketchImageSynthesisParam,B extends SketchImageSynthesisParam.SketchImageSynthesisParamBuilder<C, B>> Deprecated.Nested classes/interfaces inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexServiceParam
HalfDuplexServiceParam.HalfDuplexServiceParamBuilder<C extends HalfDuplexServiceParam,B extends HalfDuplexServiceParam.HalfDuplexServiceParamBuilder<C, B>> Nested classes/interfaces inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase
HalfDuplexParamBase.HalfDuplexParamBaseBuilder<C extends HalfDuplexParamBase,B extends HalfDuplexParamBase.HalfDuplexParamBaseBuilder<C, B>> -
Field Summary
Fields inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase
headers, parameters -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Deprecated.protected booleanDeprecated.booleanDeprecated.Deprecated.Get the binary data, only websocket, if no binary data, return null.com.google.gson.JsonObjectDeprecated.Get the batch request data.com.google.gson.JsonObjectgetInput()Deprecated.Get the request input data.getN()Deprecated.Deprecated.The service parameters.@NonNull StringDeprecated.Deprecated.getSize()Deprecated.Deprecated.Deprecated.@NonNull StringDeprecated.Deprecated.getStyle()Deprecated.inthashCode()Deprecated.voidDeprecated.voidDeprecated.voidsetRealisticness(Integer realisticness) Deprecated.voidDeprecated.voidsetSketchColor(String sketchColor) Deprecated.voidsetSketchExtraction(Boolean sketchExtraction) Deprecated.voidsetSketchImageUrl(@NonNull String sketchImageUrl) Deprecated.voidsetSketchWeight(Integer sketchWeight) Deprecated.voidDeprecated.toString()Deprecated.voidvalidate()Deprecated.Validate the input and parameters.Methods inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexServiceParam
getHeaders, getModel, getResources, putHeaderMethods inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase
getApiKey, getEnableEncrypt, getWorkspace, isSecurityCheck, setApiKey, setEnableEncrypt, setHeaders, setParameters, setSecurityCheck, setWorkspace, shouldSerializeExplicitNulls
-
Constructor Details
-
SketchImageSynthesisParam
protected SketchImageSynthesisParam(SketchImageSynthesisParam.SketchImageSynthesisParamBuilder<?, ?> b) Deprecated.
-
-
Method Details
-
getInput
public com.google.gson.JsonObject getInput()Deprecated.Description copied from class:HalfDuplexParamBaseGet the request input data.- Specified by:
getInputin classHalfDuplexParamBase- Returns:
- The input data object.
-
getParameters
Deprecated.Description copied from class:HalfDuplexParamBaseThe service parameters.- Overrides:
getParametersin classHalfDuplexServiceParam- Returns:
- The parameters
-
getHttpBody
public com.google.gson.JsonObject getHttpBody()Deprecated.Description copied from class:HalfDuplexParamBaseGet the batch request data. Http body include {"model": "model_name", "input": "input data", "parameters": "The request parameters"}- Specified by:
getHttpBodyin classHalfDuplexParamBase- Returns:
- The http request body
-
getBinaryData
Deprecated.Description copied from class:HalfDuplexParamBaseGet the binary data, only websocket, if no binary data, return null.- Specified by:
getBinaryDatain classHalfDuplexParamBase- Returns:
- The binary data
-
validate
Deprecated.Description copied from class:HalfDuplexParamBaseValidate the input and parameters.- Specified by:
validatein classHalfDuplexParamBase- Throws:
InputRequiredException- Missing input fields.
-
builder
Deprecated. -
equals
Deprecated.- Overrides:
equalsin classHalfDuplexServiceParam
-
canEqual
Deprecated.- Overrides:
canEqualin classHalfDuplexServiceParam
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCodein classHalfDuplexServiceParam
-
getN
Deprecated. -
getSize
Deprecated. -
getSketchWeight
Deprecated. -
getRealisticness
Deprecated. -
getSketchImageUrl
Deprecated. -
getStyle
Deprecated. -
getSketchExtraction
Deprecated. -
getSketchColor
Deprecated. -
getPrompt
Deprecated. -
setN
Deprecated. -
setSize
Deprecated. -
setSketchWeight
Deprecated. -
setRealisticness
Deprecated. -
setSketchImageUrl
Deprecated. -
setStyle
Deprecated. -
setSketchExtraction
Deprecated. -
setSketchColor
Deprecated. -
setPrompt
Deprecated. -
toString
Deprecated.- Overrides:
toStringin classHalfDuplexParamBase
-