// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using OpenAI;

namespace OpenAI.Assistants
{
    [Experimental("OPENAI001")]
    public partial class FileSearchToolResources
    {
        private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        public FileSearchToolResources() : this(null, null, null)
        {
        }

        internal FileSearchToolResources(IList<string> vectorStoreIds, IList<VectorStoreCreationHelper> newVectorStores, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            // Plugin customization: ensure initialization of collections
            VectorStoreIds = vectorStoreIds ?? new ChangeTrackingList<string>();
            NewVectorStores = newVectorStores ?? new ChangeTrackingList<VectorStoreCreationHelper>();
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public IList<string> VectorStoreIds { get; }

        internal IDictionary<string, BinaryData> SerializedAdditionalRawData
        {
            get => _additionalBinaryDataProperties;
            set => _additionalBinaryDataProperties = value;
        }
    }
}
