Class RunStepDeltaFileSearchToolCall
java.lang.Object
com.azure.ai.openai.assistants.models.RunStepDeltaToolCall
com.azure.ai.openai.assistants.models.RunStepDeltaFileSearchToolCall
- All Implemented Interfaces:
com.azure.json.JsonSerializable<RunStepDeltaToolCall>
Represents a file search tool call within a streaming run step's tool call details.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of RunStepDeltaFileSearchToolCall from the JsonReader.Get the fileSearch property: Reserved for future use.getType()
Get the type property: The type of the tool call detail item in a streaming run step's details.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Methods inherited from class com.azure.ai.openai.assistants.models.RunStepDeltaToolCall
getId, getIndex
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getType
Get the type property: The type of the tool call detail item in a streaming run step's details.- Overrides:
getType
in classRunStepDeltaToolCall
- Returns:
- the type value.
-
getFileSearch
Get the fileSearch property: Reserved for future use.- Returns:
- the fileSearch value.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<RunStepDeltaToolCall>
- Overrides:
toJson
in classRunStepDeltaToolCall
- Throws:
IOException
-
fromJson
public static RunStepDeltaFileSearchToolCall fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of RunStepDeltaFileSearchToolCall from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of RunStepDeltaFileSearchToolCall if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the RunStepDeltaFileSearchToolCall.
-