Trigger

Trigger

Represent Trigger

Constructor

new Trigger(triggerID, Predicate, disabled, commandopt, serverCodeopt, disabledReasonopt, titleopt, descriptionopt, metadataopt)

Create a Trigger.
Properties:
Name Type Description
triggerID string ID of trigger.
predicate Predicate Predicate of the condition met for the trigger to execute.
command Command Definition of the command to execute.
serverCode ServerCode Details of the server code to execute.
disabled boolean Whether the trigger is disabled or not.
disabledReason string Reasons for disabled trigger
title string Title of the trigger
description string Description of the trigger
metadata Object Metadata of the trigger
Parameters:
Name Type Attributes Description
triggerID string ID of trigger.
Predicate Predicate of the condition met for the trigger to execute.
disabled boolean Whether the trigger is disabled or not.
command Command <optional>
Definition of the command to execute.
serverCode ServerCode <optional>
Details of the server code to execute.
disabledReason string <optional>
Reasons for disabled trigger
title string <optional>
Title of the trigger
description string <optional>
Description of the trigger
metadata Object <optional>
Metadata of the trigger

Members

triggersWhat

Gets the string represented TriggersWhat