// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.RealtimeConversation
{
    internal partial class InternalRealtimeRequestFunctionCallOutputItem : ConversationItem
    {
        public InternalRealtimeRequestFunctionCallOutputItem(string callId, string output)
        {
            Argument.AssertNotNull(callId, nameof(callId));
            Argument.AssertNotNull(output, nameof(output));

            Type = InternalRealtimeRequestItemType.FunctionCallOutput;
            CallId = callId;
            Output = output;
        }

        internal InternalRealtimeRequestFunctionCallOutputItem(InternalRealtimeRequestItemType type, string id, IDictionary<string, BinaryData> serializedAdditionalRawData, string callId, string output) : base(type, id, serializedAdditionalRawData)
        {
            CallId = callId;
            Output = output;
        }

        internal InternalRealtimeRequestFunctionCallOutputItem()
        {
        }

        public string CallId { get; }
        public string Output { get; }
    }
}
