Class: Aws::CodeGuruReviewer::Types::CodeReview

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

Overview

Information about a code review.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#code_review_arnString

The Amazon Resource Name (ARN) of the CodeReview object.

Returns:

  • (String)


206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
# File 'gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb', line 206

class CodeReview < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :state_reason,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :source_code_type,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#created_time_stampTime

The time, in milliseconds since the epoch, when the code review was created.

Returns:

  • (Time)


206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
# File 'gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb', line 206

class CodeReview < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :state_reason,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :source_code_type,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#last_updated_time_stampTime

The time, in milliseconds since the epoch, when the code review was last updated.

Returns:

  • (Time)


206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
# File 'gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb', line 206

class CodeReview < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :state_reason,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :source_code_type,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#metricsTypes::Metrics

The statistics from the code review.

Returns:



206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
# File 'gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb', line 206

class CodeReview < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :state_reason,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :source_code_type,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the code review.

Returns:

  • (String)


206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
# File 'gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb', line 206

class CodeReview < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :state_reason,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :source_code_type,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#ownerString

The owner of the repository. For an AWS CodeCommit repository, this is the AWS account ID of the account that owns the repository. For a GitHub or Bitbucket repository, this is the username for the account that owns the repository.

Returns:

  • (String)


206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
# File 'gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb', line 206

class CodeReview < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :state_reason,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :source_code_type,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#provider_typeString

The type of repository that contains the reviewed code (for example, GitHub or Bitbucket).

Returns:

  • (String)


206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
# File 'gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb', line 206

class CodeReview < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :state_reason,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :source_code_type,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#pull_request_idString

The pull request ID for the code review.

Returns:

  • (String)


206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
# File 'gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb', line 206

class CodeReview < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :state_reason,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :source_code_type,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#repository_nameString

The name of the repository.

Returns:

  • (String)


206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
# File 'gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb', line 206

class CodeReview < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :state_reason,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :source_code_type,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#source_code_typeTypes::SourceCodeType

The type of the source code for the code review.



206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
# File 'gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb', line 206

class CodeReview < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :state_reason,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :source_code_type,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The valid code review states are:

  • Completed: The code review is complete.

  • Pending: The code review started and has not completed or failed.

  • Failed: The code review failed.

  • Deleting: The code review is being deleted.

Returns:

  • (String)


206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
# File 'gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb', line 206

class CodeReview < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :state_reason,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :source_code_type,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#state_reasonString

The reason for the state of the code review.

Returns:

  • (String)


206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
# File 'gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb', line 206

class CodeReview < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :state_reason,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :source_code_type,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of code review.

Returns:

  • (String)


206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
# File 'gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb', line 206

class CodeReview < Struct.new(
  :name,
  :code_review_arn,
  :repository_name,
  :owner,
  :provider_type,
  :state,
  :state_reason,
  :created_time_stamp,
  :last_updated_time_stamp,
  :type,
  :pull_request_id,
  :source_code_type,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end