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

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.

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)


1974
1975
1976
1977
1978
1979
1980
1981
1982
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1974

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

#destination_referenceString

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

Returns:

  • (String)


1974
1975
1976
1977
1978
1979
1980
1981
1982
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1974

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

#merge_metadataTypes::MergeMetadata

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



1974
1975
1976
1977
1978
1979
1980
1981
1982
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1974

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

#repository_nameString

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

Returns:

  • (String)


1974
1975
1976
1977
1978
1979
1980
1981
1982
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1974

class PullRequestTarget < Struct.new(
  :repository_name,
  :source_reference,
  :destination_reference,
  :destination_commit,
  :source_commit,
  :merge_metadata)
  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 will change to reflect the new tip of the branch.

Returns:

  • (String)


1974
1975
1976
1977
1978
1979
1980
1981
1982
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1974

class PullRequestTarget < Struct.new(
  :repository_name,
  :source_reference,
  :destination_reference,
  :destination_commit,
  :source_commit,
  :merge_metadata)
  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)


1974
1975
1976
1977
1978
1979
1980
1981
1982
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1974

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