File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1
1
part of github.client;
2
2
3
+ /**
4
+ * A GitHub Commit
5
+ */
3
6
class Commit {
4
7
final GitHub github;
5
8
9
+ /**
10
+ * Url to Commit Page
11
+ */
6
12
@ApiName ("html_url" )
7
13
String url;
14
+
15
+ /**
16
+ * Commit SHA
17
+ */
8
18
String sha;
9
19
20
+ /**
21
+ * Commit Message
22
+ */
10
23
@ApiName ("commit/message" )
11
24
String message;
12
25
26
+ /**
27
+ * Commit Author
28
+ */
13
29
User author;
30
+
31
+ /**
32
+ * Commit Commiter
33
+ */
14
34
User committer;
15
35
36
+ /**
37
+ * Number of Additions
38
+ */
16
39
@ApiName ("stats/additions" )
17
40
int additionsCount;
18
41
42
+ /**
43
+ * Number of Deletions
44
+ */
19
45
@ApiName ("stats/deletions" )
20
46
int deletionsCount;
21
47
48
+ /**
49
+ * Number of Comments
50
+ */
22
51
@ApiName ("commit/comments_count" )
23
52
int commentsCount;
24
53
54
+ /**
55
+ * Time this commit was authored at
56
+ */
25
57
@ApiName ("commit/author/date" )
26
58
DateTime authoredAt;
27
59
60
+ /**
61
+ * Time this commit was committed at
62
+ */
28
63
@ApiName ("commit/commiter/email" )
29
64
DateTime committedAt;
30
65
66
+ /**
67
+ * Commiter Email
68
+ */
31
69
@ApiName ("commit/commiter/email" )
32
70
String committerEmail;
33
71
72
+ /**
73
+ * Author Email
74
+ */
34
75
@ApiName ("commit/author/email" )
35
76
String authorEmail;
36
77
You can’t perform that action at this time.
0 commit comments