PropertyInt

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

Property implementation for Int values.

Constructors

Link copied to clipboard
constructor(name: String, value: Int, description: String? = null, fixedValues: Set<Int> = 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<Int>

Set of allowed integer 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: Int

Current integer value