// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Assistants
{
    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;
        }
    }
}
