// <auto-generated/>

#nullable disable

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

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

        public InternalChatCompletionRequestMessageContentPartAudioInputAudio(BinaryData data, ChatInputAudioFormat format)
        {
            Argument.AssertNotNull(data, nameof(data));

            Data = data;
            Format = format;
        }

        internal InternalChatCompletionRequestMessageContentPartAudioInputAudio(BinaryData data, ChatInputAudioFormat format, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Data = data;
            Format = format;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public BinaryData Data { get; }

        public ChatInputAudioFormat Format { get; }

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