commonMain.com.xebia.functional.openai.generated.model.MessageDeltaContentTextAnnotationsFilePathObject.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
/**
*
* 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.MessageDeltaContentTextAnnotationsFilePathObjectFilePath
import kotlinx.serialization.Serializable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Contextual
import kotlin.js.JsName
import kotlinx.serialization.json.*
/**
* A URL for the file that's generated when the assistant used the `code_interpreter` tool to generate a file.
*
* @param index The index of the annotation in the text content part.
* @param type Always `file_path`.
* @param text The text in the message content that needs to be replaced.
* @param filePath
* @param startIndex
* @param endIndex
*/
@Serializable
data class MessageDeltaContentTextAnnotationsFilePathObject (
/* The index of the annotation in the text content part. */
@SerialName(value = "index") val index: kotlin.Int,
/* Always `file_path`. */
@SerialName(value = "type") val type: MessageDeltaContentTextAnnotationsFilePathObject.Type,
/* The text in the message content that needs to be replaced. */
@SerialName(value = "text") val text: kotlin.String? = null,
@SerialName(value = "file_path") val filePath: MessageDeltaContentTextAnnotationsFilePathObjectFilePath? = null,
@SerialName(value = "start_index") val startIndex: kotlin.Int? = null,
@SerialName(value = "end_index") val endIndex: kotlin.Int? = null
) {
/**
* Always `file_path`.
*
* Values: file_path
*/
@Serializable
enum class Type(val value: kotlin.String) {
@SerialName(value = "file_path") file_path("file_path");
}
}