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

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

/**
* Represents an individual service account in a project.
*
    * @param `object` The object type, which is always `organization.project.service_account`
    * @param id The identifier, which can be referenced in API endpoints
    * @param name The name of the service account
    * @param role `owner` or `member`
    * @param createdAt The Unix timestamp (in seconds) of when the service account was created
*/
@Serializable


data class ProjectServiceAccount (
        /* The object type, which is always `organization.project.service_account` */
    @SerialName(value = "object") val `object`: ProjectServiceAccount.`Object`,
        /* The identifier, which can be referenced in API endpoints */
    @SerialName(value = "id") val id: kotlin.String,
        /* The name of the service account */
    @SerialName(value = "name") val name: kotlin.String,
        /* `owner` or `member` */
    @SerialName(value = "role") val role: ProjectServiceAccount.Role,
        /* The Unix timestamp (in seconds) of when the service account was created */
    @SerialName(value = "created_at") val createdAt: kotlin.Int
) {

            /**
            * The object type, which is always `organization.project.service_account`
            *
            * Values: organization_project_service_account
            */
            @Serializable
            enum class `Object`(val value: kotlin.String) {
                @SerialName(value = "organization.project.service_account") organization_project_service_account("organization.project.service_account");
                }
            /**
            * `owner` or `member`
            *
            * Values: owner,member
            */
            @Serializable
            enum class Role(val value: kotlin.String) {
                @SerialName(value = "owner") owner("owner"),
                @SerialName(value = "member") member("member");
                }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy