Class: Aws::CodeGuruReviewer::Types::CommitDiffSourceCodeType
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeGuruReviewer::Types::CommitDiffSourceCodeType
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codegurureviewer/types.rb
Overview
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.
[1]: docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#destination_commit ⇒ String
The SHA of the destination commit used to generate a commit diff.
-
#merge_base_commit ⇒ String
The SHA of the merge base of a commit.
-
#source_commit ⇒ String
The SHA of the source commit used to generate a commit diff.
Instance Attribute Details
#destination_commit ⇒ String
The SHA of the destination commit used to generate a commit diff. This field is required for a pull request code review.
458 459 460 461 462 463 464 |
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 458 class CommitDiffSourceCodeType < Struct.new( :source_commit, :destination_commit, :merge_base_commit) SENSITIVE = [] include Aws::Structure end |
#merge_base_commit ⇒ String
The SHA of the merge base of a commit.
458 459 460 461 462 463 464 |
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 458 class CommitDiffSourceCodeType < Struct.new( :source_commit, :destination_commit, :merge_base_commit) SENSITIVE = [] include Aws::Structure end |
#source_commit ⇒ String
The SHA of the source commit used to generate a commit diff. This field is required for a pull request code review.
458 459 460 461 462 463 464 |
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 458 class CommitDiffSourceCodeType < Struct.new( :source_commit, :destination_commit, :merge_base_commit) SENSITIVE = [] include Aws::Structure end |