File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed
main/java/org/gitlab4j/api/models
test/resources/org/gitlab4j/api Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 8
8
9
9
public class Event {
10
10
11
+ private Long id ;
11
12
private String actionName ;
12
13
private Author author ;
13
14
private Long authorId ;
@@ -24,6 +25,14 @@ public class Event {
24
25
private Note note ;
25
26
private PushData pushData ;
26
27
28
+ public Long getId () {
29
+ return this .id ;
30
+ }
31
+
32
+ public void setId (Long id ) {
33
+ this .id = id ;
34
+ }
35
+
27
36
public String getActionName () {
28
37
return actionName ;
29
38
}
Original file line number Diff line number Diff line change 1
1
{
2
+ "id" : 2 ,
2
3
"title" : " this is a title" ,
3
4
"project_id" : 15 ,
4
5
"action_name" : " pushed" ,
Original file line number Diff line number Diff line change 1
1
[
2
2
{
3
+ "id" : 8 ,
3
4
"title" : " no title" ,
4
5
"project_id" : 15 ,
5
6
"action_name" : " closed" ,
6
7
"target_id" : 830 ,
8
+ "target_iid" : 160 ,
7
9
"target_type" : " Issue" ,
8
10
"author_id" : 1 ,
9
11
"target_title" : " Public project search field" ,
12
+ "created_at" : " 2017-02-09T10:43:19.667Z" ,
10
13
"author" : {
11
14
"name" : " Dmitriy Zaporozhets" ,
12
15
"username" : " root" ,
18
21
"author_username" : " root"
19
22
},
20
23
{
24
+ "id" : 9 ,
21
25
"title" : " no title 2" ,
22
26
"project_id" : 15 ,
23
27
"action_name" : " pushed" ,
42
46
}
43
47
},
44
48
{
49
+ "id" : 21 ,
45
50
"project_id" : 15 ,
46
51
"action_name" : " closed" ,
47
52
"target_id" : 840 ,
59
64
"author_username" : " root"
60
65
},
61
66
{
67
+ "id" : 10 ,
62
68
"title" : " no title again" ,
63
69
"project_id" : 15 ,
64
70
"action_name" : " commented on" ,
65
71
"target_id" : 1312 ,
72
+ "target_iid" : 1312 ,
66
73
"target_type" : " Note" ,
67
74
"author_id" : 1 ,
68
75
"created_at" : " 2015-12-04T10:33:58.089Z" ,
80
87
"created_at" : " 2015-12-04T10:33:56.698Z" ,
81
88
"system" : false ,
82
89
"noteable_id" : 377 ,
83
- "noteable_type" : " Issue"
90
+ "noteable_type" : " Issue" ,
91
+ "noteable_iid" : 377
84
92
},
85
93
"author" : {
86
94
"name" : " Dmitriy Zaporozhets" ,
You can’t perform that action at this time.
0 commit comments