Interface Evaluation.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Evaluation.Builder,Evaluation>, SdkBuilder<Evaluation.Builder,Evaluation>, SdkPojo
Enclosing class:
Evaluation

public static interface Evaluation.Builder extends SdkPojo, CopyableBuilder<Evaluation.Builder,Evaluation>
  • Method Details

    • approved

      Evaluation.Builder approved(Boolean approved)

      Whether the state of the pull request is approved.

      Parameters:
      approved - Whether the state of the pull request is approved.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overridden

      Evaluation.Builder overridden(Boolean overridden)

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

      Parameters:
      overridden - Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • approvalRulesSatisfied

      Evaluation.Builder approvalRulesSatisfied(Collection<String> approvalRulesSatisfied)

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

      Parameters:
      approvalRulesSatisfied - The names of the approval rules that have had their conditions met.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • approvalRulesSatisfied

      Evaluation.Builder approvalRulesSatisfied(String... approvalRulesSatisfied)

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

      Parameters:
      approvalRulesSatisfied - The names of the approval rules that have had their conditions met.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • approvalRulesNotSatisfied

      Evaluation.Builder approvalRulesNotSatisfied(Collection<String> approvalRulesNotSatisfied)

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

      Parameters:
      approvalRulesNotSatisfied - The names of the approval rules that have not had their conditions met.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • approvalRulesNotSatisfied

      Evaluation.Builder approvalRulesNotSatisfied(String... approvalRulesNotSatisfied)

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

      Parameters:
      approvalRulesNotSatisfied - The names of the approval rules that have not had their conditions met.
      Returns:
      Returns a reference to this object so that method calls can be chained together.