@@ -28,6 +28,8 @@ public class ProjectHook {
2828 private Boolean confidentialNoteEvents ;
2929 private String pushEventsBranchFilter ;
3030
31+ private Boolean deploymentEvents ;
32+
3133 public Boolean getBuildEvents () {
3234 return buildEvents ;
3335 }
@@ -83,7 +85,7 @@ public Boolean getNoteEvents() {
8385 public void setNoteEvents (Boolean noteEvents ) {
8486 this .noteEvents = noteEvents ;
8587 }
86-
88+
8789 public Boolean getJobEvents () {
8890 return jobEvents ;
8991 }
@@ -123,7 +125,7 @@ public Boolean getTagPushEvents() {
123125 public void setTagPushEvents (Boolean tagPushEvents ) {
124126 this .tagPushEvents = tagPushEvents ;
125127 }
126-
128+
127129 public String getToken () {
128130 return token ;
129131 }
@@ -156,6 +158,14 @@ public void setRepositoryUpdateEvents(Boolean repositoryUpdateEvents) {
156158 this .repositoryUpdateEvents = repositoryUpdateEvents ;
157159 }
158160
161+ public Boolean getDeploymentEvents () {
162+ return deploymentEvents ;
163+ }
164+
165+ public void setDeploymentEvents (Boolean deploymentEvents ) {
166+ this .deploymentEvents = deploymentEvents ;
167+ }
168+
159169 public Boolean getConfidentialIssuesEvents () {
160170 return confidentialIssuesEvents ;
161171 }
@@ -179,7 +189,7 @@ public String getPushEventsBranchFilter() {
179189 public void setPushEventsBranchFilter (String pushEventsBranchFilter ) {
180190 this .pushEventsBranchFilter = pushEventsBranchFilter ;
181191 }
182-
192+
183193 public ProjectHook withIssuesEvents (Boolean issuesEvents ) {
184194 this .issuesEvents = issuesEvents ;
185195 return (this );
@@ -194,7 +204,7 @@ public ProjectHook withNoteEvents(Boolean noteEvents) {
194204 this .noteEvents = noteEvents ;
195205 return (this );
196206 }
197-
207+
198208 public ProjectHook withJobEvents (Boolean jobEvents ) {
199209 this .jobEvents = jobEvents ;
200210 return (this );
@@ -240,8 +250,14 @@ public ProjectHook withPushEventsBranchFilter(String pushEventsBranchFilter) {
240250 return (this );
241251 }
242252
253+ public ProjectHook withDeploymentEvents (Boolean deploymentEvents ) {
254+ this .deploymentEvents = deploymentEvents ;
255+ return (this );
256+ }
257+
243258 @ Override
244259 public String toString () {
245260 return (JacksonJson .toJsonString (this ));
246261 }
247- }
262+
263+ }
0 commit comments