// <auto-generated/>

#nullable disable

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

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

        internal InternalMessageDeltaObjectDelta()
        {
            Content = new ChangeTrackingList<InternalMessageDeltaContent>();
        }

        internal InternalMessageDeltaObjectDelta(IList<InternalMessageDeltaContent> content, Assistants.MessageRole? role, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Content = content;
            Role = role;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public IList<InternalMessageDeltaContent> Content { get; }

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