Class FullDuplexParamBase
java.lang.Object
com.alibaba.dashscope.legacy_2x.base.FullDuplexParamBase
- Direct Known Subclasses:
FullDuplexServiceParam
Deprecated.
The model service base class
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFullDuplexParamBase.FullDuplexParamBaseBuilder<C extends FullDuplexParamBase,B extends FullDuplexParamBase.FullDuplexParamBaseBuilder<C, B>> Deprecated. -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanDeprecated.booleanDeprecated.Deprecated.Deprecated.The custom http header.Deprecated.Custom payload.inputsgetModel()Deprecated.Deprecated.The service parameters.abstract ObjectDeprecated.Get the resourcesabstract io.reactivex.Flowable<Object>Deprecated.Get the stream input data, only for websocket stream in and duplex mode.Deprecated.inthashCode()Deprecated.booleanDeprecated.Open security checkvoidDeprecated.The apiKey.voidsetHeaders(Map<String, Object> headers) Deprecated.The custom http header.voidDeprecated.voidsetParameters(Map<String, Object> parameters) Deprecated.The extra parameters.voidsetSecurityCheck(boolean securityCheck) Deprecated.Open security checkvoidsetWorkspace(String workspace) Deprecated.workspacetoString()Deprecated.
-
Field Details
-
parameters
Deprecated.The extra parameters. -
headers
Deprecated.The custom http header.
-
-
Constructor Details
-
FullDuplexParamBase
Deprecated.
-
-
Method Details
-
getWorkspace
Deprecated. -
getApiKey
Deprecated. -
getHeaders
Deprecated.The custom http header.- Returns:
- The headers.
-
getModel
Deprecated. -
getParameters
Deprecated.The service parameters.- Returns:
- The key/value parameters
-
getResources
Deprecated.Get the resources- Returns:
- the resources Object.
-
getStreamingData
Deprecated.Get the stream input data, only for websocket stream in and duplex mode. For binary data support: byte[] and ByteBuffer Otherwise should be String or Json serializable Object. For websocket stream in and duplex service must implement.- Returns:
- The stream input data.
-
getInputs
Deprecated.Custom payload.inputs- Returns:
- The key/value parameters
-
setModel
Deprecated. -
isSecurityCheck
public boolean isSecurityCheck()Deprecated.Open security check -
setApiKey
Deprecated.The apiKey. -
setSecurityCheck
public void setSecurityCheck(boolean securityCheck) Deprecated.Open security check -
setWorkspace
Deprecated.workspace -
setParameters
Deprecated.The extra parameters. -
setHeaders
Deprecated.The custom http header. -
equals
Deprecated. -
canEqual
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-