commonMain.com.xebia.functional.openai.generated.model.MessageDeltaObject.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.MessageDeltaObjectDelta
import kotlinx.serialization.Serializable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Contextual
import kotlin.js.JsName
import kotlinx.serialization.json.*
/**
* Represents a message delta i.e. any changed fields on a message during streaming.
*
* @param id The identifier of the message, which can be referenced in API endpoints.
* @param `object` The object type, which is always `thread.message.delta`.
* @param delta
*/
@Serializable
data class MessageDeltaObject (
/* The identifier of the message, which can be referenced in API endpoints. */
@SerialName(value = "id") val id: kotlin.String,
/* The object type, which is always `thread.message.delta`. */
@SerialName(value = "object") val `object`: MessageDeltaObject.`Object`,
@SerialName(value = "delta") val delta: MessageDeltaObjectDelta
) {
/**
* The object type, which is always `thread.message.delta`.
*
* Values: thread_message_delta
*/
@Serializable
enum class `Object`(val value: kotlin.String) {
@SerialName(value = "thread.message.delta") thread_message_delta("thread.message.delta");
}
}