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)


5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 5878

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)


5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 5878

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)


5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 5878

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.



5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 5878

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)


5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 5878

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)


5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 5878

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)


5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 5878

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