Skip to content

Commit 170ffb3

Browse files
committed
Document Commits Model
1 parent def5e9a commit 170ffb3

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

lib/src/client/commits.dart

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,77 @@
11
part of github.client;
22

3+
/**
4+
* A GitHub Commit
5+
*/
36
class Commit {
47
final GitHub github;
58

9+
/**
10+
* Url to Commit Page
11+
*/
612
@ApiName("html_url")
713
String url;
14+
15+
/**
16+
* Commit SHA
17+
*/
818
String sha;
919

20+
/**
21+
* Commit Message
22+
*/
1023
@ApiName("commit/message")
1124
String message;
1225

26+
/**
27+
* Commit Author
28+
*/
1329
User author;
30+
31+
/**
32+
* Commit Commiter
33+
*/
1434
User committer;
1535

36+
/**
37+
* Number of Additions
38+
*/
1639
@ApiName("stats/additions")
1740
int additionsCount;
1841

42+
/**
43+
* Number of Deletions
44+
*/
1945
@ApiName("stats/deletions")
2046
int deletionsCount;
2147

48+
/**
49+
* Number of Comments
50+
*/
2251
@ApiName("commit/comments_count")
2352
int commentsCount;
2453

54+
/**
55+
* Time this commit was authored at
56+
*/
2557
@ApiName("commit/author/date")
2658
DateTime authoredAt;
2759

60+
/**
61+
* Time this commit was committed at
62+
*/
2863
@ApiName("commit/commiter/email")
2964
DateTime committedAt;
3065

66+
/**
67+
* Commiter Email
68+
*/
3169
@ApiName("commit/commiter/email")
3270
String committerEmail;
3371

72+
/**
73+
* Author Email
74+
*/
3475
@ApiName("commit/author/email")
3576
String authorEmail;
3677

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy