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

Class: Aws::CodeCommit::Types::CommentsForComparedCommit

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

Overview

Returns information about comments on the comparison between two commits.

Instance Attribute Summary collapse

Instance Attribute Details

#after_blob_idString

The full blob ID of the commit used to establish the 'after' of the comparison.

Returns:

  • (String)


194
195
196
197
198
199
200
201
202
203
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 194

class CommentsForComparedCommit < Struct.new(
  :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 used to establish the 'after' of the comparison.

Returns:

  • (String)


194
195
196
197
198
199
200
201
202
203
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 194

class CommentsForComparedCommit < Struct.new(
  :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 commit used to establish the 'before' of the comparison.

Returns:

  • (String)


194
195
196
197
198
199
200
201
202
203
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 194

class CommentsForComparedCommit < Struct.new(
  :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 used to establish the 'before' of the comparison.

Returns:

  • (String)


194
195
196
197
198
199
200
201
202
203
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 194

class CommentsForComparedCommit < Struct.new(
  :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 comparison between commits.

Returns:



194
195
196
197
198
199
200
201
202
203
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 194

class CommentsForComparedCommit < Struct.new(
  :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 comparison, including the file name, line number, and whether the version of the file where the comment was made is 'BEFORE' or 'AFTER'.

Returns:



194
195
196
197
198
199
200
201
202
203
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 194

class CommentsForComparedCommit < Struct.new(
  :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 compared commits.

Returns:

  • (String)


194
195
196
197
198
199
200
201
202
203
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 194

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