Webhook class

Information about a webhook that connects repository events to a build project in AWS CodeBuild.

Constructors

Webhook({String? branchFilter, WebhookBuildType? buildType, List<List<WebhookFilter>>? filterGroups, DateTime? lastModifiedSecret, String? payloadUrl, String? secret, String? url})
Webhook.fromJson(Map<String, dynamic> json)
factory

Properties

branchFilter → String?
A regular expression used to determine which repository branches are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If branchFilter is empty, then all branches are built.
final
buildType → WebhookBuildType?
Specifies the type of build this webhook will trigger.
final
filterGroups → List<List<WebhookFilter>>?
An array of arrays of WebhookFilter objects used to determine which webhooks are triggered. At least one WebhookFilter in the array must specify EVENT as its type.
final
hashCode → int
The hash code for this object.
no setterinherited
lastModifiedSecret → DateTime?
A timestamp that indicates the last time a repository's secret token was modified.
final
payloadUrl → String?
The AWS CodeBuild endpoint where webhook events are sent.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secret → String?
The secret token of the associated repository.
final
url → String?
The URL to the webhook.
final

Methods

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

Operators

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