// <auto-generated/>

#nullable disable

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

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

        internal InternalCreateTranscriptionResponseJsonLogprob() : this(null, default, null, null)
        {
        }

        internal InternalCreateTranscriptionResponseJsonLogprob(string token, float? logprob, IList<float> bytes, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            // Plugin customization: ensure initialization of collections
            Token = token;
            Logprob = logprob;
            Bytes = bytes ?? new ChangeTrackingList<float>();
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string Token { get; }

        public float? Logprob { get; }

        public IList<float> Bytes { get; }

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