Class: Aws::CodeCommit::Types::CommentsForPullRequest

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

Overview

Returns information about comments on a pull request.

Instance Attribute Summary collapse

Instance Attribute Details

#after_blob_idString

The full blob ID of the file on which you want to comment on the source commit.

Returns:

  • (String)


1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1036

class CommentsForPullRequest < Struct.new(
  :pull_request_id,
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :before_blob_id,
  :after_blob_id,
  :location,
  :comments)
  include Aws::Structure
end

#after_commit_idString

The full commit ID of the commit that was the tip of the source branch at the time the comment was made.

Returns:

  • (String)


1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1036

class CommentsForPullRequest < Struct.new(
  :pull_request_id,
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :before_blob_id,
  :after_blob_id,
  :location,
  :comments)
  include Aws::Structure
end

#before_blob_idString

The full blob ID of the file on which you want to comment on the destination commit.

Returns:

  • (String)


1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1036

class CommentsForPullRequest < Struct.new(
  :pull_request_id,
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :before_blob_id,
  :after_blob_id,
  :location,
  :comments)
  include Aws::Structure
end

#before_commit_idString

The full commit ID of the commit that was the tip of the destination branch when the pull request was created. This commit is superceded by the after commit in the source branch when and if you merge the source branch into the destination branch.

Returns:

  • (String)


1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1036

class CommentsForPullRequest < Struct.new(
  :pull_request_id,
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :before_blob_id,
  :after_blob_id,
  :location,
  :comments)
  include Aws::Structure
end

#commentsArray<Types::Comment>

An array of comment objects. Each comment object contains information about a comment on the pull request.

Returns:



1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1036

class CommentsForPullRequest < Struct.new(
  :pull_request_id,
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :before_blob_id,
  :after_blob_id,
  :location,
  :comments)
  include Aws::Structure
end

#locationTypes::Location

Location information about the comment on the pull request, including the file name, line number, and whether the version of the file where the comment was made is BEFORE (destination branch) or AFTER (source branch).

Returns:



1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1036

class CommentsForPullRequest < Struct.new(
  :pull_request_id,
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :before_blob_id,
  :after_blob_id,
  :location,
  :comments)
  include Aws::Structure
end

#pull_request_idString

The system-generated ID of the pull request.

Returns:

  • (String)


1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1036

class CommentsForPullRequest < Struct.new(
  :pull_request_id,
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :before_blob_id,
  :after_blob_id,
  :location,
  :comments)
  include Aws::Structure
end

#repository_nameString

The name of the repository that contains the pull request.

Returns:

  • (String)


1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1036

class CommentsForPullRequest < Struct.new(
  :pull_request_id,
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :before_blob_id,
  :after_blob_id,
  :location,
  :comments)
  include Aws::Structure
end