OpenCloseTrait.OpenCommand.Request

class OpenCloseTrait.OpenCommand.Request


The request payload for the Open command.

Summary

Public constructors

Creates a request payload for the Open command.

Public properties

OpenCloseTrait.Direction

The direction in which to open.

Public constructors

Request

Request(openDirection: OpenCloseTrait.Direction = Direction.Unspecified)

Creates a request payload for the Open command.

Public properties

openDirection

val openDirectionOpenCloseTrait.Direction

The direction in which to open. Only present if the device supports multiple directions, as indicated by the OpenCloseTrait.Attributes.openDirection attribute, and a direction is specified by the user.