Hook class

Model class for a repository hook.

Annotations

Constructors

Hook({int? id, String? name})
Hook.fromJson(Map<String, dynamic> input)
factory

Properties

active ↔ bool?
If the hook is active
getter/setter pair
config ↔ HookConfig?
getter/setter pair
contentType → String?
Content Type
no setter
createdAt ↔ DateTime?
The time the hook was created
getter/setter pair
events ↔ List<String>?
Events to Subscribe to
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ int?
getter/setter pair
name ↔ String?
getter/setter pair
repoName ↔ String?
The Repository Name
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updatedAt ↔ DateTime?
The last time the hook was updated
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited