// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Realtime
{
    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; }
    }
}
