MicrowaveOvenControlTrait.SetCookingParametersCommand.Request

class MicrowaveOvenControlTrait.SetCookingParametersCommand.Request


The request payload for the SetCookingParameters command.

Summary

Public constructors

Request(
    cookMode: OptionalValue<UByte>,
    cookTime: OptionalValue<UInt>,
    powerSetting: OptionalValue<UByte>,
    wattSettingIndex: OptionalValue<UByte>,
    startAfterSetting: OptionalValue<Boolean>
)

Creates a request payload for the SetCookingParameters command.

Public properties

OptionalValue<UByte>

The value to which the currentMode attribute should be set.

OptionalValue<UInt>

The cook time associated with the operation of the device.

OptionalValue<UByte>

The power setting associated with the operation of the device.

OptionalValue<Boolean>

Indicates whether or not the oven should be started when the command is received.

OptionalValue<UByte>

The value to which the selectedWattIndex attribute is set.

Public constructors

Request

Request(
    cookMode: OptionalValue<UByte> = OptionalValue.absent(),
    cookTime: OptionalValue<UInt> = OptionalValue.absent(),
    powerSetting: OptionalValue<UByte> = OptionalValue.absent(),
    wattSettingIndex: OptionalValue<UByte> = OptionalValue.absent(),
    startAfterSetting: OptionalValue<Boolean> = OptionalValue.absent()
)

Creates a request payload for the SetCookingParameters command.

Public properties

cookMode

val cookModeOptionalValue<UByte>

The value to which the currentMode attribute should be set.

cookTime

val cookTimeOptionalValue<UInt>

The cook time associated with the operation of the device.

powerSetting

val powerSettingOptionalValue<UByte>

The power setting associated with the operation of the device.

startAfterSetting

val startAfterSettingOptionalValue<Boolean>

Indicates whether or not the oven should be started when the command is received.

wattSettingIndex

val wattSettingIndexOptionalValue<UByte>

The value to which the selectedWattIndex attribute is set.