// <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, string kind, InternalRunToolCallObjectFunction internalFunction, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Id = id;
            Kind = kind;
            _internalFunction = internalFunction;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string Id { get; }

        public string Kind { get; } = "function";

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