// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        internal InternalRequiredFunctionToolCall(string id, InternalRunToolCallObjectFunction internalFunction)
        {
            Id = id;
            _internalFunction = internalFunction;
        }

        internal InternalRequiredFunctionToolCall(string id, object @type, InternalRunToolCallObjectFunction internalFunction, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Id = id;
            _type = @type;
            _internalFunction = internalFunction;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string Id { get; }

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