All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.xebia.functional.openai.generated.model.RunStepDeltaStepDetailsToolCallsCodeObject.kt Maven / Gradle / Ivy

There is a newer version: 0.0.5-alpha.119
Show 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.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter



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 index The index of the tool call in the tool calls array.
    * @param type The type of tool call. This is always going to be `code_interpreter` for this type of tool call.
    * @param id The ID of the tool call.
    * @param codeInterpreter 
*/
@Serializable


data class RunStepDeltaStepDetailsToolCallsCodeObject (
        /* The index of the tool call in the tool calls array. */
    @SerialName(value = "index") val index: kotlin.Int,
        /* The type of tool call. This is always going to be `code_interpreter` for this type of tool call. */
    @SerialName(value = "type") val type: RunStepDeltaStepDetailsToolCallsCodeObject.Type,
        /* The ID of the tool call. */
    @SerialName(value = "id") val id: kotlin.String? = null,
        @SerialName(value = "code_interpreter") val codeInterpreter: RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter? = null
) {

            /**
            * 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");
                }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy