protocol BaseAutomation : Identifiable, Sendable
A base protocol for all Automation instances.
-
For existing automations, its identifier, unique for the users structure. For new automations, the identifier should be empty.
Declaration
Swift
var id: String { get }
-
The structure this automation belongs to.
Declaration
Swift
var structureID: String { get }
-
User given name for the automation.
Declaration
Swift
var name: String { get }
-
Description of this automation instance.
Declaration
Swift
var description: String { get }
-
Whether the automation will execute from starters.
Declaration
Swift
var isActive: Bool { get }
-
List of Nodes. Nodes in the automation graph execute sequentially by default.
Declaration
Swift
var automationGraph: SequentialFlow? { get }