Commit a2032033 authored by ryan.neal's avatar ryan.neal
Browse files

fix: added missing boolean

parent 3d327e39
...@@ -28,6 +28,8 @@ public class ProjectHook { ...@@ -28,6 +28,8 @@ public class ProjectHook {
private Boolean confidentialNoteEvents; private Boolean confidentialNoteEvents;
private String pushEventsBranchFilter; private String pushEventsBranchFilter;
private Boolean deploymentEvents;
public Boolean getBuildEvents() { public Boolean getBuildEvents() {
return buildEvents; return buildEvents;
} }
...@@ -83,7 +85,7 @@ public class ProjectHook { ...@@ -83,7 +85,7 @@ public class ProjectHook {
public void setNoteEvents(Boolean noteEvents) { public void setNoteEvents(Boolean noteEvents) {
this.noteEvents = noteEvents; this.noteEvents = noteEvents;
} }
public Boolean getJobEvents() { public Boolean getJobEvents() {
return jobEvents; return jobEvents;
} }
...@@ -123,7 +125,7 @@ public class ProjectHook { ...@@ -123,7 +125,7 @@ public class ProjectHook {
public void setTagPushEvents(Boolean tagPushEvents) { public void setTagPushEvents(Boolean tagPushEvents) {
this.tagPushEvents = tagPushEvents; this.tagPushEvents = tagPushEvents;
} }
public String getToken() { public String getToken() {
return token; return token;
} }
...@@ -156,6 +158,14 @@ public class ProjectHook { ...@@ -156,6 +158,14 @@ public class ProjectHook {
this.repositoryUpdateEvents = repositoryUpdateEvents; this.repositoryUpdateEvents = repositoryUpdateEvents;
} }
public Boolean getDeploymentEvents() {
return deploymentEvents;
}
public void setDeploymentEvents(Boolean deploymentEvents) {
this.deploymentEvents = deploymentEvents;
}
public Boolean getConfidentialIssuesEvents() { public Boolean getConfidentialIssuesEvents() {
return confidentialIssuesEvents; return confidentialIssuesEvents;
} }
...@@ -179,7 +189,7 @@ public class ProjectHook { ...@@ -179,7 +189,7 @@ public class ProjectHook {
public void setPushEventsBranchFilter(String pushEventsBranchFilter) { public void setPushEventsBranchFilter(String pushEventsBranchFilter) {
this.pushEventsBranchFilter = pushEventsBranchFilter; this.pushEventsBranchFilter = pushEventsBranchFilter;
} }
public ProjectHook withIssuesEvents(Boolean issuesEvents) { public ProjectHook withIssuesEvents(Boolean issuesEvents) {
this.issuesEvents = issuesEvents; this.issuesEvents = issuesEvents;
return (this); return (this);
...@@ -194,7 +204,7 @@ public class ProjectHook { ...@@ -194,7 +204,7 @@ public class ProjectHook {
this.noteEvents = noteEvents; this.noteEvents = noteEvents;
return (this); return (this);
} }
public ProjectHook withJobEvents(Boolean jobEvents) { public ProjectHook withJobEvents(Boolean jobEvents) {
this.jobEvents = jobEvents; this.jobEvents = jobEvents;
return (this); return (this);
...@@ -240,8 +250,14 @@ public class ProjectHook { ...@@ -240,8 +250,14 @@ public class ProjectHook {
return (this); return (this);
} }
public ProjectHook withDeploymentEvents(Boolean deploymentEvents) {
this.deploymentEvents = deploymentEvents;
return (this);
}
@Override @Override
public String toString() { public String toString() {
return (JacksonJson.toJsonString(this)); return (JacksonJson.toJsonString(this));
} }
}
\ No newline at end of file }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment