A repository hook and its state at a given scope.
Optional
Whether the hook has been configured at this scope
The scope the state applies to
A repository hook and its state at a given scope.