Class: Aws::CodeGuruReviewer::Types::CommitDiffSourceCodeType

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#destination_commitString

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

Returns:

  • (String)


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_commitString

The SHA of the merge base of a commit.

Returns:

  • (String)


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_commitString

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

Returns:

  • (String)


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