struct AutomationSuggestionextension AutomationSuggestion : SendableThe main representation of an automation suggestion.
-
The identifier of the suggestion. It should be unique per structure. If the suggestion is for a legacy curated routine, this will be the ID of a routine
Declaration
Swift
let id: String -
Contains supporting information about the suggestion.
Declaration
Swift
let suggestionMetadata: SuggestionMetadata -
The automation instance suggested by the source.
Declaration
Swift
let suggestionInstance: any DraftAutomation -
Undocumented
Declaration
Swift
init(id: String, suggestionMetadata: SuggestionMetadata, suggestionInstance: any DraftAutomation)