-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCommit.java
37 lines (30 loc) · 1.06 KB
/
Commit.java
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
package io.quicktype;
import java.util.Map;
import com.fasterxml.jackson.annotation.*;
public class Commit {
private String sha;
private Author author;
private String message;
private boolean distinct;
private String url;
@JsonProperty("sha")
public String getSHA() { return sha; }
@JsonProperty("sha")
public void setSHA(String value) { this.sha = value; }
@JsonProperty("author")
public Author getAuthor() { return author; }
@JsonProperty("author")
public void setAuthor(Author value) { this.author = value; }
@JsonProperty("message")
public String getMessage() { return message; }
@JsonProperty("message")
public void setMessage(String value) { this.message = value; }
@JsonProperty("distinct")
public boolean getDistinct() { return distinct; }
@JsonProperty("distinct")
public void setDistinct(boolean value) { this.distinct = value; }
@JsonProperty("url")
public String getURL() { return url; }
@JsonProperty("url")
public void setURL(String value) { this.url = value; }
}