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.

PullRequestMergedStateChangedEventMetadata

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

type PullRequestMergedStateChangedEventMetadata struct { DestinationReference *string `locationName:"destinationReference" type:"string"` MergeMetadata *MergeMetadata `locationName:"mergeMetadata" type:"structure"` RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"` }

Returns information about the change in the merge state for a pull request event.

DestinationReference

Type: *string

The name of the branch that the pull request will be merged into.

MergeMetadata

Returns information about a merge or potential merge between a source reference and a destination reference in a pull request.

RepositoryName

Type: *string

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

Method

GoString

func (s PullRequestMergedStateChangedEventMetadata) GoString() string

GoString returns the string representation

SetDestinationReference

func (s *PullRequestMergedStateChangedEventMetadata) SetDestinationReference(v string) *PullRequestMergedStateChangedEventMetadata

SetDestinationReference sets the DestinationReference field's value.

SetMergeMetadata

func (s *PullRequestMergedStateChangedEventMetadata) SetMergeMetadata(v *MergeMetadata) *PullRequestMergedStateChangedEventMetadata

SetMergeMetadata sets the MergeMetadata field's value.

SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

String

func (s PullRequestMergedStateChangedEventMetadata) String() string

String returns the string representation

On this page: