You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeCommit::Types::CommentsForPullRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Returns information about comments on a pull request.

Instance Attribute Summary collapse

Instance Attribute Details

#after_blob_idString

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

Returns:

  • (String)

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

#after_commit_idString

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

Returns:

  • (String)

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

#before_blob_idString

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

Returns:

  • (String)

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

#before_commit_idString

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

Returns:

  • (String)

    The full commit ID of the commit that was the tip of the destination branch when the pull request was created.

#commentsArray<Types::Comment>

An array of comment objects. Each comment object contains information about a comment on the pull request.

Returns:

#locationTypes::Location

Location information about the comment on the pull request, including the file name, line number, and whether the version of the file where the comment was made is BEFORE (destination branch) or AFTER (source branch).

Returns:

  • (Types::Location)

    Location information about the comment on the pull request, including the file name, line number, and whether the version of the file where the comment was made is BEFORE (destination branch) or AFTER (source branch).

#pull_request_idString

The system-generated ID of the pull request.

Returns:

  • (String)

    The system-generated ID of the pull request.

#repository_nameString

The name of the repository that contains the pull request.

Returns:

  • (String)

    The name of the repository that contains the pull request.