WebhookPullRequestBuildPolicy class
Constructors
-
WebhookPullRequestBuildPolicy({Input<List<String>?>? approverRoles, })
-
Creates a new WebhookPullRequestBuildPolicy.
approverRoles List of repository roles that have approval privileges for pull request builds when comment approval is required. This argument must be specified only when requiresCommentApproval is not DISABLED. See the AWS documentation for valid values and defaults.
requiresCommentApproval Specifies when comment-based approval is required before triggering a build on pull requests. Valid values are: DISABLED, ALL_PULL_REQUESTS, and FORK_PULL_REQUESTS.
const
-
WebhookPullRequestBuildPolicy.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
approverRoles
→ Input<List<String>?>?
-
List of repository roles that have approval privileges for pull request builds when comment approval is required. This argument must be specified only when
requiresCommentApproval is not DISABLED. See the AWS documentation for valid values and defaults.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
Specifies when comment-based approval is required before triggering a build on pull requests. Valid values are:
DISABLED, ALL_PULL_REQUESTS, and FORK_PULL_REQUESTS.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited