TriggerCommandObject

TriggerCommandObject

Represents the fields to construct command for creating/updating command trigger.

Constructor

new TriggerCommandObject(aliasActions, targetIDopt, issuerIDopt, titleopt, descriptionopt, metadataopt)

Create a PostCommandRequest.
Properties:
Name Type Description
aliasActions Array.<AliasAction> Array of actions of the command.
issuerID TypedID instance of TypedID to represent issuer of command.
targetID TypedID instance of TypedID to represent target of command.
title string Title of the command.
description string Description of the command.
metadata Object Key-value list to store within command definition.
Parameters:
Name Type Attributes Description
aliasActions Array.<AliasAction> Array of actions of the command.
targetID TypedID <optional>
instance of TypedID to represent target of command.
issuerID TypedID <optional>
instance of TypedID to represent issuer of command.
title string <optional>
Title of the command.
description string <optional>
Description of the command.
metadata Object <optional>
Key-value list to store within command definition.