// <auto-generated/>

#nullable disable

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

namespace OpenAI.Responses
{
    public partial class FunctionCallOutputResponseItem : ResponseItem
    {
        public FunctionCallOutputResponseItem(string callId, string functionOutput) : base(InternalResponsesItemType.FunctionCallOutput)
        {
            Argument.AssertNotNull(callId, nameof(callId));
            Argument.AssertNotNull(functionOutput, nameof(functionOutput));

            CallId = callId;
            FunctionOutput = functionOutput;
        }

        internal FunctionCallOutputResponseItem(InternalResponsesItemType @type, string id, IDictionary<string, BinaryData> additionalBinaryDataProperties, FunctionCallOutputStatus? status, string callId, string functionOutput) : base(@type, id, additionalBinaryDataProperties)
        {
            Status = status;
            CallId = callId;
            FunctionOutput = functionOutput;
        }

        public FunctionCallOutputStatus? Status { get; }

        public string CallId { get; set; }
    }
}
