BitbucketServerTriggerConfigResponse class
BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.
Constructors
-
BitbucketServerTriggerConfigResponse({required Input<
BitbucketServerConfigResponse> bitbucketServerConfig, required Input<String> bitbucketServerConfigResource, required Input<String> projectKey, required Input<PullRequestFilterResponse> pullRequest, required Input<PushFilterResponse> push, required Input<String> repoSlug}) -
Creates a new BitbucketServerTriggerConfigResponse.
bitbucketServerConfigThe BitbucketServerConfig specified in the bitbucket_server_config_resource field.bitbucketServerConfigResourceThe Bitbucket server config resource that this trigger config maps to.projectKeyKey of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".pullRequestFilter to match changes in pull requests.pushFilter to match changes in refs like branches, tags.repoSlugSlug 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.const -
BitbucketServerTriggerConfigResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
bitbucketServerConfig
→ Input<
BitbucketServerConfigResponse> -
The BitbucketServerConfig specified in the bitbucket_server_config_resource field.
final
-
bitbucketServerConfigResource
→ Input<
String> -
The Bitbucket server config resource that this trigger config maps to.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
projectKey
→ Input<
String> -
Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
final
-
pullRequest
→ Input<
PullRequestFilterResponse> -
Filter to match changes in pull requests.
final
-
push
→ Input<
PushFilterResponse> -
Filter to match changes in refs like branches, tags.
final
-
repoSlug
→ Input<
String> -
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.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited