public class Tool extends AbstractModel
header, skipSign
Constructor and Description |
---|
Tool() |
Tool(Tool source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
ToolFunction |
getFunction()
Get 具体要调用的function
|
String |
getType()
Get 工具类型,当前只支持function
|
void |
setFunction(ToolFunction Function)
Set 具体要调用的function
|
void |
setType(String Type)
Set 工具类型,当前只支持function
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public Tool()
public Tool(Tool source)
public String getType()
public void setType(String Type)
Type
- 工具类型,当前只支持functionpublic ToolFunction getFunction()
public void setFunction(ToolFunction Function)
Function
- 具体要调用的functionCopyright © 2025. All rights reserved.