Model

@Serializable
data class Model(val id: ModelId, val created: Long? = null, val ownedBy: String? = null, val permission: List<ModelPermission>? = null)

OpenAI's Model.

Constructors

Link copied to clipboard
constructor(id: ModelId, created: Long? = null, ownedBy: String? = null, permission: List<ModelPermission>? = null)

Properties

Link copied to clipboard
@SerialName(value = "created")
val created: Long? = null
Link copied to clipboard
@SerialName(value = "id")
val id: ModelId
Link copied to clipboard
@SerialName(value = "owned_by")
val ownedBy: String? = null
Link copied to clipboard
@SerialName(value = "permission")
val permission: List<ModelPermission>? = null