class Statuses[C, M[_]] extends AnyRef
Factory to encapsulate calls related to Statuses operations
- Alphabetic
- By Inheritance
- Statuses
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Statuses()(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, sha: String, state: String, target_url: Option[String], description: Option[String], context: Option[String]): M[GHResponse[Status]]
Create a status
Create a status
- accessToken
to identify the authenticated user
- headers
optional user headers to include in the request
- owner
of the repo
- repo
name of the repo
- sha
commit sha to create the status on
- state
of the status: pending, success, error, or failure
- target_url
url to associate with the status, will appear in the GitHub UI
- description
of the status
- context
identifier of the status maker
- returns
a GHResopnse with the created Status
-
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] )
-
def
get(accessToken: Option[String] = None, headers: Map[String, String] = Map(), owner: String, repo: String, ref: String): M[GHResponse[CombinedStatus]]
Get the combined status for a specific ref
Get the combined status for a specific ref
- accessToken
to identify the authenticated user
- headers
optional user headers to include in the request
- owner
of the repo
- repo
name of the commit
- ref
commit SHA, branch name or tag name
- returns
a GHResponse with the combined status
-
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, ref: String): M[GHResponse[List[Status]]]
List statuses for a commit
List statuses for a commit
- accessToken
to identify the authenticated user
- headers
optional user headers to include in the request
- owner
of the repo
- repo
name of the repo
- ref
commit SHA, branch name or tag name
- returns
a GHResponse with the status list
-
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( ... )