// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Audio
{
    public readonly partial struct TranscribedWord
    {
        private readonly IDictionary<string, BinaryData> _additionalBinaryDataProperties;

        internal TranscribedWord(string word, TimeSpan startTime, TimeSpan endTime)
        {
            Word = word;
            StartTime = startTime;
            EndTime = endTime;
        }

        internal TranscribedWord(string word, TimeSpan startTime, TimeSpan endTime, IDictionary<string, BinaryData> additionalBinaryDataProperties)
        {
            Word = word;
            StartTime = startTime;
            EndTime = endTime;
            _additionalBinaryDataProperties = additionalBinaryDataProperties;
        }

        public string Word { get; }

        internal IDictionary<string, BinaryData> SerializedAdditionalRawData => _additionalBinaryDataProperties;
    }
}
