// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.RealtimeConversation
{
    public partial class ConversationInputSpeechFinishedUpdate : ConversationUpdate
    {
        internal ConversationInputSpeechFinishedUpdate(string eventId, string itemId, int audioEndMs) : base(eventId, RealtimeConversation.ConversationUpdateKind.InputSpeechStopped)
        {
            ItemId = itemId;
            _audioEndMs = audioEndMs;
        }

        internal ConversationInputSpeechFinishedUpdate(string eventId, RealtimeConversation.ConversationUpdateKind kind, IDictionary<string, BinaryData> additionalBinaryDataProperties, string itemId, int audioEndMs) : base(eventId, kind, additionalBinaryDataProperties)
        {
            ItemId = itemId;
            _audioEndMs = audioEndMs;
        }

        public string ItemId { get; }
    }
}
