commonMain.com.xebia.functional.openai.generated.model.RunStepDetailsToolCallsCodeObject.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.RunStepDetailsToolCallsCodeObjectCodeInterpreter
import kotlinx.serialization.Serializable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Contextual
import kotlin.js.JsName
import kotlinx.serialization.json.*
/**
* Details of the Code Interpreter tool call the run step was involved in.
*
* @param id The ID of the tool call.
* @param type The type of tool call. This is always going to be `code_interpreter` for this type of tool call.
* @param codeInterpreter
*/
@Serializable
data class RunStepDetailsToolCallsCodeObject (
/* The ID of the tool call. */
@SerialName(value = "id") val id: kotlin.String,
/* The type of tool call. This is always going to be `code_interpreter` for this type of tool call. */
@SerialName(value = "type") val type: RunStepDetailsToolCallsCodeObject.Type,
@SerialName(value = "code_interpreter") val codeInterpreter: RunStepDetailsToolCallsCodeObjectCodeInterpreter
) {
/**
* The type of tool call. This is always going to be `code_interpreter` for this type of tool call.
*
* Values: code_interpreter
*/
@Serializable
enum class Type(val value: kotlin.String) {
@SerialName(value = "code_interpreter") code_interpreter("code_interpreter");
}
}