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.

PostCommentForPullRequestOutput

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

type PostCommentForPullRequestOutput 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"` Comment *Comment `locationName:"comment" type:"structure"` Location *Location `locationName:"location" type:"structure"` PullRequestId *string `locationName:"pullRequestId" type:"string"` RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"` }

AfterBlobId

Type: *string

In the directionality of the pull request, the blob ID of the 'after' blob.

AfterCommitId

Type: *string

The full commit ID of the commit in the destination branch where the pull request will be merged.

BeforeBlobId

Type: *string

In the directionality of the pull request, the blob ID of the 'before' blob.

BeforeCommitId

Type: *string

The full commit ID of the commit in the source branch used to create the pull request, or in the case of an updated pull request, the full commit ID of the commit used to update the pull request.

Comment

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 where you posted a comment on a pull request.

Method

GoString

func (s PostCommentForPullRequestOutput) GoString() string

GoString returns the string representation

SetAfterBlobId

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

SetAfterBlobId sets the AfterBlobId field's value.

SetAfterCommitId

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

SetAfterCommitId sets the AfterCommitId field's value.

SetBeforeBlobId

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

SetBeforeBlobId sets the BeforeBlobId field's value.

SetBeforeCommitId

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

SetBeforeCommitId sets the BeforeCommitId field's value.

SetComment

func (s *PostCommentForPullRequestOutput) SetComment(v *Comment) *PostCommentForPullRequestOutput

SetComment sets the Comment field's value.

SetLocation

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

SetLocation sets the Location field's value.

SetPullRequestId

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

SetPullRequestId sets the PullRequestId field's value.

SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

String

func (s PostCommentForPullRequestOutput) String() string

String returns the string representation

On this page: