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

commonMain.com.xebia.functional.openai.generated.model.Project.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 kotlinx.serialization.Serializable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Contextual
import kotlin.js.JsName
import kotlinx.serialization.json.*

/**
* Represents an individual project.
*
    * @param id The identifier, which can be referenced in API endpoints
    * @param `object` The object type, which is always `organization.project`
    * @param name The name of the project. This appears in reporting.
    * @param createdAt The Unix timestamp (in seconds) of when the project was created.
    * @param status `active` or `archived`
    * @param archivedAt The Unix timestamp (in seconds) of when the project was archived or `null`.
*/
@Serializable


data class Project (
        /* The identifier, which can be referenced in API endpoints */
    @SerialName(value = "id") val id: kotlin.String,
        /* The object type, which is always `organization.project` */
    @SerialName(value = "object") val `object`: Project.`Object`,
        /* The name of the project. This appears in reporting. */
    @SerialName(value = "name") val name: kotlin.String,
        /* The Unix timestamp (in seconds) of when the project was created. */
    @SerialName(value = "created_at") val createdAt: kotlin.Int,
        /* `active` or `archived` */
    @SerialName(value = "status") val status: Project.Status,
        /* The Unix timestamp (in seconds) of when the project was archived or `null`. */
    @SerialName(value = "archived_at") val archivedAt: kotlin.Int? = null
) {

            /**
            * The object type, which is always `organization.project`
            *
            * Values: organization_project
            */
            @Serializable
            enum class `Object`(val value: kotlin.String) {
                @SerialName(value = "organization.project") organization_project("organization.project");
                }
            /**
            * `active` or `archived`
            *
            * Values: active,archived
            */
            @Serializable
            enum class Status(val value: kotlin.String) {
                @SerialName(value = "active") active("active"),
                @SerialName(value = "archived") archived("archived");
                }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy