PostCommandTriggerRequest

PostCommandTriggerRequest

Represents the request for creating a command trigger.

Constructor

new PostCommandTriggerRequest(command, predicate, titleopt, descriptionopt, metadataopt)

Create a PostCommandTriggerRequest.
Parameters:
Name Type Attributes Description
command PostCommandRequest the necessary fields to construct command.
predicate Predicate Predicate of the condition met for the trigger to execute.
title string <optional>
Title of the trigger.
description string <optional>
Description of the trigger.
metadata Object <optional>
Key-value list to store within trigger definition.
Properties:
Name Type Description
command TriggerCommandObject instance of TriggerCommandObject.
predicate Predicate Predicate of the condition met for the trigger to execute.
title string Title of the trigger.
description string Description of the trigger.
metadata Object Key-value list to store within trigger definition.