Commit b50c50a2 authored by Jens Goldhammer's avatar Jens Goldhammer Committed by Greg Messner
Browse files

fix(systemhooks): add repositoryUpdateEvents as field to SystemHook model (#234)

parent bd8850a8
......@@ -16,6 +16,7 @@ public class SystemHook {
private Boolean pushEvents;
private Boolean tagPushEvents;
private Boolean enableSslVerification;
private Boolean repositoryUpdateEvents;
public Integer getId() {
return id;
......@@ -64,4 +65,27 @@ public class SystemHook {
public void setEnableSslVerification(Boolean enableSslVerification) {
this.enableSslVerification = enableSslVerification;
}
public void setRepositoryUpdateEvents(Boolean repositoryUpdateEvents) {
this.repositoryUpdateEvents = repositoryUpdateEvents;
}
public Boolean getRepositoryUpdateEvents() {
return repositoryUpdateEvents;
}
@Override
public String toString() {
final StringBuilder sb = new StringBuilder("SystemHook{");
sb.append("id=").append(id);
sb.append(", url='").append(url).append('\'');
sb.append(", createdAt=").append(createdAt);
sb.append(", pushEvents=").append(pushEvents);
sb.append(", tagPushEvents=").append(tagPushEvents);
sb.append(", enableSslVerification=").append(enableSslVerification);
sb.append(", repositoryUpdateEvents=").append(repositoryUpdateEvents);
sb.append('}');
return sb.toString();
}
}
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