commonMain.com.xebia.functional.openai.generated.model.UploadPart.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xef-openai-client-jvm Show documentation
Show all versions of xef-openai-client-jvm Show documentation
Building applications with LLMs through composability in Kotlin
/**
*
* 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.*
/**
* The upload Part represents a chunk of bytes we can add to an Upload object.
*
* @param id The upload Part unique identifier, which can be referenced in API endpoints.
* @param createdAt The Unix timestamp (in seconds) for when the Part was created.
* @param uploadId The ID of the Upload object that this Part was added to.
* @param `object` The object type, which is always `upload.part`.
*/
@Serializable
data class UploadPart (
/* The upload Part unique identifier, which can be referenced in API endpoints. */
@SerialName(value = "id") val id: kotlin.String,
/* The Unix timestamp (in seconds) for when the Part was created. */
@SerialName(value = "created_at") val createdAt: kotlin.Int,
/* The ID of the Upload object that this Part was added to. */
@SerialName(value = "upload_id") val uploadId: kotlin.String,
/* The object type, which is always `upload.part`. */
@SerialName(value = "object") val `object`: UploadPart.`Object`
) {
/**
* The object type, which is always `upload.part`.
*
* Values: upload_part
*/
@Serializable
enum class `Object`(val value: kotlin.String) {
@SerialName(value = "upload.part") upload_part("upload.part");
}
}