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.

PullRequestSourceReferenceUpdatedEventMetadata

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

type PullRequestSourceReferenceUpdatedEventMetadata struct { AfterCommitId *string `locationName:"afterCommitId" type:"string"` BeforeCommitId *string `locationName:"beforeCommitId" type:"string"` MergeBase *string `locationName:"mergeBase" type:"string"` RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"` }

Information about an update to the source branch of a pull request.

AfterCommitId

Type: *string

The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.

BeforeCommitId

Type: *string

The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated.

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 updated.

Method

GoString

func (s PullRequestSourceReferenceUpdatedEventMetadata) GoString() string

GoString returns the string representation

SetAfterCommitId

func (s *PullRequestSourceReferenceUpdatedEventMetadata) SetAfterCommitId(v string) *PullRequestSourceReferenceUpdatedEventMetadata

SetAfterCommitId sets the AfterCommitId field's value.

SetBeforeCommitId

func (s *PullRequestSourceReferenceUpdatedEventMetadata) SetBeforeCommitId(v string) *PullRequestSourceReferenceUpdatedEventMetadata

SetBeforeCommitId sets the BeforeCommitId field's value.

SetMergeBase

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

SetMergeBase sets the MergeBase field's value.

SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

String

func (s PullRequestSourceReferenceUpdatedEventMetadata) String() string

String returns the string representation

On this page: