Class: Aws::CodeCommit::Types::GetCommentsForPullRequestInput

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#after_commit_idString

The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was made. Requirement is conditional: ‘afterCommitId` must be specified when `repositoryName` is included.

Returns:

  • (String)


2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
# File 'lib/aws-sdk-codecommit/types.rb', line 2917

class GetCommentsForPullRequestInput < Struct.new(
  :pull_request_id,
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#before_commit_idString

The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created. Requirement is conditional: ‘beforeCommitId` must be specified when `repositoryName` is included.

Returns:

  • (String)


2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
# File 'lib/aws-sdk-codecommit/types.rb', line 2917

class GetCommentsForPullRequestInput < Struct.new(
  :pull_request_id,
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments. You can return up to 500 comments with a single request.

Returns:

  • (Integer)


2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
# File 'lib/aws-sdk-codecommit/types.rb', line 2917

class GetCommentsForPullRequestInput < Struct.new(
  :pull_request_id,
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

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

Returns:

  • (String)


2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
# File 'lib/aws-sdk-codecommit/types.rb', line 2917

class GetCommentsForPullRequestInput < Struct.new(
  :pull_request_id,
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#pull_request_idString

The system-generated ID of the pull request. To get this ID, use ListPullRequests.

Returns:

  • (String)


2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
# File 'lib/aws-sdk-codecommit/types.rb', line 2917

class GetCommentsForPullRequestInput < Struct.new(
  :pull_request_id,
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#repository_nameString

The name of the repository that contains the pull request. Requirement is conditional: ‘repositoryName` must be specified when `beforeCommitId` and `afterCommitId` are included.

Returns:

  • (String)


2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
# File 'lib/aws-sdk-codecommit/types.rb', line 2917

class GetCommentsForPullRequestInput < Struct.new(
  :pull_request_id,
  :repository_name,
  :before_commit_id,
  :after_commit_id,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end