public PullRequest withPullRequestTargets(PullRequestTarget... pullRequestTargets) {
        if (this.pullRequestTargets == null) {
            setPullRequestTargets(new java.util.ArrayList<PullRequestTarget>(pullRequestTargets.length));
        }
        for (PullRequestTarget ele : pullRequestTargets) {
            this.pullRequestTargets.add(ele);
        }
        return this;
    }
public PullRequest withPullRequestTargets ( PullRequestTarget ... pullRequestTargets ) { if ( this . pullRequestTargets == null ) { setPullRequestTargets ( new java . util . ArrayList < PullRequestTarget > ( pullRequestTargets . length ) ) ; } for ( PullRequestTarget ele : pullRequestTargets ) { this . pullRequestTargets . add ( ele ) ; } return this ; }
<p>
The targets of the pull request, including the source branch and destination branch for the pull request.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPullRequestTargets(java.util.Collection)} or {@link #withPullRequestTargets(java.util.Collection)} if
you want to override the existing values.
</p>

@param pullRequestTargets
The targets of the pull request, including the source branch and destination branch for the pull request.
@return Returns a reference to this object so that method calls can be chained together.