File

@Serializable
data class File(val id: FileId, val bytes: Int, val createdAt: Long, val filename: String, val purpose: Purpose, val status: Status? = null, val format: String? = null, val statusDetails: String? = null)

File details.

Constructors

Link copied to clipboard
constructor(id: FileId, bytes: Int, createdAt: Long, filename: String, purpose: Purpose, status: Status? = null, format: String? = null, statusDetails: String? = null)

Properties

Link copied to clipboard
val bytes: Int

File size.

Link copied to clipboard

File creation date.

Link copied to clipboard

File name.

Link copied to clipboard
val format: String? = null

File format.

Link copied to clipboard
val id: FileId

A unique id assigned to this file.

Link copied to clipboard

File purpose.

Link copied to clipboard
val status: Status? = null

File status.

Link copied to clipboard
val statusDetails: String? = null

File status details