// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.RealtimeConversation
{
    internal partial class InternalRealtimeToolChoiceFunctionObject : InternalRealtimeToolChoiceObject
    {
        public InternalRealtimeToolChoiceFunctionObject(InternalRealtimeToolChoiceFunctionObjectFunction function)
        {
            Argument.AssertNotNull(function, nameof(function));

            Type = ConversationToolKind.Function;
            Function = function;
        }

        internal InternalRealtimeToolChoiceFunctionObject(ConversationToolKind type, IDictionary<string, BinaryData> serializedAdditionalRawData, InternalRealtimeToolChoiceFunctionObjectFunction function) : base(type, serializedAdditionalRawData)
        {
            Function = function;
        }

        internal InternalRealtimeToolChoiceFunctionObject()
        {
        }

        public InternalRealtimeToolChoiceFunctionObjectFunction Function { get; set; }
    }
}
