* Information about users who have approved the pull request. *
*/ private java.util.List* Information about users who have approved the pull request. *
* * @return Information about users who have approved the pull request. */ public java.util.List* Information about users who have approved the pull request. *
* * @param approvals * Information about users who have approved the pull request. */ public void setApprovals(java.util.Collection* Information about users who have approved the pull request. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setApprovals(java.util.Collection)} or {@link #withApprovals(java.util.Collection)} if you want to * override the existing values. *
* * @param approvals * Information about users who have approved the pull request. * @return Returns a reference to this object so that method calls can be chained together. */ public GetPullRequestApprovalStatesResult withApprovals(Approval... approvals) { if (this.approvals == null) { setApprovals(new java.util.ArrayList* Information about users who have approved the pull request. *
* * @param approvals * Information about users who have approved the pull request. * @return Returns a reference to this object so that method calls can be chained together. */ public GetPullRequestApprovalStatesResult withApprovals(java.util.Collection