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

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



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

/**
* 
*
    * @param `object` 
    * @param id 
    * @param name 
    * @param role Service accounts can only have one role of type `member`
    * @param createdAt 
    * @param apiKey 
*/
@Serializable


data class ProjectServiceAccountCreateResponse (
        @SerialName(value = "object") val `object`: ProjectServiceAccountCreateResponse.`Object`,
        @SerialName(value = "id") val id: kotlin.String,
        @SerialName(value = "name") val name: kotlin.String,
        /* Service accounts can only have one role of type `member` */
    @SerialName(value = "role") val role: ProjectServiceAccountCreateResponse.Role,
        @SerialName(value = "created_at") val createdAt: kotlin.Int,
        @SerialName(value = "api_key") val apiKey: ProjectServiceAccountApiKey
) {

            /**
            * 
            *
            * 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");
                }
            /**
            * Service accounts can only have one role of type `member`
            *
            * Values: member
            */
            @Serializable
            enum class Role(val value: kotlin.String) {
                @SerialName(value = "member") member("member");
                }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy