File tree 2 files changed +19
-1
lines changed
main/java/org/gitlab4j/api/systemhooks
test/resources/org/gitlab4j/api
2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ public class TeamMemberSystemHookEvent extends AbstractSystemHookEvent {
14
14
private Date createdAt ;
15
15
private Date updatedAt ;
16
16
private String eventName ;
17
+ @ Deprecated
17
18
private String projectAccess ;
19
+ private String accessLevel ;
18
20
private String projectName ;
19
21
private String projectPath ;
20
22
private Long projectId ;
@@ -50,14 +52,30 @@ public void setEventName(String eventName) {
50
52
this .eventName = eventName ;
51
53
}
52
54
55
+ /**
56
+ * No longer used. Probably replaced by {@link #getAccessLevel()}
57
+ */
58
+ @ Deprecated
53
59
public String getProjectAccess () {
54
60
return projectAccess ;
55
61
}
56
62
63
+ /**
64
+ * No longer used. Probably replaced by {@link #setAccessLevel(String)}
65
+ */
66
+ @ Deprecated
57
67
public void setProjectAccess (String projectAccess ) {
58
68
this .projectAccess = projectAccess ;
59
69
}
60
70
71
+ public String getAccessLevel () {
72
+ return accessLevel ;
73
+ }
74
+
75
+ public void setAccessLevel (String accessLevel ) {
76
+ this .accessLevel = accessLevel ;
77
+ }
78
+
61
79
public String getProjectName () {
62
80
return projectName ;
63
81
}
Original file line number Diff line number Diff line change 2
2
"created_at" : " 2012-07-21T07:30:56Z" ,
3
3
"updated_at" : " 2012-07-21T07:38:22Z" ,
4
4
"event_name" : " user_add_to_team" ,
5
- "project_access " : " Master" ,
5
+ "access_level " : " Master" ,
6
6
"project_id" : 74 ,
7
7
"project_name" : " StoreCloud" ,
8
8
"project_path" : " storecloud" ,
You can’t perform that action at this time.
0 commit comments