-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExample.java
More file actions
211 lines (173 loc) · 4.58 KB
/
Copy pathExample.java
File metadata and controls
211 lines (173 loc) · 4.58 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
package git.client.entity;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.codehaus.jackson.annotate.JsonAnyGetter;
import org.codehaus.jackson.annotate.JsonAnySetter;
import org.codehaus.jackson.annotate.JsonIgnore;
import org.codehaus.jackson.annotate.JsonProperty;
import org.codehaus.jackson.annotate.JsonPropertyOrder;
@JsonPropertyOrder({ "object_kind", "before", "after", "ref", "checkout_sha", "user_id", "user_name", "user_username",
"user_email", "user_avatar", "project_id", "project", "repository", "commits", "total_commits_count" })
public class Example {
@JsonProperty("object_kind")
private String objectKind;
@JsonProperty("before")
private String before;
@JsonProperty("after")
private String after;
@JsonProperty("ref")
private String ref;
@JsonProperty("checkout_sha")
private String checkoutSha;
@JsonProperty("user_id")
private Integer userId;
@JsonProperty("user_name")
private String userName;
@JsonProperty("user_username")
private String userUsername;
@JsonProperty("user_email")
private String userEmail;
@JsonProperty("user_avatar")
private String userAvatar;
@JsonProperty("project_id")
private Integer projectId;
@JsonProperty("project")
private Project project;
@JsonProperty("repository")
private Repository repository;
@JsonProperty("commits")
private List<Commit> commits = null;
@JsonProperty("total_commits_count")
private Integer totalCommitsCount;
@JsonIgnore
private Map<String, Object> additionalProperties = new HashMap<String, Object>();
@JsonProperty("object_kind")
public String getObjectKind() {
return objectKind;
}
@JsonProperty("object_kind")
public void setObjectKind(String objectKind) {
this.objectKind = objectKind;
}
@JsonProperty("before")
public String getBefore() {
return before;
}
@JsonProperty("before")
public void setBefore(String before) {
this.before = before;
}
@JsonProperty("after")
public String getAfter() {
return after;
}
@JsonProperty("after")
public void setAfter(String after) {
this.after = after;
}
@JsonProperty("ref")
public String getRef() {
return ref;
}
@JsonProperty("ref")
public void setRef(String ref) {
this.ref = ref;
}
@JsonProperty("checkout_sha")
public String getCheckoutSha() {
return checkoutSha;
}
@JsonProperty("checkout_sha")
public void setCheckoutSha(String checkoutSha) {
this.checkoutSha = checkoutSha;
}
@JsonProperty("user_id")
public Integer getUserId() {
return userId;
}
@JsonProperty("user_id")
public void setUserId(Integer userId) {
this.userId = userId;
}
@JsonProperty("user_name")
public String getUserName() {
return userName;
}
@JsonProperty("user_name")
public void setUserName(String userName) {
this.userName = userName;
}
@JsonProperty("user_username")
public String getUserUsername() {
return userUsername;
}
@JsonProperty("user_username")
public void setUserUsername(String userUsername) {
this.userUsername = userUsername;
}
@JsonProperty("user_email")
public String getUserEmail() {
return userEmail;
}
@JsonProperty("user_email")
public void setUserEmail(String userEmail) {
this.userEmail = userEmail;
}
@JsonProperty("user_avatar")
public String getUserAvatar() {
return userAvatar;
}
@JsonProperty("user_avatar")
public void setUserAvatar(String userAvatar) {
this.userAvatar = userAvatar;
}
@JsonProperty("project_id")
public Integer getProjectId() {
return projectId;
}
@JsonProperty("project_id")
public void setProjectId(Integer projectId) {
this.projectId = projectId;
}
@JsonProperty("project")
public Project getProject() {
return project;
}
@JsonProperty("project")
public void setProject(Project project) {
this.project = project;
}
@JsonProperty("repository")
public Repository getRepository() {
return repository;
}
@JsonProperty("repository")
public void setRepository(Repository repository) {
this.repository = repository;
}
@JsonProperty("commits")
public List<Commit> getCommits() {
return commits;
}
@JsonProperty("commits")
public void setCommits(List<Commit> commits) {
this.commits = commits;
}
@JsonProperty("total_commits_count")
public Integer getTotalCommitsCount() {
return totalCommitsCount;
}
@JsonProperty("total_commits_count")
public void setTotalCommitsCount(Integer totalCommitsCount) {
this.totalCommitsCount = totalCommitsCount;
}
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}