commonMain.com.xebia.functional.openai.generated.model.MessageDeltaContentImageFileObject.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.MessageDeltaContentImageFileObjectImageFile
import kotlinx.serialization.Serializable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Contextual
import kotlin.js.JsName
import kotlinx.serialization.json.*
/**
* References an image [File](/docs/api-reference/files) in the content of a message.
*
* @param index The index of the content part in the message.
* @param type Always `image_file`.
* @param imageFile
*/
@Serializable
data class MessageDeltaContentImageFileObject (
/* The index of the content part in the message. */
@SerialName(value = "index") val index: kotlin.Int,
/* Always `image_file`. */
@SerialName(value = "type") val type: MessageDeltaContentImageFileObject.Type,
@SerialName(value = "image_file") val imageFile: MessageDeltaContentImageFileObjectImageFile? = null
) {
/**
* Always `image_file`.
*
* Values: image_file
*/
@Serializable
enum class Type(val value: kotlin.String) {
@SerialName(value = "image_file") image_file("image_file");
}
}