FunctionName Class
- java.
lang. Object - com.
azure. ai. agents. persistent. models. FunctionName
- com.
Implements
public final class FunctionName
implements JsonSerializable<FunctionName>
The function name that will be used, if using the `function` tool.
Constructor Summary
| Constructor | Description |
|---|---|
| FunctionName(String name) |
Creates an instance of Function |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Function |
fromJson(JsonReader jsonReader)
Reads an instance of Function |
| String |
getName()
Get the name property: The name of the function to call. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
FunctionName
public FunctionName(String name)
Creates an instance of FunctionName class.
Parameters:
Method Details
fromJson
public static FunctionName fromJson(JsonReader jsonReader)
Reads an instance of FunctionName from the JsonReader.
Parameters:
Returns:
Throws:
getName
public String getName()
Get the name property: The name of the function to call.
Returns: