OperationalStateTrait.OperationalStateStruct

class OperationalStateTrait.OperationalStateStruct


Used to indicate a possible state of the device.

Summary

Public constructors

OperationalStateStruct(
    operationalStateId: UByte,
    operationalStateLabel: OptionalValue<String>
)

Creates the OperationalStateStruct class.

Public properties

UByte
OptionalValue<String>

A human-readable description of the operational state.

Public constructors

OperationalStateStruct

OperationalStateStruct(
    operationalStateId: UByte,
    operationalStateLabel: OptionalValue<String> = OptionalValue.absent()
)

Creates the OperationalStateStruct class.

Public properties

operationalStateId

val operationalStateIdUByte

operationalStateLabel

val operationalStateLabelOptionalValue<String>

A human-readable description of the operational state. Only present when the operationalStateId is vendor-specific.