Interface PostCommentForPullRequestResponse.Builder

    • Method Detail

      • repositoryName

        PostCommentForPullRequestResponse.Builder repositoryName​(String repositoryName)

        The name of the repository where you posted a comment on a pull request.

        Parameters:
        repositoryName - The name of the repository where you posted a comment on a pull request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pullRequestId

        PostCommentForPullRequestResponse.Builder pullRequestId​(String pullRequestId)

        The system-generated ID of the pull request.

        Parameters:
        pullRequestId - The system-generated ID of the pull request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • beforeCommitId

        PostCommentForPullRequestResponse.Builder beforeCommitId​(String beforeCommitId)

        The full commit ID of the commit in the source branch used to create the pull request, or in the case of an updated pull request, the full commit ID of the commit used to update the pull request.

        Parameters:
        beforeCommitId - The full commit ID of the commit in the source branch used to create the pull request, or in the case of an updated pull request, the full commit ID of the commit used to update the pull request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • afterCommitId

        PostCommentForPullRequestResponse.Builder afterCommitId​(String afterCommitId)

        The full commit ID of the commit in the destination branch where the pull request is merged.

        Parameters:
        afterCommitId - The full commit ID of the commit in the destination branch where the pull request is merged.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • beforeBlobId

        PostCommentForPullRequestResponse.Builder beforeBlobId​(String beforeBlobId)

        In the directionality of the pull request, the blob ID of the before blob.

        Parameters:
        beforeBlobId - In the directionality of the pull request, the blob ID of the before blob.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • afterBlobId

        PostCommentForPullRequestResponse.Builder afterBlobId​(String afterBlobId)

        In the directionality of the pull request, the blob ID of the after blob.

        Parameters:
        afterBlobId - In the directionality of the pull request, the blob ID of the after blob.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • location

        PostCommentForPullRequestResponse.Builder location​(Location location)

        The location of the change where you posted your comment.

        Parameters:
        location - The location of the change where you posted your comment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • comment

        PostCommentForPullRequestResponse.Builder comment​(Comment comment)

        The content of the comment you posted.

        Parameters:
        comment - The content of the comment you posted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.