ExtendedOperationalStateTrait.StartWithDurationCommand.Request

class ExtendedOperationalStateTrait.StartWithDurationCommand.Request


The request payload for the StartWithDuration command.

Summary

Public constructors

Request(operationZones: List<String>, durationSeconds: UInt)

Creates a request payload for the StartWithDuration command.

Public properties

UInt

Indicates how long the action should run, in seconds.

List<String>

Indicates one or more zones in which to start running.

Public constructors

Request

Request(operationZones: List<String> = emptyList(), durationSeconds: UInt)

Creates a request payload for the StartWithDuration command.

Public properties

durationSeconds

val durationSecondsUInt

Indicates how long the action should run, in seconds. Must be between minimum and maximum operation duration supported by the device.

operationZones

val operationZonesList<String>

Indicates one or more zones in which to start running.