You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Returns information about a pull request target.

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)

    The full commit ID that is the tip of the destination branch.

#destination_referenceString

The branch of the repository where the pull request changes will be merged into. Also known as the destination branch.

Returns:

  • (String)

    The branch of the repository where the pull request changes will be merged into.

#merge_baseString

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

Returns:

  • (String)

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

#merge_metadataTypes::MergeMetadata

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

Returns:

  • (Types::MergeMetadata)

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

#repository_nameString

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

Returns:

  • (String)

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

#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 will change to reflect the new tip of the branch.

Returns:

  • (String)

    The full commit ID of the tip of the source branch used to create the pull request.

#source_referenceString

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

Returns:

  • (String)

    The branch of the repository that contains the changes for the pull request.