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

Class: Aws::CodeCommit::Types::GetCommentsForComparedCommitInput

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

Overview

Note:

When making an API call, you may pass GetCommentsForComparedCommitInput data as a hash:

{
  repository_name: "RepositoryName", # required
  before_commit_id: "CommitId",
  after_commit_id: "CommitId", # required
  next_token: "NextToken",
  max_results: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#after_commit_idString

To establish the directionality of the comparison, the full commit ID of the 'after' commit.

Returns:

  • (String)


825
826
827
828
829
830
831
832
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 825

class GetCommentsForComparedCommitInput < Struct.new(
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :next_token,
  :max_results)
  include Aws::Structure
end

#before_commit_idString

To establish the directionality of the comparison, the full commit ID of the 'before' commit.

Returns:

  • (String)


825
826
827
828
829
830
831
832
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 825

class GetCommentsForComparedCommitInput < Struct.new(
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :next_token,
  :max_results)
  include Aws::Structure
end

#max_resultsInteger

A non-negative integer used to limit the number of returned results. The default is 100 comments, and is configurable up to 500.

Returns:

  • (Integer)


825
826
827
828
829
830
831
832
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 825

class GetCommentsForComparedCommitInput < Struct.new(
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :next_token,
  :max_results)
  include Aws::Structure
end

#next_tokenString

An enumeration token that when provided in a request, returns the next batch of the results.

Returns:

  • (String)


825
826
827
828
829
830
831
832
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 825

class GetCommentsForComparedCommitInput < Struct.new(
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :next_token,
  :max_results)
  include Aws::Structure
end

#repository_nameString

The name of the repository where you want to compare commits.

Returns:

  • (String)


825
826
827
828
829
830
831
832
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 825

class GetCommentsForComparedCommitInput < Struct.new(
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :next_token,
  :max_results)
  include Aws::Structure
end