RuleAction
Class in Oadm.Sdk.Events · Oadm.Sdk.dll
One action of a rule: the action plugin, its targets (devices for actions that act on devices) and its settings (JSON object; password fields are never sent to clients, see RuleAction.StoredSecretFields).
public sealed class RuleActionProperties
Section titled “Properties”ActionId
Section titled “ActionId”string ActionId { get; set; }The id of the action.
Guid Key { get; set; }Stable id of the action within its rule (new actions: a new Guid): stored password values follow it.
Settings
Section titled “Settings”JsonObject Settings { get; set; }The action’s settings by field key.
StoredSecretFields
Section titled “StoredSecretFields”List<string> StoredSecretFields { get; set; }Read: password fields with a value stored on the server. Write: leave such a field empty to keep the stored value; a field missing from this list and empty clears it.
Targets
Section titled “Targets”DeviceSelector Targets { get; set; }The devices it runs on.
Methods
Section titled “Methods”RuleAction Clone()A copy.