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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
# File 'lib/aws-sdk-codecommit/types.rb', line 1061

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)


1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
# File 'lib/aws-sdk-codecommit/types.rb', line 1061

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)


1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
# File 'lib/aws-sdk-codecommit/types.rb', line 1061

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)


1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
# File 'lib/aws-sdk-codecommit/types.rb', line 1061

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:



1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
# File 'lib/aws-sdk-codecommit/types.rb', line 1061

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:



1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
# File 'lib/aws-sdk-codecommit/types.rb', line 1061

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)


1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
# File 'lib/aws-sdk-codecommit/types.rb', line 1061

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)


1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
# File 'lib/aws-sdk-codecommit/types.rb', line 1061

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