GetTriggerBitbucketServerTriggerConfig constructor

const GetTriggerBitbucketServerTriggerConfig({
  1. required Input<String> bitbucketServerConfigResource,
  2. required Input<String> projectKey,
  3. required Input<List<GetTriggerBitbucketServerTriggerConfigPullRequest>> pullRequests,
  4. required Input<List<GetTriggerBitbucketServerTriggerConfigPush>> pushes,
  5. required Input<String> repoSlug,
})

Creates a new GetTriggerBitbucketServerTriggerConfig. bitbucketServerConfigResource The Bitbucket server config resource that this trigger config maps to. projectKey Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST". pullRequests Filter to match changes in pull requests. pushes Filter to match changes in refs like branches, tags. repoSlug Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL.

Implementation

const GetTriggerBitbucketServerTriggerConfig({
  required this.bitbucketServerConfigResource,
  required this.projectKey,
  required this.pullRequests,
  required this.pushes,
  required this.repoSlug,
});