commonMain.com.xebia.functional.openai.generated.model.MessageContentImageFileObject.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.MessageContentImageFileObjectImageFile
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 type Always `image_file`.
* @param imageFile
*/
@Serializable
data class MessageContentImageFileObject (
/* Always `image_file`. */
@SerialName(value = "type") val type: MessageContentImageFileObject.Type,
@SerialName(value = "image_file") val imageFile: MessageContentImageFileObjectImageFile
) {
/**
* Always `image_file`.
*
* Values: image_file
*/
@Serializable
enum class Type(val value: kotlin.String) {
@SerialName(value = "image_file") image_file("image_file");
}
}