AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

PullRequestCreatedEventMetadata

import "github.com/aws/aws-sdk-go/service/codecommit"

type PullRequestCreatedEventMetadata struct { DestinationCommitId *string `locationName:"destinationCommitId" type:"string"` MergeBase *string `locationName:"mergeBase" type:"string"` RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"` SourceCommitId *string `locationName:"sourceCommitId" type:"string"` }

Metadata about the pull request that is used when comparing the pull request source with its destination.

DestinationCommitId

Type: *string

The commit ID of the tip of the branch specified as the destination branch when the pull request was created.

MergeBase

Type: *string

The commit ID of the most recent commit that the source branch and the destination branch have in common.

RepositoryName

Type: *string

The name of the repository where the pull request was created.

SourceCommitId

Type: *string

The commit ID on the source branch used when the pull request was created.

Method

GoString

func (s PullRequestCreatedEventMetadata) GoString() string

GoString returns the string representation

SetDestinationCommitId

func (s *PullRequestCreatedEventMetadata) SetDestinationCommitId(v string) *PullRequestCreatedEventMetadata

SetDestinationCommitId sets the DestinationCommitId field's value.

SetMergeBase

func (s *PullRequestCreatedEventMetadata) SetMergeBase(v string) *PullRequestCreatedEventMetadata

SetMergeBase sets the MergeBase field's value.

SetRepositoryName

func (s *PullRequestCreatedEventMetadata) SetRepositoryName(v string) *PullRequestCreatedEventMetadata

SetRepositoryName sets the RepositoryName field's value.

SetSourceCommitId

func (s *PullRequestCreatedEventMetadata) SetSourceCommitId(v string) *PullRequestCreatedEventMetadata

SetSourceCommitId sets the SourceCommitId field's value.

String

func (s PullRequestCreatedEventMetadata) String() string

String returns the string representation

On this page: