TriggerDefinition class
Beep.Skia.Model — class
Represents a trigger definition that can start a workflow.
Members
| Member | Kind | Description |
|---|---|---|
TriggerDefinition(string id, string name, TriggerType triggerType) | Method | Initializes a new instance of the TriggerDefinition class. The unique identifier for the trigger. The display name of the trigger. The type of the trigger. |
string Id | Property | Gets the unique identifier for the trigger. |
string Name | Property | Gets or sets the display name of the trigger. |
string Description | Property | Gets or sets the description of what this trigger monitors. |
TriggerType TriggerType | Property | Gets the type of this trigger. |
Dictionary<string, object> Configuration | Property | Gets or sets the configuration parameters for this trigger. |
Dictionary<string, object> Metadata | Property | Gets or sets additional metadata about this trigger. |
bool IsEnabled | Property | Gets or sets a value indicating whether this trigger is enabled. |
TriggerDefinition Clone(string newId = null) | Method | Creates a copy of this trigger definition. Optional new ID for the copied trigger. A new TriggerDefinition instance that is a copy of this one. |