// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using OpenAI;

namespace OpenAI.Assistants
{
    public partial class ThreadCreationOptions
    {
        private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        public ThreadCreationOptions()
        {
            Metadata = new ChangeTrackingDictionary<string, string>();
            InternalMessages = new ChangeTrackingList<MessageCreationOptions>();
        }

        internal ThreadCreationOptions(IDictionary<string, string> metadata, ToolResources toolResources, IList<MessageCreationOptions> internalMessages, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Metadata = metadata;
            ToolResources = toolResources;
            InternalMessages = internalMessages;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

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

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