PropertyInstant

@Serializable
@SerialName(value = "instant")
data class PropertyInstant(val name: String, val value: Instant, val description: String? = null, val fixedValues: Set<Instant> = emptySet(), val readOnly: Boolean = false) : Property<Instant> (source)

Property implementation for Instant values.

Constructors

Link copied to clipboard
constructor(name: String, value: Instant, description: String? = null, fixedValues: Set<Instant> = emptySet(), readOnly: Boolean = false)

Properties

Link copied to clipboard
open override val description: String?

Optional description

Link copied to clipboard
open override val fixedValues: Set<Instant>

Set of allowed instant values (empty if no restrictions)

Link copied to clipboard

Checks if this property has fixed values defined.

Link copied to clipboard
open override val name: String

Unique name of the property

Link copied to clipboard
open override val readOnly: Boolean

Whether the property is read-only

Link copied to clipboard
open override val value: Instant

Current instant value