Class ApiServiceOption
java.lang.Object
com.alibaba.dashscope.legacy_2x.protocol.ApiServiceOption
- All Implemented Interfaces:
ServiceOption
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classApiServiceOption.ApiServiceOptionBuilder<C extends ApiServiceOption,B extends ApiServiceOption.ApiServiceOptionBuilder<C, B>> Deprecated. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic ApiServiceOption.ApiServiceOptionBuilder<?,?> builder()Deprecated.booleanDeprecated.Deprecated.The request base urlDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.getIsSSE()Deprecated.Deprecated.SDK module name for tracking headers (e.g.Deprecated.Deprecated.Deprecated.getTask()Deprecated.Deprecated.inthashCode()Deprecated.httpUrl()Deprecated.booleanDeprecated.voidsetBaseHttpUrl(String baseHttpUrl) Deprecated.The request base urlvoidsetBaseWebSocketUrl(String baseWebSocketUrl) Deprecated.voidsetFunction(String function) Deprecated.voidsetHttpMethod(HttpMethod httpMethod) Deprecated.voidsetIsAsyncTask(Boolean isAsyncTask) Deprecated.voidsetIsService(Boolean isService) Deprecated.voidDeprecated.voidsetOutputMode(OutputMode outputMode) Deprecated.voidsetPassTaskStarted(boolean passTaskStarted) Deprecated.voidsetProtocol(Protocol protocol) Deprecated.voidsetStreamingMode(StreamingMode streamingMode) Deprecated.voidDeprecated.voidsetTaskGroup(String taskGroup) Deprecated.toString()Deprecated.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.alibaba.dashscope.legacy_2x.protocol.ServiceOption
getIsFlatten, webSocketUrl
-
Constructor Details
-
ApiServiceOption
Deprecated.
-
-
Method Details
-
httpUrl
Deprecated.- Specified by:
httpUrlin interfaceServiceOption
-
getModule
Deprecated.Description copied from interface:ServiceOptionSDK module name for tracking headers (e.g. "aigc", "audio").- Specified by:
getModulein interfaceServiceOption- Returns:
- module identifier, or null if unknown
-
builder
Deprecated. -
getStreamingMode
Deprecated.- Specified by:
getStreamingModein interfaceServiceOption
-
getOutputMode
Deprecated.- Specified by:
getOutputModein interfaceServiceOption
-
getProtocol
Deprecated.- Specified by:
getProtocolin interfaceServiceOption
-
getHttpMethod
Deprecated.- Specified by:
getHttpMethodin interfaceServiceOption
-
getTaskGroup
Deprecated.- Specified by:
getTaskGroupin interfaceServiceOption
-
getTask
Deprecated.- Specified by:
getTaskin interfaceServiceOption
-
getFunction
Deprecated.- Specified by:
getFunctionin interfaceServiceOption
-
getIsAsyncTask
Deprecated.- Specified by:
getIsAsyncTaskin interfaceServiceOption
-
getIsSSE
Deprecated.- Specified by:
getIsSSEin interfaceServiceOption
-
getIsService
Deprecated. -
getBaseHttpUrl
Deprecated.The request base url- Specified by:
getBaseHttpUrlin interfaceServiceOption
-
getBaseWebSocketUrl
Deprecated.- Specified by:
getBaseWebSocketUrlin interfaceServiceOption
-
isPassTaskStarted
public boolean isPassTaskStarted()Deprecated. -
setStreamingMode
Deprecated. -
setOutputMode
Deprecated. -
setProtocol
Deprecated. -
setHttpMethod
Deprecated. -
setTaskGroup
Deprecated. -
setTask
Deprecated. -
setFunction
Deprecated. -
setIsAsyncTask
Deprecated. -
setIsSSE
Deprecated. -
setIsService
Deprecated. -
setBaseHttpUrl
Deprecated.The request base url -
setBaseWebSocketUrl
Deprecated. -
setPassTaskStarted
public void setPassTaskStarted(boolean passTaskStarted) Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-