PropertyString

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

Property implementation for String values.

Constructors

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

Set of allowed string 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: String

Current string value