Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Evaluation = Evaluation' {}
- newEvaluation :: Evaluation
- evaluation_approvalRulesSatisfied :: Lens' Evaluation (Maybe [Text])
- evaluation_approvalRulesNotSatisfied :: Lens' Evaluation (Maybe [Text])
- evaluation_approved :: Lens' Evaluation (Maybe Bool)
- evaluation_overridden :: Lens' Evaluation (Maybe Bool)
Documentation
data Evaluation Source #
Returns information about the approval rules applied to a pull request and whether conditions have been met.
See: newEvaluation
smart constructor.
Evaluation' | |
|
Instances
newEvaluation :: Evaluation Source #
Create a value of Evaluation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:approvalRulesSatisfied:Evaluation'
, evaluation_approvalRulesSatisfied
- The names of the approval rules that have had their conditions met.
$sel:approvalRulesNotSatisfied:Evaluation'
, evaluation_approvalRulesNotSatisfied
- The names of the approval rules that have not had their conditions met.
$sel:approved:Evaluation'
, evaluation_approved
- Whether the state of the pull request is approved.
$sel:overridden:Evaluation'
, evaluation_overridden
- Whether the approval rule requirements for the pull request have been
overridden and no longer need to be met.
evaluation_approvalRulesSatisfied :: Lens' Evaluation (Maybe [Text]) Source #
The names of the approval rules that have had their conditions met.
evaluation_approvalRulesNotSatisfied :: Lens' Evaluation (Maybe [Text]) Source #
The names of the approval rules that have not had their conditions met.
evaluation_approved :: Lens' Evaluation (Maybe Bool) Source #
Whether the state of the pull request is approved.
evaluation_overridden :: Lens' Evaluation (Maybe Bool) Source #
Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.