commonMain.com.xebia.functional.openai.generated.model.BatchRequestOutput.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-jvm Show documentation
Show all versions of xef-openai-client-jvm Show documentation
Building applications with LLMs through composability in Kotlin
/**
*
* 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.BatchRequestOutputError
import com.xebia.functional.openai.generated.model.BatchRequestOutputResponse
import kotlinx.serialization.Serializable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Contextual
import kotlin.js.JsName
import kotlinx.serialization.json.*
/**
* The per-line object of the batch output and error files
*
* @param id
* @param customId A developer-provided per-request id that will be used to match outputs to inputs.
* @param response
* @param error
*/
@Serializable
data class BatchRequestOutput (
@SerialName(value = "id") val id: kotlin.String? = null,
/* A developer-provided per-request id that will be used to match outputs to inputs. */
@SerialName(value = "custom_id") val customId: kotlin.String? = null,
@SerialName(value = "response") val response: BatchRequestOutputResponse? = null,
@SerialName(value = "error") val error: BatchRequestOutputError? = null
) {
}