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

Class: Aws::CodeCommit::Types::GetCommentsForPullRequestInput

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

Overview

Note:

When passing GetCommentsForPullRequestInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  pull_request_id: "PullRequestId", # required
  repository_name: "RepositoryName",
  before_commit_id: "CommitId",
  after_commit_id: "CommitId",
  next_token: "NextToken",
  max_results: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#after_commit_idString

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

Returns:

  • (String)

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

#before_commit_idString

The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created.

Returns:

  • (String)

    The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created.

#max_resultsInteger

A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments. You can return up to 500 comments with a single request.

Returns:

  • (Integer)

    A non-zero, non-negative integer used to limit the number of returned results.

#next_tokenString

An enumeration token that, when provided in a request, returns the next batch of the results.

Returns:

  • (String)

    An enumeration token that, when provided in a request, returns the next batch of the results.

#pull_request_idString

The system-generated ID of the pull request. To get this ID, use ListPullRequests.

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.