// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Assistants
{
    internal partial class InternalMessageDeltaObject
    {
        internal IDictionary<string, BinaryData> _serializedAdditionalRawData;

        internal InternalMessageDeltaObject(string id, MessageDeltaObjectDelta delta)
        {
            Argument.AssertNotNull(id, nameof(id));
            Argument.AssertNotNull(delta, nameof(delta));

            Id = id;
            Delta = delta;
        }

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

        internal InternalMessageDeltaObject()
        {
        }

        public string Id { get; }
        public string Object { get; } = "thread.message.delta";

        public MessageDeltaObjectDelta Delta { get; }
    }
}
