// <auto-generated/>

#nullable disable

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

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

        internal InternalRunObjectRequiredActionSubmitToolOutputs() : this(null, null)
        {
        }

        internal InternalRunObjectRequiredActionSubmitToolOutputs(IReadOnlyList<InternalRequiredFunctionToolCall> toolCalls, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            // Plugin customization: ensure initialization of collections
            ToolCalls = toolCalls ?? new ChangeTrackingList<InternalRequiredFunctionToolCall>();
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        internal IReadOnlyList<InternalRequiredFunctionToolCall> ToolCalls { get; }

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