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 PostCommentForPullRequest operation. Posts a comment on a pull request.

Inheritance Hierarchy

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

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

Syntax

C#
public class PostCommentForPullRequestRequest : AmazonCodeCommitRequest
         IAmazonWebServiceRequest

The PostCommentForPullRequestRequest 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 is the current tip of the branch for the pull request when you post the comment.

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.

Public Property ClientRequestToken System.String

Gets and sets the property ClientRequestToken.

A unique, client-generated idempotency token that when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request will return information about the initial request that used that token.

Public Property Content System.String

Gets and sets the property Content.

The content of your comment on the change.

Public Property Location Amazon.CodeCommit.Model.Location

Gets and sets the property Location.

The location of the change where you want to post your comment. If no location is provided, the comment will be posted as a general comment on the pull request difference between the before commit ID and the after commit ID.

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

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms