Class UpdateFileSearchToolResourceOptions
java.lang.Object
com.azure.ai.openai.assistants.models.UpdateFileSearchToolResourceOptions
- All Implemented Interfaces:
com.azure.json.JsonSerializable<UpdateFileSearchToolResourceOptions>
public final class UpdateFileSearchToolResourceOptions
extends Object
implements com.azure.json.JsonSerializable<UpdateFileSearchToolResourceOptions>
Request object to update `file_search` tool resources.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of UpdateFileSearchToolResourceOptions class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of UpdateFileSearchToolResourceOptions from the JsonReader.Get the vectorStoreIds property: A list of vector store IDs to override the current list of the assistant.setVectorStoreIds
(List<String> vectorStoreIds) Set the vectorStoreIds property: A list of vector store IDs to override the current list of the assistant.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) 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
-
Constructor Details
-
UpdateFileSearchToolResourceOptions
public UpdateFileSearchToolResourceOptions()Creates an instance of UpdateFileSearchToolResourceOptions class.
-
-
Method Details
-
getVectorStoreIds
Get the vectorStoreIds property: A list of vector store IDs to override the current list of the assistant.- Returns:
- the vectorStoreIds value.
-
setVectorStoreIds
Set the vectorStoreIds property: A list of vector store IDs to override the current list of the assistant.- Parameters:
vectorStoreIds
- the vectorStoreIds value to set.- Returns:
- the UpdateFileSearchToolResourceOptions object itself.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<UpdateFileSearchToolResourceOptions>
- Throws:
IOException
-
fromJson
public static UpdateFileSearchToolResourceOptions fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of UpdateFileSearchToolResourceOptions from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of UpdateFileSearchToolResourceOptions if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the UpdateFileSearchToolResourceOptions.
-