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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy