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

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)


251
252
253
254
255
256
257
258
259
260
261
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 251

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

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

Returns:

  • (String)


251
252
253
254
255
256
257
258
259
260
261
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 251

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)


251
252
253
254
255
256
257
258
259
260
261
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 251

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 will be superceded by the after commit in the source branch when and if you merge the source branch into the destination branch.

Returns:

  • (String)


251
252
253
254
255
256
257
258
259
260
261
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 251

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:



251
252
253
254
255
256
257
258
259
260
261
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 251

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:



251
252
253
254
255
256
257
258
259
260
261
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 251

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)


251
252
253
254
255
256
257
258
259
260
261
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 251

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)


251
252
253
254
255
256
257
258
259
260
261
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 251

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