@@ -16,6 +16,7 @@ public class SystemHook {
1616 private Boolean pushEvents ;
1717 private Boolean tagPushEvents ;
1818 private Boolean enableSslVerification ;
19+ private Boolean repositoryUpdateEvents ;
1920
2021 public Integer getId () {
2122 return id ;
@@ -64,4 +65,27 @@ public Boolean getEnableSslVerification() {
6465 public void setEnableSslVerification (Boolean enableSslVerification ) {
6566 this .enableSslVerification = enableSslVerification ;
6667 }
68+
69+ public void setRepositoryUpdateEvents (Boolean repositoryUpdateEvents ) {
70+ this .repositoryUpdateEvents = repositoryUpdateEvents ;
71+ }
72+
73+ public Boolean getRepositoryUpdateEvents () {
74+ return repositoryUpdateEvents ;
75+ }
76+
77+ @ Override
78+ public String toString () {
79+ final StringBuilder sb = new StringBuilder ("SystemHook{" );
80+ sb .append ("id=" ).append (id );
81+ sb .append (", url='" ).append (url ).append ('\'' );
82+ sb .append (", createdAt=" ).append (createdAt );
83+ sb .append (", pushEvents=" ).append (pushEvents );
84+ sb .append (", tagPushEvents=" ).append (tagPushEvents );
85+ sb .append (", enableSslVerification=" ).append (enableSslVerification );
86+ sb .append (", repositoryUpdateEvents=" ).append (repositoryUpdateEvents );
87+ sb .append ('}' );
88+ return sb .toString ();
89+ }
90+
6791}
0 commit comments