class Issues[C, M[_]] extends AnyRef
Factory to encapsulate calls related to Issues operations
- Alphabetic
- By Inheritance
- Issues
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Issues()(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( ... )
-
def
create(accessToken: Option[String] = None, headers: Map[String, String] = Map(), owner: String, repo: String, title: String, body: String, milestone: Option[Int], labels: List[String], assignees: List[String]): M[GHResponse[Issue]]
Create an issue
Create an issue
- accessToken
to identify the authenticated user
- headers
optional user headers to include in the request
- owner
of the repo
- repo
name of the repo
- title
The title of the issue.
- body
The contents of the issue.
- milestone
The number of the milestone to associate this issue with.
- labels
Labels to associate with this issue.
- assignees
Logins for Users to assign to this issue.
-
def
edit(accessToken: Option[String] = None, headers: Map[String, String] = Map(), owner: String, repo: String, issue: Int, state: String, title: String, body: String, milestone: Option[Int], labels: List[String], assignees: List[String]): M[GHResponse[Issue]]
Edit an issue
Edit an issue
- accessToken
to identify the authenticated user
- headers
optional user headers to include in the request
- state
State of the issue. Either open or closed.
- title
The title of the issue.
- body
The contents of the issue.
- milestone
The number of the milestone to associate this issue with.
- labels
Labels to associate with this issue. Pass one or more Labels to replace the set of Labels on this Issue. Send an empty list to clear all Labels from the Issue.
- assignees
Logins for Users to assign to this issue. Pass one or more user logins to replace the set of assignees on this Issue. Send an empty list to clear all assignees from the Issue.
-
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): M[GHResponse[List[Issue]]]
List issues for a repository
List issues for a repository
Note: In the past, pull requests and issues were more closely aligned than they are now. As far as the API is concerned, every pull request is an issue, but not every issue is a pull request.
This endpoint may also return pull requests in the response. If an issue is a pull request, the object will include a
pull_requestkey.- accessToken
to identify the authenticated user
- headers
optional user headers to include in the request
- owner
of the repo
- repo
name of the repo
- returns
a GHResponse with the issue list.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
search(accessToken: Option[String] = None, headers: Map[String, String] = Map(), query: String, searchParams: List[SearchParam]): M[GHResponse[SearchIssuesResult]]
Search for issues
Search for issues
Note: In the past, pull requests and issues were more closely aligned than they are now. As far as the API is concerned, every pull request is an issue, but not every issue is a pull request.
This endpoint may also return pull requests in the response. If an issue is a pull request, the object will include a
pull_requestkey.- accessToken
to identify the authenticated user
- headers
optional user headers to include in the request
- query
the query string for the search
- searchParams
list of search params
- returns
a GHResponse with the result of the search.
-
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( ... )