class Aws::CodeGuruReviewer::Types::CommitDiffSourceCodeType

A type of [ `SourceCodeType` ][1] 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.

[1]: docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType

@note When making an API call, you may pass CommitDiffSourceCodeType

data as a hash:

    {
      source_commit: "CommitId",
      destination_commit: "CommitId",
      merge_base_commit: "CommitId",
    }

@!attribute [rw] source_commit

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

@!attribute [rw] destination_commit

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

@!attribute [rw] merge_base_commit

The SHA of the merge base of a commit.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/CommitDiffSourceCodeType AWS API Documentation

Constants

SENSITIVE