commonMain.com.xebia.functional.openai.generated.model.CreateTranslationResponseVerboseJson.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xef-openai-client Show documentation
Show all versions of xef-openai-client Show documentation
Building applications with LLMs through composability in Kotlin
The newest version!
/**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package com.xebia.functional.openai.generated.model
import com.xebia.functional.openai.generated.model.TranscriptionSegment
import kotlinx.serialization.Serializable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Contextual
import kotlin.js.JsName
import kotlinx.serialization.json.*
/**
*
*
* @param language The language of the output translation (always `english`).
* @param duration The duration of the input audio.
* @param text The translated text.
* @param segments Segments of the translated text and their corresponding details.
*/
@Serializable
data class CreateTranslationResponseVerboseJson (
/* The language of the output translation (always `english`). */
@SerialName(value = "language") val language: kotlin.String,
/* The duration of the input audio. */
@SerialName(value = "duration") val duration: kotlin.String,
/* The translated text. */
@SerialName(value = "text") val text: kotlin.String,
/* Segments of the translated text and their corresponding details. */
@SerialName(value = "segments") val segments: kotlin.collections.List? = null
) {
}