Readonly_nodeOptionalenabledDeletes this trigger.
A promise that resolves with the API response when the trigger is successfully deleted.
Enables or disables this trigger.
true to enable the trigger, false to disable it.
A promise that resolves with the API response when the change succeeds.
Parent node, if the weak reference is still alive.
Converts this trigger to a plain TriggerItem (for building API payloads).
Updates this trigger with partial changes. Sends a full trigger-list PUT under the hood (the RainMaker triggers API is replace-all).
The instance is mutated only after the API call succeeds. If the PUT fails, this trigger's fields are left unchanged.
Partial trigger fields to update.
A promise that resolves with the API response.
Represents a trigger in the ESP Rainmaker Neo SDK. Provides instance methods for trigger operations. Holds a WeakRef to the parent node, matching the pattern used by ESPRMNeoDevice / ESPRMNeoService / ESPRMNeoDeviceParam.