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

commonMain.com.xebia.functional.openai.generated.model.MessageDeltaContentTextAnnotationsFilePathObject.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.MessageDeltaContentTextAnnotationsFilePathObjectFilePath



import kotlinx.serialization.Serializable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Contextual
import kotlin.js.JsName
import kotlinx.serialization.json.*

/**
* A URL for the file that's generated when the assistant used the `code_interpreter` tool to generate a file.
*
    * @param index The index of the annotation in the text content part.
    * @param type Always `file_path`.
    * @param text The text in the message content that needs to be replaced.
    * @param filePath 
    * @param startIndex 
    * @param endIndex 
*/
@Serializable


data class MessageDeltaContentTextAnnotationsFilePathObject (
        /* The index of the annotation in the text content part. */
    @SerialName(value = "index") val index: kotlin.Int,
        /* Always `file_path`. */
    @SerialName(value = "type") val type: MessageDeltaContentTextAnnotationsFilePathObject.Type,
        /* The text in the message content that needs to be replaced. */
    @SerialName(value = "text") val text: kotlin.String? = null,
        @SerialName(value = "file_path") val filePath: MessageDeltaContentTextAnnotationsFilePathObjectFilePath? = null,
        @SerialName(value = "start_index") val startIndex: kotlin.Int? = null,
        @SerialName(value = "end_index") val endIndex: kotlin.Int? = null
) {

            /**
            * Always `file_path`.
            *
            * Values: file_path
            */
            @Serializable
            enum class Type(val value: kotlin.String) {
                @SerialName(value = "file_path") file_path("file_path");
                }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy