// <auto-generated/>

#nullable disable

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

namespace OpenAI.Realtime
{
    [Experimental("OPENAI002")]
    public partial class InputAudioSpeechFinishedUpdate : RealtimeUpdate
    {
        internal InputAudioSpeechFinishedUpdate(string itemId, int audioEndMs) : base(RealtimeUpdateKind.InputSpeechStopped)
        {
            ItemId = itemId;
            _audioEndMs = audioEndMs;
        }

        internal InputAudioSpeechFinishedUpdate(RealtimeUpdateKind kind, string eventId, IDictionary<string, BinaryData> additionalBinaryDataProperties, string itemId, int audioEndMs) : base(kind, eventId, additionalBinaryDataProperties)
        {
            ItemId = itemId;
            _audioEndMs = audioEndMs;
        }

        public string ItemId { get; }
    }
}
