@@ -28,6 +28,9 @@ public class ProjectHook {
2828 private Boolean confidentialNoteEvents ;
2929 private String pushEventsBranchFilter ;
3030
31+ private Boolean deploymentEvents ;
32+ private Boolean releasesEvents ;
33+
3134 public Boolean getBuildEvents () {
3235 return buildEvents ;
3336 }
@@ -83,7 +86,7 @@ public Boolean getNoteEvents() {
8386 public void setNoteEvents (Boolean noteEvents ) {
8487 this .noteEvents = noteEvents ;
8588 }
86-
89+
8790 public Boolean getJobEvents () {
8891 return jobEvents ;
8992 }
@@ -123,7 +126,7 @@ public Boolean getTagPushEvents() {
123126 public void setTagPushEvents (Boolean tagPushEvents ) {
124127 this .tagPushEvents = tagPushEvents ;
125128 }
126-
129+
127130 public String getToken () {
128131 return token ;
129132 }
@@ -156,6 +159,22 @@ public void setRepositoryUpdateEvents(Boolean repositoryUpdateEvents) {
156159 this .repositoryUpdateEvents = repositoryUpdateEvents ;
157160 }
158161
162+ public Boolean getDeploymentEvents () {
163+ return deploymentEvents ;
164+ }
165+
166+ public void setDeploymentEvents (Boolean releasesEvents ) {
167+ this .deploymentEvents = releasesEvents ;
168+ }
169+
170+ public Boolean getReleasesEvents () {
171+ return releasesEvents ;
172+ }
173+
174+ public void setReleasesEvents (Boolean releasesEvents ) {
175+ this .releasesEvents = releasesEvents ;
176+ }
177+
159178 public Boolean getConfidentialIssuesEvents () {
160179 return confidentialIssuesEvents ;
161180 }
@@ -179,7 +198,7 @@ public String getPushEventsBranchFilter() {
179198 public void setPushEventsBranchFilter (String pushEventsBranchFilter ) {
180199 this .pushEventsBranchFilter = pushEventsBranchFilter ;
181200 }
182-
201+
183202 public ProjectHook withIssuesEvents (Boolean issuesEvents ) {
184203 this .issuesEvents = issuesEvents ;
185204 return (this );
@@ -194,7 +213,7 @@ public ProjectHook withNoteEvents(Boolean noteEvents) {
194213 this .noteEvents = noteEvents ;
195214 return (this );
196215 }
197-
216+
198217 public ProjectHook withJobEvents (Boolean jobEvents ) {
199218 this .jobEvents = jobEvents ;
200219 return (this );
@@ -240,8 +259,18 @@ public ProjectHook withPushEventsBranchFilter(String pushEventsBranchFilter) {
240259 return (this );
241260 }
242261
262+ public ProjectHook withDeploymentEvents (Boolean deploymentEvents ) {
263+ this .deploymentEvents = deploymentEvents ;
264+ return (this );
265+ }
266+
267+ public ProjectHook withReleasesEvents (Boolean releasesEvents ) {
268+ this .releasesEvents = releasesEvents ;
269+ return (this );
270+ }
271+
243272 @ Override
244273 public String toString () {
245274 return (JacksonJson .toJsonString (this ));
246275 }
247- }
276+ }
0 commit comments