Interface CommitDiffSourceCodeType.Builder

    • Method Detail

      • sourceCommit

        CommitDiffSourceCodeType.Builder sourceCommit​(String sourceCommit)

        The SHA of the source commit used to generate a commit diff. This field is required for a pull request code review.

        Parameters:
        sourceCommit - The SHA of the source commit used to generate a commit diff. This field is required for a pull request code review.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationCommit

        CommitDiffSourceCodeType.Builder destinationCommit​(String destinationCommit)

        The SHA of the destination commit used to generate a commit diff. This field is required for a pull request code review.

        Parameters:
        destinationCommit - The SHA of the destination commit used to generate a commit diff. This field is required for a pull request code review.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mergeBaseCommit

        CommitDiffSourceCodeType.Builder mergeBaseCommit​(String mergeBaseCommit)

        The SHA of the merge base of a commit.

        Parameters:
        mergeBaseCommit - The SHA of the merge base of a commit.
        Returns:
        Returns a reference to this object so that method calls can be chained together.