WebhookFilter class
A filter used to determine which webhooks trigger a build.
Constructors
- WebhookFilter({required String pattern, required WebhookFilterType type, bool? excludeMatchedPattern})
-
WebhookFilter.fromJson(Map<
String, dynamic> json) -
factory
Properties
- excludeMatchedPattern → bool?
-
Used to indicate that the
pattern
determines which webhook events do not trigger a build. If true, then a webhook event that does not match thepattern
triggers a build. If false, then a webhook event that matches thepattern
triggers a build.final - hashCode → int
-
The hash code for this object.
no setterinherited
- pattern → String
-
For a
WebHookFilter
that usesEVENT
type, a comma-separated string that specifies one or more events. For example, the webhook filterPUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED
allows all push, pull request created, and pull request updated events to trigger a build.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → WebhookFilterType
-
The type of webhook filter. There are six webhook filter types:
EVENT
,ACTOR_ACCOUNT_ID
,HEAD_REF
,BASE_REF
,FILE_PATH
, andCOMMIT_MESSAGE
.final
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