Data class representing a hook that triggers an action.
The action to be executed when the trigger condition is met.
The maximum number of retries for the hook action (default is 3).
The trigger condition for the hook action.