class PullRequests[C, M[_]] extends AnyRef
Factory to encapsulate calls related to PullRequests operations
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PullRequests
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new PullRequests()(implicit urls: GithubApiUrls, C: Capture[M], httpClientImpl: HttpRequestBuilderExtension[C, M])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- val httpClient: HttpClient[C, M]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
list(accessToken: Option[String] = None, headers: Map[String, String] = Map(), owner: String, repo: String, filters: List[PRFilter] = Nil): M[GHResponse[List[PullRequest]]]
List pull requests for a repository
List pull requests for a repository
- accessToken
to identify the authenticated user
- headers
optional user headers to include in the request
- owner
of the repo
- repo
name of the repo
- filters
define the filter list. Options are:
- state: Either
open,closed, orallto filter by state. Default:open - head: Filter pulls by head user and branch name in the format of
user:ref-name. Example:github:new-script-format. - base: Filter pulls by base branch name. Example:
gh-pages. - sort: What to sort results by. Can be either
created,updated,popularity(comment count) orlong-running(age, filtering by pulls updated in the last month). Default:created - direction: The direction of the sort. Can be either
ascordesc. Default:descwhen sort is created or sort is not specified, otherwiseasc.
- state: Either
- returns
a GHResponse with the pull request list.
-
def
listFiles(accessToken: Option[String] = None, headers: Map[String, String] = Map(), owner: String, repo: String, number: Int): M[GHResponse[List[PullRequestFile]]]
List files for a specific pull request
List files for a specific pull request
- accessToken
to identify the authenticated user
- headers
optional user headers to include in the request
- owner
of the repo
- repo
name of the repo
- number
of the pull request for which we want to list the files
- returns
a GHResponse with the list of files affected by the pull request identified by number.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )