Interface PullRequestCreatedEventMetadata.Builder

  • Method Details

    • repositoryName

      PullRequestCreatedEventMetadata.Builder repositoryName(String repositoryName)

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

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

      PullRequestCreatedEventMetadata.Builder sourceCommitId(String sourceCommitId)

      The commit ID on the source branch used when the pull request was created.

      Parameters:
      sourceCommitId - The commit ID on the source branch used when the pull request was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationCommitId

      PullRequestCreatedEventMetadata.Builder destinationCommitId(String destinationCommitId)

      The commit ID of the tip of the branch specified as the destination branch when the pull request was created.

      Parameters:
      destinationCommitId - The commit ID of the tip of the branch specified as the destination branch when the pull request was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.