Index
Methods
build
-
Returns ExecuteResponse
a new
ExecuteResponse
instance initialized with the parameters set by this Builder.
setErrorState
-
Parameters
-
deviceId: string
Device ID of the device.
-
errorCode: ExecuteErrors
If execution failed, provide the errorCode.
Returns this
-
setRequestId
-
Parameters
-
requestId: string
Request ID of the Execute intent.
Returns this
-
setSuccessState
-
Parameters
-
deviceId: string
Device ID of the device.
-
deviceState: unknown
If execution was successful, provide new state of the device.
Returns this
-
Use this class to build an instance of ExecuteResponse.