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.

CommentsForPullRequest

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

type CommentsForPullRequest struct { AfterBlobId *string `locationName:"afterBlobId" type:"string"` AfterCommitId *string `locationName:"afterCommitId" type:"string"` BeforeBlobId *string `locationName:"beforeBlobId" type:"string"` BeforeCommitId *string `locationName:"beforeCommitId" type:"string"` Comments []*Comment `locationName:"comments" type:"list"` Location *Location `locationName:"location" type:"structure"` PullRequestId *string `locationName:"pullRequestId" type:"string"` RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"` }

Returns information about comments on a pull request.

AfterBlobId

Type: *string

The full blob ID of the file on which you want to comment on the source commit.

AfterCommitId

Type: *string

he full commit ID of the commit that was the tip of the source branch at the time the comment was made.

BeforeBlobId

Type: *string

The full blob ID of the file on which you want to comment on the destination commit.

BeforeCommitId

Type: *string

The full commit ID of the commit that was the tip of the destination branch when the pull request was created. This commit will be superceded by the after commit in the source branch when and if you merge the source branch into the destination branch.

Comments

Returns information about a specific comment.

Location

Returns information about the location of a change or comment in the comparison between two commits or a pull request.

PullRequestId

Type: *string

The system-generated ID of the pull request.

RepositoryName

Type: *string

The name of the repository that contains the pull request.

Method

GoString

func (s CommentsForPullRequest) GoString() string

GoString returns the string representation

SetAfterBlobId

func (s *CommentsForPullRequest) SetAfterBlobId(v string) *CommentsForPullRequest

SetAfterBlobId sets the AfterBlobId field's value.

SetAfterCommitId

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

SetAfterCommitId sets the AfterCommitId field's value.

SetBeforeBlobId

func (s *CommentsForPullRequest) SetBeforeBlobId(v string) *CommentsForPullRequest

SetBeforeBlobId sets the BeforeBlobId field's value.

SetBeforeCommitId

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

SetBeforeCommitId sets the BeforeCommitId field's value.

SetComments

func (s *CommentsForPullRequest) SetComments(v []*Comment) *CommentsForPullRequest

SetComments sets the Comments field's value.

SetLocation

func (s *CommentsForPullRequest) SetLocation(v *Location) *CommentsForPullRequest

SetLocation sets the Location field's value.

SetPullRequestId

func (s *CommentsForPullRequest) SetPullRequestId(v string) *CommentsForPullRequest

SetPullRequestId sets the PullRequestId field's value.

SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

String

func (s CommentsForPullRequest) String() string

String returns the string representation

On this page: