// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using OpenAI;

namespace OpenAI.RealtimeConversation
{
    internal partial class InternalRealtimeClientEventInputAudioBufferAppend : InternalRealtimeClientEvent
    {
        public InternalRealtimeClientEventInputAudioBufferAppend(BinaryData audio) : base(InternalRealtimeClientEventType.InputAudioBufferAppend)
        {
            Argument.AssertNotNull(audio, nameof(audio));

            Audio = audio;
        }

        internal InternalRealtimeClientEventInputAudioBufferAppend(InternalRealtimeClientEventType kind, string eventId, IDictionary<string, BinaryData> additionalBinaryDataProperties, BinaryData audio) : base(kind, eventId, additionalBinaryDataProperties)
        {
            Audio = audio;
        }

        public BinaryData Audio { get; }
    }
}
