AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the GetCommentsForPullRequest operation. Returns comments made on a pull request.

Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of reactions from active identities, use GetCommentReactions.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CodeCommit.AmazonCodeCommitRequest
      Amazon.CodeCommit.Model.GetCommentsForPullRequestRequest

Namespace: Amazon.CodeCommit.Model
Assembly: AWSSDK.CodeCommit.dll
Version: 3.x.y.z

Syntax

C#
public class GetCommentsForPullRequestRequest : AmazonCodeCommitRequest
         IAmazonWebServiceRequest

The GetCommentsForPullRequestRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AfterCommitId System.String

Gets and sets the property AfterCommitId.

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. Requirement is conditional: afterCommitId must be specified when repositoryName is included.

Public Property BeforeCommitId System.String

Gets and sets the property BeforeCommitId.

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. Requirement is conditional: beforeCommitId must be specified when repositoryName is included.

Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

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.

Public Property NextToken System.String

Gets and sets the property NextToken.

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

Public Property PullRequestId System.String

Gets and sets the property PullRequestId.

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

Public Property RepositoryName System.String

Gets and sets the property RepositoryName.

The name of the repository that contains the pull request. Requirement is conditional: repositoryName must be specified when beforeCommitId and afterCommitId are included.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5