// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

        public InternalFunctionDefinition(string name)
        {
            Argument.AssertNotNull(name, nameof(name));

            Name = name;
        }

        internal InternalFunctionDefinition(string description, string name, bool? strict, BinaryData parameters, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Description = description;
            Name = name;
            Strict = strict;
            Parameters = parameters;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string Description { get; set; }

        public string Name { get; set; }

        public bool? Strict { get; set; }

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