// <auto-generated/>

#nullable disable

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

namespace OpenAI.Responses
{
    [Experimental("OPENAI001")]
    public partial class FunctionCallResponseItem : ResponseItem
    {
        internal FunctionCallResponseItem(string id, string callId, string functionName, BinaryData functionArguments, FunctionCallStatus? status) : base(InternalItemType.FunctionCall, id)
        {
            CallId = callId;
            FunctionName = functionName;
            FunctionArguments = functionArguments;
            Status = status;
        }

        internal FunctionCallResponseItem(InternalItemType kind, string id, IDictionary<string, BinaryData> additionalBinaryDataProperties, string callId, string functionName, BinaryData functionArguments, FunctionCallStatus? status) : base(kind, id, additionalBinaryDataProperties)
        {
            CallId = callId;
            FunctionName = functionName;
            FunctionArguments = functionArguments;
            Status = status;
        }

        public string CallId { get; }
    }
}
