BitbucketServerTriggerConfigResponse constructor

const BitbucketServerTriggerConfigResponse({
  1. required Input<BitbucketServerConfigResponse> bitbucketServerConfig,
  2. required Input<String> bitbucketServerConfigResource,
  3. required Input<String> projectKey,
  4. required Input<PullRequestFilterResponse> pullRequest,
  5. required Input<PushFilterResponse> push,
  6. required Input<String> repoSlug,
})

Creates a new BitbucketServerTriggerConfigResponse. bitbucketServerConfig The BitbucketServerConfig specified in the bitbucket_server_config_resource field. 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". pullRequest Filter to match changes in pull requests. push 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. For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.

Implementation

const BitbucketServerTriggerConfigResponse({
  required this.bitbucketServerConfig,
  required this.bitbucketServerConfigResource,
  required this.projectKey,
  required this.pullRequest,
  required this.push,
  required this.repoSlug,
});