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.

CommentsForComparedCommit

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

type CommentsForComparedCommit 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"` RepositoryName *string `locationName:"repositoryName" min:"1" type:"string"` }

Returns information about comments on the comparison between two commits.

AfterBlobId

Type: *string

The full blob ID of the commit used to establish the 'after' of the comparison.

AfterCommitId

Type: *string

The full commit ID of the commit used to establish the 'after' of the comparison.

BeforeBlobId

Type: *string

The full blob ID of the commit used to establish the 'before' of the comparison.

BeforeCommitId

Type: *string

The full commit ID of the commit used to establish the 'before' of the comparison.

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.

RepositoryName

Type: *string

The name of the repository that contains the compared commits.

Method

GoString

func (s CommentsForComparedCommit) GoString() string

GoString returns the string representation

SetAfterBlobId

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

SetAfterBlobId sets the AfterBlobId field's value.

SetAfterCommitId

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

SetAfterCommitId sets the AfterCommitId field's value.

SetBeforeBlobId

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

SetBeforeBlobId sets the BeforeBlobId field's value.

SetBeforeCommitId

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

SetBeforeCommitId sets the BeforeCommitId field's value.

SetComments

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

SetComments sets the Comments field's value.

SetLocation

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

SetLocation sets the Location field's value.

SetRepositoryName

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

SetRepositoryName sets the RepositoryName field's value.

String

func (s CommentsForComparedCommit) String() string

String returns the string representation

On this page: