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
a2032033
Commit
a2032033
authored
Aug 25, 2021
by
ryan.neal
Browse files
fix: added missing boolean
parent
3d327e39
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/models/ProjectHook.java
View file @
a2032033
...
...
@@ -28,6 +28,8 @@ public class ProjectHook {
private
Boolean
confidentialNoteEvents
;
private
String
pushEventsBranchFilter
;
private
Boolean
deploymentEvents
;
public
Boolean
getBuildEvents
()
{
return
buildEvents
;
}
...
...
@@ -83,7 +85,7 @@ public class ProjectHook {
public
void
setNoteEvents
(
Boolean
noteEvents
)
{
this
.
noteEvents
=
noteEvents
;
}
public
Boolean
getJobEvents
()
{
return
jobEvents
;
}
...
...
@@ -123,7 +125,7 @@ public class ProjectHook {
public
void
setTagPushEvents
(
Boolean
tagPushEvents
)
{
this
.
tagPushEvents
=
tagPushEvents
;
}
public
String
getToken
()
{
return
token
;
}
...
...
@@ -156,6 +158,14 @@ public class ProjectHook {
this
.
repositoryUpdateEvents
=
repositoryUpdateEvents
;
}
public
Boolean
getDeploymentEvents
()
{
return
deploymentEvents
;
}
public
void
setDeploymentEvents
(
Boolean
deploymentEvents
)
{
this
.
deploymentEvents
=
deploymentEvents
;
}
public
Boolean
getConfidentialIssuesEvents
()
{
return
confidentialIssuesEvents
;
}
...
...
@@ -179,7 +189,7 @@ public class ProjectHook {
public
void
setPushEventsBranchFilter
(
String
pushEventsBranchFilter
)
{
this
.
pushEventsBranchFilter
=
pushEventsBranchFilter
;
}
public
ProjectHook
withIssuesEvents
(
Boolean
issuesEvents
)
{
this
.
issuesEvents
=
issuesEvents
;
return
(
this
);
...
...
@@ -194,7 +204,7 @@ public class ProjectHook {
this
.
noteEvents
=
noteEvents
;
return
(
this
);
}
public
ProjectHook
withJobEvents
(
Boolean
jobEvents
)
{
this
.
jobEvents
=
jobEvents
;
return
(
this
);
...
...
@@ -240,8 +250,14 @@ public class ProjectHook {
return
(
this
);
}
public
ProjectHook
withDeploymentEvents
(
Boolean
deploymentEvents
)
{
this
.
deploymentEvents
=
deploymentEvents
;
return
(
this
);
}
@Override
public
String
toString
()
{
return
(
JacksonJson
.
toJsonString
(
this
));
}
}
\ No newline at end of file
}
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