// <auto-generated/>

#nullable disable

using System;
using System.Collections.Generic;

namespace OpenAI.Audio
{
    public readonly partial struct TranscribedWord
    {
        internal TranscribedWord(string word, TimeSpan startTime, TimeSpan endTime)
        {
            Argument.AssertNotNull(word, nameof(word));

            Word = word;
            StartTime = startTime;
            EndTime = endTime;
        }

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

        public TranscribedWord()
        {
        }

        public string Word { get; }
    }
}
