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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codegurureviewer/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.

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 'gems/aws-sdk-codegurureviewer/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 'gems/aws-sdk-codegurureviewer/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 'gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb', line 458

class CommitDiffSourceCodeType < Struct.new(
  :source_commit,
  :destination_commit,
  :merge_base_commit)
  SENSITIVE = []
  include Aws::Structure
end