using System;
namespace OpenAI.Audio;
[CodeGenModel("CreateTranslationResponseVerboseJson")]
public partial class AudioTranslation
{
// CUSTOM: Made private. This property does not add value in the context of a strongly-typed class.
private InternalCreateTranslationResponseVerboseJsonTask Task { get; } = InternalCreateTranslationResponseVerboseJsonTask.Translate;
// CUSTOM: Made nullable because this is an optional property.
/// <summary> The duration of the input audio. </summary>
public TimeSpan? Duration { get; }
}openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
src/Custom/Audio/AudioTranslation.cs
14lines · modepreview