AWS SDK Version 4 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.

A type of SourceCodeType that specifies the commit diff for a pull request on an associated repository. The SourceCommit and DestinationCommit fields are required to do a pull request code review.

Inheritance Hierarchy

System.Object
  Amazon.CodeGuruReviewer.Model.CommitDiffSourceCodeType

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

Syntax

C#
public class CommitDiffSourceCodeType

The CommitDiffSourceCodeType type exposes the following members

Constructors

NameDescription
Public Method CommitDiffSourceCodeType()

Properties

NameTypeDescription
Public Property DestinationCommit System.String

Gets and sets the property DestinationCommit.

The SHA of the destination commit used to generate a commit diff. This field is required for a pull request code review.

Public Property MergeBaseCommit System.String

Gets and sets the property MergeBaseCommit.

The SHA of the merge base of a commit.

Public Property SourceCommit System.String

Gets and sets the property SourceCommit.

The SHA of the source commit used to generate a commit diff. This field is required for a pull request code review.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer