Add event-driven quick action dispatch
This commit is contained in:
29
F4SD-ActionConnector/Execution/QuickActionRequest.cs
Normal file
29
F4SD-ActionConnector/Execution/QuickActionRequest.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System.Collections.Generic;
|
||||
using F4SD.ActionConnector.Models;
|
||||
|
||||
namespace F4SD.ActionConnector.Execution
|
||||
{
|
||||
public sealed class QuickActionRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// Matches <see cref="QuickActionDefinition.Id"/> from the configuration.
|
||||
/// </summary>
|
||||
public string ActionId { get; internal set; }
|
||||
|
||||
/// <summary>
|
||||
/// The name of the Quick Action to invoke, e.g. "Document case in JIRA".
|
||||
/// </summary>
|
||||
public string QuickActionRef { get; internal set; }
|
||||
|
||||
/// <summary>
|
||||
/// Template variables resolved against the event payload.
|
||||
/// Values are the raw payload values; callers are responsible for casting.
|
||||
/// </summary>
|
||||
public IDictionary<string, object> Parameters { get; internal set; }
|
||||
|
||||
/// <summary>
|
||||
/// Full context of the triggering event.
|
||||
/// </summary>
|
||||
public ActionContext Context { get; internal set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user