-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPayload.java
More file actions
97 lines (80 loc) · 3.17 KB
/
Payload.java
File metadata and controls
97 lines (80 loc) · 3.17 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
package io.quicktype;
import java.util.Map;
import com.fasterxml.jackson.annotation.*;
public class Payload {
private Long pushID;
private Long size;
private Long distinctSize;
private String ref;
private String head;
private String before;
private Commit[] commits;
private String action;
private Long number;
private PullRequest pullRequest;
private String refType;
private String masterBranch;
private String description;
private String pusherType;
private Comment comment;
@JsonProperty("push_id")
public Long getPushID() { return pushID; }
@JsonProperty("push_id")
public void setPushID(Long value) { this.pushID = value; }
@JsonProperty("size")
public Long getSize() { return size; }
@JsonProperty("size")
public void setSize(Long value) { this.size = value; }
@JsonProperty("distinct_size")
public Long getDistinctSize() { return distinctSize; }
@JsonProperty("distinct_size")
public void setDistinctSize(Long value) { this.distinctSize = value; }
@JsonProperty("ref")
public String getRef() { return ref; }
@JsonProperty("ref")
public void setRef(String value) { this.ref = value; }
@JsonProperty("head")
public String getHead() { return head; }
@JsonProperty("head")
public void setHead(String value) { this.head = value; }
@JsonProperty("before")
public String getBefore() { return before; }
@JsonProperty("before")
public void setBefore(String value) { this.before = value; }
@JsonProperty("commits")
public Commit[] getCommits() { return commits; }
@JsonProperty("commits")
public void setCommits(Commit[] value) { this.commits = value; }
@JsonProperty("action")
public String getAction() { return action; }
@JsonProperty("action")
public void setAction(String value) { this.action = value; }
@JsonProperty("number")
public Long getNumber() { return number; }
@JsonProperty("number")
public void setNumber(Long value) { this.number = value; }
@JsonProperty("pull_request")
public PullRequest getPullRequest() { return pullRequest; }
@JsonProperty("pull_request")
public void setPullRequest(PullRequest value) { this.pullRequest = value; }
@JsonProperty("ref_type")
public String getRefType() { return refType; }
@JsonProperty("ref_type")
public void setRefType(String value) { this.refType = value; }
@JsonProperty("master_branch")
public String getMasterBranch() { return masterBranch; }
@JsonProperty("master_branch")
public void setMasterBranch(String value) { this.masterBranch = value; }
@JsonProperty("description")
public String getDescription() { return description; }
@JsonProperty("description")
public void setDescription(String value) { this.description = value; }
@JsonProperty("pusher_type")
public String getPusherType() { return pusherType; }
@JsonProperty("pusher_type")
public void setPusherType(String value) { this.pusherType = value; }
@JsonProperty("comment")
public Comment getComment() { return comment; }
@JsonProperty("comment")
public void setComment(Comment value) { this.comment = value; }
}