// <auto-generated/>

#nullable disable

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

namespace OpenAI.Responses
{
    internal partial class InternalResponsesFunctionTool : ResponseTool
    {
        public InternalResponsesFunctionTool(string name, string description, BinaryData parameters, bool strict) : base(InternalResponsesToolType.Function)
        {
            Argument.AssertNotNull(name, nameof(name));
            Argument.AssertNotNull(description, nameof(description));
            Argument.AssertNotNull(parameters, nameof(parameters));

            Name = name;
            Description = description;
            Parameters = parameters;
            Strict = strict;
        }

        internal InternalResponsesFunctionTool(InternalResponsesToolType @type, IDictionary<string, BinaryData> additionalBinaryDataProperties, string name, string description, BinaryData parameters, bool strict) : base(@type, additionalBinaryDataProperties)
        {
            Name = name;
            Description = description;
            Parameters = parameters;
            Strict = strict;
        }

        public string Name { get; set; }

        public string Description { get; set; }

        public BinaryData Parameters { get; set; }

        public bool Strict { get; set; }
    }
}
