AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Constant Summary collapse

SENSITIVE =
[]

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)


1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1077

class CommentsForPullRequest < Struct.new(
  :pull_request_id,
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :before_blob_id,
  :after_blob_id,
  :location,
  :comments)
  SENSITIVE = []
  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)


1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1077

class CommentsForPullRequest < Struct.new(
  :pull_request_id,
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :before_blob_id,
  :after_blob_id,
  :location,
  :comments)
  SENSITIVE = []
  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)


1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1077

class CommentsForPullRequest < Struct.new(
  :pull_request_id,
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :before_blob_id,
  :after_blob_id,
  :location,
  :comments)
  SENSITIVE = []
  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)


1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1077

class CommentsForPullRequest < Struct.new(
  :pull_request_id,
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :before_blob_id,
  :after_blob_id,
  :location,
  :comments)
  SENSITIVE = []
  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:



1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1077

class CommentsForPullRequest < Struct.new(
  :pull_request_id,
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :before_blob_id,
  :after_blob_id,
  :location,
  :comments)
  SENSITIVE = []
  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:



1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1077

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

#pull_request_idString

The system-generated ID of the pull request.

Returns:

  • (String)


1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1077

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

#repository_nameString

The name of the repository that contains the pull request.

Returns:

  • (String)


1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1077

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