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

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

There is a newer version: 0.0.5-alpha.118
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 kotlinx.serialization.Serializable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Contextual
import kotlin.js.JsName
import kotlinx.serialization.json.*

/**
* 
*
    * @param url The external URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp.
    * @param detail Specifies the detail level of the image. `low` uses fewer tokens, you can opt in to high resolution using `high`. Default value is `auto`
*/
@Serializable


data class MessageContentImageUrlObjectImageUrl (
        /* The external URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp. */
    @SerialName(value = "url") val url: kotlin.String,
        /* Specifies the detail level of the image. `low` uses fewer tokens, you can opt in to high resolution using `high`. Default value is `auto` */
    @SerialName(value = "detail") val detail: MessageContentImageUrlObjectImageUrl.Detail? = Detail.auto
) {

            /**
            * Specifies the detail level of the image. `low` uses fewer tokens, you can opt in to high resolution using `high`. Default value is `auto`
            *
            * Values: auto,low,high
            */
            @Serializable
            enum class Detail(val value: kotlin.String) {
                @SerialName(value = "auto") auto("auto"),
                @SerialName(value = "low") low("low"),
                @SerialName(value = "high") high("high");
                }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy