// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;

namespace OpenAI.Assistants
{
    [Experimental("OPENAI001")]
    public partial class ToolConstraint
    {
        private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        internal ToolConstraint(InternalAssistantsNamedToolChoiceType? kind)
        {
            Kind = kind;
        }

        internal ToolConstraint(InternalAssistantsNamedToolChoiceType? kind, InternalAssistantsNamedToolChoiceFunction function, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Kind = kind;
            Function = function;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

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