Packages

c

com.codacy.client.bitbucket.v2.service

PullRequestServices

class PullRequestServices extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PullRequestServices
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PullRequestServices(client: BitbucketClient)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def create(owner: String, repository: String, title: String, sourceBranch: String, destinationBranch: String): RequestResponse[JsObject]
  7. def createLineComment(author: String, repo: String, prId: Int, body: String, file: Option[String], line: Option[Int]): RequestResponse[PullRequestComment]
  8. def createPullRequestComment(author: String, repo: String, prId: Int, content: String): RequestResponse[PullRequestComment]
  9. def decline(owner: String, repository: String, prId: Long): RequestResponse[JsObject]
  10. def deleteApprove(owner: String, repository: String, prId: Long): RequestResponse[Boolean]
  11. def deleteComment(author: String, repository: String, pullRequestId: Int, commentId: Long): RequestResponse[Boolean]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def getPullRequest(workspace: String, repositorySlug: String, prId: Int): RequestResponse[PullRequest]

    Returns a specific pullRequest for a specified repository.

    Returns a specific pullRequest for a specified repository.

    workspace

    This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}

    repositorySlug

    This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}

    prId

    The id of the specific pr to retrieve.

    returns

    The PullRequest that contains the data for the required id, the result is wrapped in a RequestResponse type.

  17. def getPullRequestCommits(owner: String, repository: String, prId: Long, size: Int = 100): RequestResponse[Seq[SimpleCommit]]
  18. def getPullRequests(workspace: String, repositorySlug: String, pageLength: Int = DEFAULT_PAGE_LENGTH, pageRequest: Option[PageRequest] = None, states: Seq[String] = Seq("OPEN")): RequestResponse[Seq[PullRequest]]

    Returns all pull requests on the specified repository.

    Returns all pull requests on the specified repository. By default only open pull requests are returned. This can be controlled using the states parameter.

    workspace

    This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}

    repositorySlug

    This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}

    pageLength

    The number of items of the page to be returned, it defaults to DEFAULT_PAGE_LENGTH

    pageRequest

    The cursor to get a page of repositories

    states

    Only return pull requests that are in these states. Valid values: MERGED, SUPERSEDED, OPEN, DECLINED

  19. def getPullRequestsReviewers(owner: String, repository: String, prId: Long): RequestResponse[PullRequestReviewers]
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def listComments(author: String, repository: String, pullRequestId: Int): RequestResponse[Seq[PullRequestComment]]
  23. def merge(owner: String, repository: String, prId: Long): RequestResponse[JsObject]
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def postApprove(owner: String, repository: String, prId: Long): RequestResponse[JsObject]
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped