Skip to content

Commit 0194805

Browse files
committed
Brought into spec with GitLab API docs (#352).
1 parent c6080e4 commit 0194805

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

src/main/java/org/gitlab4j/api/models/ProjectHook.java

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ public class ProjectHook {
2525
private Boolean wikiPageEvents;
2626
private String token;
2727

28-
28+
private Boolean repositoryUpdateEvents;
29+
private Boolean confidentialIssuesEvents;
30+
private Boolean confidentialNoteEvents;
31+
private String pushEventsBranchFilter;
32+
2933
public Boolean getBuildEvents() {
3034
return buildEvents;
3135
}
@@ -146,6 +150,38 @@ public void setWikiPageEvents(Boolean wikiPageEvents) {
146150
this.wikiPageEvents = wikiPageEvents;
147151
}
148152

153+
public Boolean getRepositoryUpdateEvents() {
154+
return repositoryUpdateEvents;
155+
}
156+
157+
public void setRepositoryUpdateEvents(Boolean repositoryUpdateEvents) {
158+
this.repositoryUpdateEvents = repositoryUpdateEvents;
159+
}
160+
161+
public Boolean getConfidentialIssuesEvents() {
162+
return confidentialIssuesEvents;
163+
}
164+
165+
public void setConfidentialIssuesEvents(Boolean confidentialIssuesEvents) {
166+
this.confidentialIssuesEvents = confidentialIssuesEvents;
167+
}
168+
169+
public Boolean getConfidentialNoteEvents() {
170+
return confidentialNoteEvents;
171+
}
172+
173+
public void setConfidentialNoteEvents(Boolean confidentialNoteEvents) {
174+
this.confidentialNoteEvents = confidentialNoteEvents;
175+
}
176+
177+
public String getPushEventsBranchFilter() {
178+
return pushEventsBranchFilter;
179+
}
180+
181+
public void setPushEventsBranchFilter(String pushEventsBranchFilter) {
182+
this.pushEventsBranchFilter = pushEventsBranchFilter;
183+
}
184+
149185
/**
150186
* @return the do build events flag
151187
* @deprecated As of release 4.1.0, replaced by {@link #getBuildEvents()}

0 commit comments

Comments
 (0)