// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.RealtimeConversation
{
    public partial class ConversationItemDeletedUpdate : ConversationUpdate
    {
        internal ConversationItemDeletedUpdate(string eventId, string itemId) : base(eventId)
        {
            Argument.AssertNotNull(itemId, nameof(itemId));

            Kind = ConversationUpdateKind.ItemDeleted;
            ItemId = itemId;
        }

        internal ConversationItemDeletedUpdate(ConversationUpdateKind kind, string eventId, IDictionary<string, BinaryData> serializedAdditionalRawData, string itemId) : base(kind, eventId, serializedAdditionalRawData)
        {
            ItemId = itemId;
        }

        internal ConversationItemDeletedUpdate()
        {
        }

        public string ItemId { get; }
    }
}
