ActionsTrait.InstantActionWithTransitionCommand

object ActionsTrait.InstantActionWithTransitionCommand : CommandDescriptor


Trigger an action (state change) on endpoints, specifying how long the state change should take.

See also
instantActionWithTransition

Use this command from the trait(Actions) method.

Summary

Nested types

Optional arguments for the command InstantActionWithTransitionCommand Request

The request payload for the InstantActionWithTransition command.

Descriptor enum for this command's request fields.

Public properties

open String

Unique id corresponding to the command.

open String

Human-friendly name of the command.

Public functions

getCommandRequestFieldByName

@HomeExperimentalGenericApi
open fun getCommandRequestFieldByName(name: String): Field?

Public properties

commandId

open val commandIdString

Unique id corresponding to the command.

commandName

open val commandNameString

Human-friendly name of the command.