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

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



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

/**
* The delta containing the fields that have changed on the Message.
*
    * @param role The entity that produced the message. One of `user` or `assistant`.
    * @param content The content of the message in array of text and/or images.
*/
@Serializable


data class MessageDeltaObjectDelta (
        /* The entity that produced the message. One of `user` or `assistant`. */
    @SerialName(value = "role") val role: MessageDeltaObjectDelta.Role? = null,
        /* The content of the message in array of text and/or images. */
    @SerialName(value = "content") val content: kotlin.collections.List? = null
) {

            /**
            * The entity that produced the message. One of `user` or `assistant`.
            *
            * Values: user,assistant
            */
            @Serializable
            enum class Role(val value: kotlin.String) {
                @SerialName(value = "user") user("user"),
                @SerialName(value = "assistant") assistant("assistant");
                }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy