Class: Aws::CodeCommit::Types::Evaluation

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

Overview

Returns information about the approval rules applied to a pull request and whether conditions have been met.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#approval_rules_not_satisfiedArray<String>

The names of the approval rules that have not had their conditions met.

Returns:

  • (Array<String>)


2622
2623
2624
2625
2626
2627
2628
2629
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2622

class Evaluation < Struct.new(
  :approved,
  :overridden,
  :approval_rules_satisfied,
  :approval_rules_not_satisfied)
  SENSITIVE = []
  include Aws::Structure
end

#approval_rules_satisfiedArray<String>

The names of the approval rules that have had their conditions met.

Returns:

  • (Array<String>)


2622
2623
2624
2625
2626
2627
2628
2629
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2622

class Evaluation < Struct.new(
  :approved,
  :overridden,
  :approval_rules_satisfied,
  :approval_rules_not_satisfied)
  SENSITIVE = []
  include Aws::Structure
end

#approvedBoolean

Whether the state of the pull request is approved.

Returns:

  • (Boolean)


2622
2623
2624
2625
2626
2627
2628
2629
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2622

class Evaluation < Struct.new(
  :approved,
  :overridden,
  :approval_rules_satisfied,
  :approval_rules_not_satisfied)
  SENSITIVE = []
  include Aws::Structure
end

#overriddenBoolean

Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.

Returns:

  • (Boolean)


2622
2623
2624
2625
2626
2627
2628
2629
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2622

class Evaluation < Struct.new(
  :approved,
  :overridden,
  :approval_rules_satisfied,
  :approval_rules_not_satisfied)
  SENSITIVE = []
  include Aws::Structure
end