// <auto-generated/>

#nullable disable

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

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

        internal InternalChatCompletionNamedToolChoice(InternalChatCompletionNamedToolChoiceFunction function)
        {
            Argument.AssertNotNull(function, nameof(function));

            Function = function;
        }

        internal InternalChatCompletionNamedToolChoice(string kind, InternalChatCompletionNamedToolChoiceFunction function, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Kind = kind;
            Function = function;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

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

        internal InternalChatCompletionNamedToolChoiceFunction Function { get; }

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