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 Details

    • UpdateFileSearchToolResourceOptions

      public UpdateFileSearchToolResourceOptions()
      Creates an instance of UpdateFileSearchToolResourceOptions class.
  • Method Details

    • getVectorStoreIds

      public List<String> getVectorStoreIds()
      Get the vectorStoreIds property: A list of vector store IDs to override the current list of the assistant.
      Returns:
      the vectorStoreIds value.
    • setVectorStoreIds

      public UpdateFileSearchToolResourceOptions setVectorStoreIds(List<String> vectorStoreIds)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.