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