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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb

Overview

Note:

When making an API call, you may pass CommitDiffSourceCodeType data as a hash:

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

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)


560
561
562
563
564
565
566
# File 'gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb', line 560

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)


560
561
562
563
564
565
566
# File 'gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb', line 560

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)


560
561
562
563
564
565
566
# File 'gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb', line 560

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