// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;

namespace OpenAI.Audio
{
    [Experimental("OPENAI001")]
    public partial class AudioTokenLogProbabilityDetails
    {
        private protected IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        internal AudioTokenLogProbabilityDetails(string token, float logProbability, ReadOnlyMemory<byte> utf8Bytes)
        {
            Token = token;
            LogProbability = logProbability;
            Utf8Bytes = utf8Bytes;
        }

        internal AudioTokenLogProbabilityDetails(string token, float logProbability, ReadOnlyMemory<byte> utf8Bytes, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Token = token;
            LogProbability = logProbability;
            Utf8Bytes = utf8Bytes;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string Token { get; }

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