TemplatePatch

data class TemplatePatch(val id: TemplateId? = null, val name: String? = null, val comment: String? = null, val category: String? = null, val tags: List<String>? = null, val expireAt: Instant? = null, val deployedAt: Instant? = null)

Fields accepted by PATCH /template/{id}. null means "leave unchanged".

Constructors

Link copied to clipboard
constructor(id: TemplateId? = null, name: String? = null, comment: String? = null, category: String? = null, tags: List<String>? = null, expireAt: Instant? = null, deployedAt: Instant? = null)

Properties

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

Set to Instant.EPOCH to cancel a scheduled deletion.

Link copied to clipboard

Moves the template to a different (or new) template id.

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