blob: fafa2b86a37ada0e0b70604ddffc6c34e1a6f12c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
package dotty.tools.bot
package model
object Github {
case class PullRequest(
url: String,
id: Long,
commits_url: String
)
case class Issue(
number: Int,
pull_request: Option[PullRequest]
)
case class CommitInfo(
message: String
)
case class Commit(
sha: String,
author: Author,
committer: Author,
commit: CommitInfo
)
case class Author(
login: Option[String]
)
case class Status(
state: String,
target_url: String,
description: String,
context: String = "CLA"
)
case class StatusResponse(
url: String,
id: Long,
state: String
)
}
|