Bucket

@Serializable
data class Bucket(val createdAt: Instant, val id: String, val name: String, val owner: String, val updatedAt: Instant, val public: Boolean, val allowedMimeTypes: List<String>? = null, val fileSizeLimit: Long? = null)(source)

Represents a storage bucket

Parameters

createdAt

The creation date of the bucket

id

The id of the bucket

name

The name of the bucket

owner

The owner of the bucket

updatedAt

The last update date of the bucket

public

Whether the bucket is public

allowedMimeTypes

The allowed mime types for the bucket

fileSizeLimit

The file size limit for the bucket

See also

Constructors

Link copied to clipboard
constructor(createdAt: Instant, id: String, name: String, owner: String, updatedAt: Instant, public: Boolean, allowedMimeTypes: List<String>? = null, fileSizeLimit: Long? = null)

Properties

Link copied to clipboard
@SerialName(value = "allowed_mime_types")
val allowedMimeTypes: List<String>? = null
Link copied to clipboard
@SerialName(value = "created_at")
val createdAt: Instant
Link copied to clipboard
@SerialName(value = "file_size_limit")
val fileSizeLimit: Long? = null
Link copied to clipboard
@SerialName(value = "id")
val id: String
Link copied to clipboard
@SerialName(value = "name")
val name: String
Link copied to clipboard
@SerialName(value = "owner")
val owner: String
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "updated_at")
val updatedAt: Instant