// <auto-generated/>

#nullable disable

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

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

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

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

        public IList<string> FileIds { get; }

        public string Name { get; set; }

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

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