// <auto-generated/>

#nullable disable

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

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

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

        internal VectorStoreCreationHelper(IList<string> fileIds, IDictionary<string, string> metadata, FileChunkingStrategy chunkingStrategy, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            // Plugin customization: ensure initialization of collections
            FileIds = fileIds ?? new ChangeTrackingList<string>();
            Metadata = metadata ?? new ChangeTrackingDictionary<string, string>();
            ChunkingStrategy = chunkingStrategy;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public IList<string> FileIds { get; }

        public IDictionary<string, string> Metadata { get; }

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