// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Assistants
{
    internal partial class InternalMessageDeltaObject
    {
        internal IDictionary<string, BinaryData> SerializedAdditionalRawData { get; set; }
        internal InternalMessageDeltaObject(string id, MessageDeltaObjectDelta delta)
        {
            Argument.AssertNotNull(id, nameof(id));
            Argument.AssertNotNull(delta, nameof(delta));

            Id = id;
            Delta = delta;
        }

        internal InternalMessageDeltaObject(string id, InternalMessageDeltaObjectObject @object, MessageDeltaObjectDelta delta, IDictionary<string, BinaryData> serializedAdditionalRawData)
        {
            Id = id;
            Object = @object;
            Delta = delta;
            SerializedAdditionalRawData = serializedAdditionalRawData;
        }

        internal InternalMessageDeltaObject()
        {
        }

        public string Id { get; }
        public InternalMessageDeltaObjectObject Object { get; } = InternalMessageDeltaObjectObject.ThreadMessageDelta;

        public MessageDeltaObjectDelta Delta { get; }
    }
}
