// <auto-generated/>

#nullable disable

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

namespace OpenAI.Realtime
{
    [Experimental("OPENAI002")]
    public partial class InputAudioTranscriptionFailedUpdate : RealtimeUpdate
    {
        internal InputAudioTranscriptionFailedUpdate(string itemId, int contentIndex, InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError error) : base(RealtimeUpdateKind.InputTranscriptionFailed)
        {
            ItemId = itemId;
            ContentIndex = contentIndex;
            _error = error;
        }

        internal InputAudioTranscriptionFailedUpdate(RealtimeUpdateKind kind, string eventId, IDictionary<string, BinaryData> additionalBinaryDataProperties, string itemId, int contentIndex, InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError error) : base(kind, eventId, additionalBinaryDataProperties)
        {
            ItemId = itemId;
            ContentIndex = contentIndex;
            _error = error;
        }

        public string ItemId { get; }

        public int ContentIndex { get; }
    }
}
