Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
b50c50a2
Commit
b50c50a2
authored
Aug 19, 2018
by
Jens Goldhammer
Committed by
Greg Messner
Aug 18, 2018
Browse files
fix(systemhooks): add repositoryUpdateEvents as field to SystemHook model (#234)
parent
bd8850a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/models/SystemHook.java
View file @
b50c50a2
...
@@ -16,6 +16,7 @@ public class SystemHook {
...
@@ -16,6 +16,7 @@ public class SystemHook {
private
Boolean
pushEvents
;
private
Boolean
pushEvents
;
private
Boolean
tagPushEvents
;
private
Boolean
tagPushEvents
;
private
Boolean
enableSslVerification
;
private
Boolean
enableSslVerification
;
private
Boolean
repositoryUpdateEvents
;
public
Integer
getId
()
{
public
Integer
getId
()
{
return
id
;
return
id
;
...
@@ -64,4 +65,27 @@ public class SystemHook {
...
@@ -64,4 +65,27 @@ public class SystemHook {
public
void
setEnableSslVerification
(
Boolean
enableSslVerification
)
{
public
void
setEnableSslVerification
(
Boolean
enableSslVerification
)
{
this
.
enableSslVerification
=
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
();
}
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment