// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        internal StreamingChatToolCallUpdate(int index, InternalChatCompletionMessageToolCallChunkFunction function, Chat.ChatToolCallKind kind, string toolCallId, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Index = index;
            Function = function;
            Kind = kind;
            ToolCallId = toolCallId;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public int Index { get; }

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