// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

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

            Type = InternalRealtimeRequestItemType.FunctionCall;
            Name = name;
            CallId = callId;
            Arguments = arguments;
        }

        internal InternalRealtimeRequestFunctionCallItem(InternalRealtimeRequestItemType type, string id, IDictionary<string, BinaryData> serializedAdditionalRawData, string name, string callId, string arguments, ConversationItemStatus? status) : base(type, id, serializedAdditionalRawData)
        {
            Name = name;
            CallId = callId;
            Arguments = arguments;
            Status = status;
        }

        internal InternalRealtimeRequestFunctionCallItem()
        {
        }

        public string Name { get; }
        public string CallId { get; }
        public string Arguments { get; }
        public ConversationItemStatus? Status { get; set; }
    }
}
