30 lines
970 B
C#
30 lines
970 B
C#
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; }
|
|
}
|
|
}
|