MicrowaveOvenModeTrait.ModeOptionStruct

class MicrowaveOvenModeTrait.ModeOptionStruct


Represents the possible mode of the MicrowaveOvenMode instance.

Summary

Public constructors

ModeOptionStruct(
    label: String,
    mode: UByte,
    modeTags: List<MicrowaveOvenModeTrait.ModeTagStruct>
)

Creates the ModeOptionStruct class.

Public properties

String

Readable text that describes the mode option for the user.

UByte

Identifies the mode option for the supportedModes attribute.

List<MicrowaveOvenModeTrait.ModeTagStruct>

A list of tags that are associated with the mode option, which may be used by a device to determine the semantics of a certain mode.

Public constructors

ModeOptionStruct

ModeOptionStruct(
    label: String = "",
    mode: UByte,
    modeTags: List<MicrowaveOvenModeTrait.ModeTagStruct> = emptyList()
)

Creates the ModeOptionStruct class.

Public properties

label

val labelString

Readable text that describes the mode option for the user.

mode

val modeUByte

Identifies the mode option for the supportedModes attribute.

modeTags

val modeTagsList<MicrowaveOvenModeTrait.ModeTagStruct>

A list of tags that are associated with the mode option, which may be used by a device to determine the semantics of a certain mode.