TemplateInfo

data class TemplateInfo(val id: TemplateId, val versionId: TemplateId?, val name: String?, val category: String?, val comment: String?, val tags: List<String>, val type: String?, val size: Long?, val origin: TemplateOrigin?, val createdAt: Instant?, val deployedAt: Instant?, val expireAt: Instant?)

One entry of GET /templates.

Constructors

Link copied to clipboard
constructor(id: TemplateId, versionId: TemplateId?, name: String?, category: String?, comment: String?, tags: List<String>, type: String?, size: Long?, origin: TemplateOrigin?, createdAt: Instant?, deployedAt: Instant?, expireAt: Instant?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Upload timestamp, when reported by Carbone.

Link copied to clipboard

Deployment timestamp used to pick the active version, when reported by Carbone.

Link copied to clipboard

Scheduled deletion, when one is set.

Link copied to clipboard
Link copied to clipboard
val name: String?
Link copied to clipboard
Link copied to clipboard
val size: Long?

Content size in bytes, when reported by Carbone.

Link copied to clipboard
Link copied to clipboard
val type: String?

File type/extension reported by Carbone, when available.

Link copied to clipboard

Content hash of the currently deployed version, when versioning is used.