commonMain.com.xebia.functional.openai.generated.model.ProjectServiceAccountCreateResponse.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 Show documentation
Show all versions of xef-openai-client Show documentation
Building applications with LLMs through composability in Kotlin
The 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");
}
}