// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Chat
{
    public partial class StreamingChatOutputAudioUpdate
    {
        private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        internal StreamingChatOutputAudioUpdate()
        {
        }

        internal StreamingChatOutputAudioUpdate(string id, DateTimeOffset? expiresAt, string transcriptUpdate, BinaryData audioBytesUpdate, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Id = id;
            ExpiresAt = expiresAt;
            TranscriptUpdate = transcriptUpdate;
            AudioBytesUpdate = audioBytesUpdate;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string Id { get; }

        public DateTimeOffset? ExpiresAt { get; }

        internal IDictionary<string, BinaryData> SerializedAdditionalRawData
        {
            get => _additionalBinaryDataProperties;
            set => _additionalBinaryDataProperties = value;
        }
    }
}
