Class: Aws::CodeCommit::Types::PullRequestTarget

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

Overview

Returns information about a pull request target.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#destination_commitString

The full commit ID that is the tip of the destination branch. This is the commit where the pull request was or will be merged.

Returns:

  • (String)


6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 6472

class PullRequestTarget < Struct.new(
  :repository_name,
  :source_reference,
  :destination_reference,
  :destination_commit,
  :source_commit,
  :merge_base,
  :merge_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#destination_referenceString

The branch of the repository where the pull request changes are merged. Also known as the destination branch.

Returns:

  • (String)


6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 6472

class PullRequestTarget < Struct.new(
  :repository_name,
  :source_reference,
  :destination_reference,
  :destination_commit,
  :source_commit,
  :merge_base,
  :merge_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#merge_baseString

The commit ID of the most recent commit that the source branch and the destination branch have in common.

Returns:

  • (String)


6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 6472

class PullRequestTarget < Struct.new(
  :repository_name,
  :source_reference,
  :destination_reference,
  :destination_commit,
  :source_commit,
  :merge_base,
  :merge_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#merge_metadataTypes::MergeMetadata

Returns metadata about the state of the merge, including whether the merge has been made.



6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 6472

class PullRequestTarget < Struct.new(
  :repository_name,
  :source_reference,
  :destination_reference,
  :destination_commit,
  :source_commit,
  :merge_base,
  :merge_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#repository_nameString

The name of the repository that contains the pull request source and destination branches.

Returns:

  • (String)


6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 6472

class PullRequestTarget < Struct.new(
  :repository_name,
  :source_reference,
  :destination_reference,
  :destination_commit,
  :source_commit,
  :merge_base,
  :merge_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#source_commitString

The full commit ID of the tip of the source branch used to create the pull request. If the pull request branch is updated by a push while the pull request is open, the commit ID changes to reflect the new tip of the branch.

Returns:

  • (String)


6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 6472

class PullRequestTarget < Struct.new(
  :repository_name,
  :source_reference,
  :destination_reference,
  :destination_commit,
  :source_commit,
  :merge_base,
  :merge_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#source_referenceString

The branch of the repository that contains the changes for the pull request. Also known as the source branch.

Returns:

  • (String)


6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 6472

class PullRequestTarget < Struct.new(
  :repository_name,
  :source_reference,
  :destination_reference,
  :destination_commit,
  :source_commit,
  :merge_base,
  :merge_metadata)
  SENSITIVE = []
  include Aws::Structure
end