Interface PullRequestSourceReferenceUpdatedEventMetadata.Builder

    • Method Detail

      • repositoryName

        PullRequestSourceReferenceUpdatedEventMetadata.Builder repositoryName​(String repositoryName)

        The name of the repository where the pull request was updated.

        Parameters:
        repositoryName - The name of the repository where the pull request was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • beforeCommitId

        PullRequestSourceReferenceUpdatedEventMetadata.Builder beforeCommitId​(String beforeCommitId)

        The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated.

        Parameters:
        beforeCommitId - The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • afterCommitId

        PullRequestSourceReferenceUpdatedEventMetadata.Builder afterCommitId​(String afterCommitId)

        The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.

        Parameters:
        afterCommitId - The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mergeBase

        PullRequestSourceReferenceUpdatedEventMetadata.Builder mergeBase​(String mergeBase)

        The commit ID of the most recent commit that the source branch and the destination branch have in common.

        Parameters:
        mergeBase - The commit ID of the most recent commit that the source branch and the destination branch have in common.
        Returns:
        Returns a reference to this object so that method calls can be chained together.